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:根据 EtherCAT_SSC 演示配置 LED、但失败

Guru**** 1789940 points
Other Parts Discussed in Thread: SYSCONFIG
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1400328/am2432-configure-led-according-to-ethercat_ssc-demo-but-failed

器件型号:AM2432
主题中讨论的其他器件:SysConfig

工具与软件:

尊敬的 TI 专家:

客户正在使用 AM243x SDK9.2。

他们 使用 SysConfig 根据 EtherCAT_SSC 演示配置 LED、但满足以下编译错误日志。

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

以下是在 empty_am243x-lp_r5fss0-0_freertOS 上添加的配置。

以下是编译后添加的编码、但没有 LED_Close 和 LED_open。

您能否帮助检查  可能有此问题的配置零件还缺少什么?

谢谢!

Kevin