This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2432: Configure LED According to EtherCAT_SSC Demo but Failed

Part Number: AM2432
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi TI Experts,

Customer is working on AM243x SDK9.2.

They are configuring a LED based on the EtherCAT_SSC demo using sysconfig, but they meet the below compilation error log.

Finished building: "../main.c"

Building target: "empty_am243x-lp_r5fss0-0_freertos_ti-arm-clang.out"
Invoking: Arm Linker
"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang.exe" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"empty.Debug.map" -Wl,-i"C:/ti/mcu_plus_sdk_am243x_09_02_01_05/source/kernel/freertos/lib" -Wl,-i"C:/ti/mcu_plus_sdk_am243x_09_02_01_05/source/drivers/lib" -Wl,-i"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-armllvm_3.2.0.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="empty_am243x-lp_r5fss0-0_freertos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "empty_am243x-lp_r5fss0-0_freertos_ti-arm-clang.out" "./empty.o" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "./main.o" -Wl,-l"syscfg/linker.cmd" -Wl,-lfreertos.am243x.r5f.ti-arm-clang.debug.lib -Wl,-ldrivers.am243x.r5f.ti-arm-clang.debug.lib -Wl,-llibc.a -Wl,-llibsysbm.a 
makefile:149: recipe for target 'empty_am243x-lp_r5fss0-0_freertos_ti-arm-clang.out' failed

undefined first referenced 
symbol in file 
--------- ---------------- 
LED_close ./syscfg/ti_board_open_close.o
LED_open ./syscfg/ti_board_open_close.o

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "empty_am243x-lp_r5fss0-0_freertos_ti-arm-clang.out" not built
tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [empty_am243x-lp_r5fss0-0_freertos_ti-arm-clang.out] Error 1
makefile:145: recipe for target 'all' failed
gmake: *** [all] Error 2

The following the added configuration on the Empty_am243x-lp_r5fss0-0_freertos.

The following is the added coding after the compilation, but there is no LED_close & LED_open.

Could you please help check what else might missing for the configuration part that may have this problem?

Thanks,

Kevin