Part Number: AM2432
Other Parts Discussed in Thread: DP83826E
Tool/software:
Hi experts,
I have tried adding 4 files in the project and included the pathes for them.However,the compilation failed.Could you help to deal with it?





Here is part of the concole output:
Building file: "../user_uart/uart_echo_low_latency_interrupt.c" Invoking: Arm Compiler "C:/ti/ti_cgt_tiarmclang_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -Og -I"C:/Users/v4716/workspace_v12/AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/customPhy/inc" -I"C:/Users/v4716/workspace_v12/AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/uart_protocol" -I"C:/Users/v4716/workspace_v12/AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/user_led" -I"C:/Users/v4716/workspace_v12/AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/user_peripheral" -I"C:/Users/v4716/workspace_v12/AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/user_uart" -I"C:/Users/v4716/workspace_v12/AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/user_debug" -I"C:/Users/v4716/workspace_v12/AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang" -I"C:/ti/ti_cgt_tiarmclang_3.2.2.LTS/include/c" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/examples/sdl/dpl" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source/sdl" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source/sdl/rti/v0" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/source" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source/kernel/freertos/config/am243x/r5f" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/examples/industrial_comms/ethernetip_adapter_demo" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/examples/industrial_comms/ethernetip_adapter_demo/board/am243x-lp/freertos" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/examples/industrial_comms/custom_phy/inc" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/examples/industrial_comms/ethernetip_adapter_demo/device_profiles" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/examples/industrial_comms/ethernetip_adapter_demo/device_profiles/generic_device" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/examples/industrial_comms/ethernetip_adapter_demo/os/freertos" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/source/industrial_comms/common/inc" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/source/industrial_comms/ethernetip_adapter/stack" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/source/industrial_comms/ethernetip_adapter/stack/inc" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/source/industrial_comms/ethernetip_adapter/stack/lwip/lwip-config" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source/networking/lwip/lwip-stack/src/include" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source/networking/lwip/lwip-port/include" -I"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source/networking/lwip/lwip-port/freertos/include" -DSOC_AM243X -DSOC_AM243X=1 -DOSAL_FREERTOS=1 -DEIP_TIME_SYNC=1 -DEIP_QUICK_CONNECT=0 -DCPU_LOAD_MONITOR=0 -DR5F_CORE -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wno-unused-but-set-variable -mllvm -align-all-functions=2 -MMD -MP -MF"user_uart/uart_echo_low_latency_interrupt.d_raw" -MT"user_uart/uart_echo_low_latency_interrupt.o" -I"C:/Users/v4716/workspace_v12/AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"user_uart/uart_echo_low_latency_interrupt.o" "../user_uart/uart_echo_low_latency_interrupt.c" Finished building: "../user_uart/uart_echo_low_latency_interrupt.c" Building target: "AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang.out" Invoking: Arm Linker "C:/ti/ti_cgt_tiarmclang_3.2.2.LTS/bin/tiarmclang.exe" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -Og -DSOC_AM243X -DSOC_AM243X=1 -DOSAL_FREERTOS=1 -DEIP_TIME_SYNC=1 -DEIP_QUICK_CONNECT=0 -DCPU_LOAD_MONITOR=0 -DR5F_CORE -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wno-unused-but-set-variable -mllvm -align-all-functions=2 -Wl,-m"ethernetip_adapter_generic_device_mii_demo.Debug.map" -Wl,-i"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source/kernel/freertos/lib" -Wl,-i"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source/drivers/lib" -Wl,-i"C:/ti/ind_comms_sdk_am243x_09_02_00_08/mcu_plus_sdk/source/board/lib" -Wl,-i"C:/ti/ind_comms_sdk_am243x_09_02_00_08/source/networking/icss_emac/lib" -Wl,-i"C:/ti/ind_comms_sdk_am243x_09_02_00_08/source/networking/icss_timesync/lib" -Wl,-i"C:/ti/ind_comms_sdk_am243x_09_02_00_08/source/industrial_comms/ethernetip_adapter/icss_fwhal/lib" -Wl,-i"C:/ti/ind_comms_sdk_am243x_09_02_00_08/source/industrial_comms/ethernetip_adapter/stack/lib" -Wl,-i"C:/ti/ind_comms_sdk_am243x_09_02_00_08/source/industrial_comms/ethernetip_adapter/stack/lwip/lib" -Wl,-i"C:/ti/ti_cgt_tiarmclang_3.2.2.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -Wl,--use_memcpy=fast -Wl,--use_memset=fast -o "AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang.out" "./CMN_CPU_main.o" "./CMN_app.o" "./CMN_board.o" "./CMN_mem.o" "./CMN_os.o" "./CUST_drivers.o" "./CUST_eeprom.o" "./CUST_ethPhy.o" "./CUST_flash.o" "./CUST_led.o" "./CUST_pruIcss.o" "./app.o" "./appCfg.o" "./appLed.o" "./appNV.o" "./appRst.o" "./appTask.o" "./appUart.o" "./appWebServer.o" "./app_device_profile.o" "./app_generic_device.o" "./app_generic_device_cfg.o" "./dpl_interface.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" "./rti_app_main.o" "./sdl_rti_example_uc1.o" "./watchdog_interrupt_mode.o" "./customPhy/src/CUST_PHY_base.o" "./customPhy/src/CUST_PHY_dp83826e.o" "./uart_protocol/protocol.o" "./user_debug/user_debug.o" "./user_led/led.o" "./user_led/led_app.o" "./user_peripheral/user_peripheral.o" "./user_uart/uart_callback.o" "./user_uart/uart_echo_low_latency_interrupt.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,-lboard.am243x.r5f.ti-arm-clang.debug.lib -Wl,-licss_emac.am243x.r5f.ti-arm-clang.debug.lib -Wl,-licss_timesync.am243x.r5f.ti-arm-clang.debug.lib -Wl,-lethernetip_adapter_mii_icss_fwhal.am243x.r5f.ti-arm-clang.debug.lib -Wl,-lethernetip_adapter_lwip_contrib.am243x.r5f.ti-arm-clang.debug.lib -Wl,-lethernetip_adapter_lwip_freertos.am243x.r5f.ti-arm-clang.debug.lib -Wl,-lethernetipadapter_mii.am243x-lp.r5f.ti-arm-clang.release.lib -Wl,-llibc.a -Wl,-llibsysbm.a makefile:201: recipe for target 'AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang.out' failed tiarmclang: warning: argument unused during compilation: '-mllvm -align-all-functions=2' [-Wunused-command-line-argument] undefined first referenced symbol in file --------- ---------------- SDL_DPL_init ./dpl_interface.o SDL_ESM_clrNError ./sdl_rti_example_uc1.o SDL_ESM_init ./rti_app_main.o SDL_RTI_clearStatus ./sdl_rti_example_uc1.o SDL_RTI_config ./sdl_rti_example_uc1.o SDL_RTI_getStatus ./sdl_rti_example_uc1.o SDL_RTI_readStaticRegs ./sdl_rti_example_uc1.o SDL_RTI_service ./sdl_rti_example_uc1.o SDL_RTI_start ./sdl_rti_example_uc1.o SDL_RTI_verifyConfig ./sdl_rti_example_uc1.o error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "AC800_ethernetip_adapter_generic_device_mii_demo_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]: *** [AC800_ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang.out] Error 1 gmake: *** [all] Error 2 makefile:197: recipe for target 'all' failed **** Build Finished ****
I also have tried to add files into the project,but it showed that could not link.
