Part Number:TDA4VMOther Parts Discussed in Thread:SYSBIOS
sdk: ti-processor-sdk-rtos-j721e-evm-08_01_00_13
Ti 专家你好,
我根据ti-processor-sdk-rtos-j721e-evm-08_01_00_13/ti-processor-sdk-rtos-j721e-evm-08_01_00_13/mcusw/mcuss_demos/profiling/can 这个demo,想编译出能够在mcu3_0和mcu3_1上能运行的代码。
但是我在makfile中添加如下命令:
命令(1):
ifeq ($(CORE),mcu3_0)APPEND_LNKCMD_FILE += overrides/$(SOC)/$(CORE)/linker_r5f_mcu3_0_freertos.lds APPEND_LNKCMD_FILE += overrides/$(SOC)/$(CORE)/memory_map_ddr.cmd endif
但是在编译的时候出错了:
上述表示我在mcusw/build/j721e/mcu3_0/中没有对应的链接文件,但是在参考demo中,其命令为:
命令(2):
ifeq ($(BUILD_OS_TYPE), freertos) EXTERNAL_LNKCMD_FILE_LOCAL = overrides/$(SOC)/$(CORE)/linker_r5_freertos.lds else EXTERNAL_LNKCMD_FILE_LOCAL = overrides/$(SOC)/$(CORE)/linker_r5_sysbios.lds endif
我的同事在使用命令(1)时,能够正常编译,并且在mcusw/build/j721e/目录下,没有mcu3_0的链接脚本,而是在overrides/mcu3_0目录下指定了。见命令(1)
我想问关于:
以及在mcusw/build/makeruls/env.mk文件中,变量
Cherry Zhou:
您好,您的问题我们已升级到英文论坛寻求帮助,链接如下,请持续关注:
e2e.ti.com/…/tda4vm-linker-and-link-files
,
Cherry Zhou:
您好,
您的问题在英文论坛已有专家跟进,您请参阅以下答复:
The default SDK contains example of CAN profiling for MCU1_0 and MCU2_0 cores only. If you want to create for MCU3_0 and MCU3_1 then correponding source files needs to be added ti-processor-sdk-rtos-j721e-evm-08_01_00_13/mcusw/mcuss_demos/profiling/can/soc/j721e and also include core details in overrides .Include the core details in mcusw_mcuss_demos.mk .