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.

[参考译文] TMS320F28388D:基于内核的链接器文件

Guru**** 2607805 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1025732/tms320f28388d-linker-file-based-on-cores

器件型号:TMS320F28388D

你(们)好

TI、  

如何对使用相同源文件和链接器文件的两个不同内核使用 GS RAM、同时避免两者之间的内存争用?

是否有方法在编译时确定要在源文件  cmd 文件中使用的内核 ID

我们希望通过以下方式实现它

#if defined (_TI_EABI)
isfunc:load = RAMD0 | RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMLS4、

if (core1 CPU)

运行= RAMGS15、

load_start (isrfuncLoadStart)、
load_end (isrfuncLoadEnd)、
run_start (isrfuncRunStart)、
load_size (isrfuncLoadSize)

if (core2 CPU)

运行= RAMGS14、

load_start (isrfuncLoadStart)、
load_end (isrfuncLoadEnd)、
run_start (isrfuncRunStart)、
load_size (isrfuncLoadSize)

字节序

或者、我们是否也可以像这样定义 内核的_TI_EABI 宏?

谢谢  

Harshit

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Harshit、

    CPU1、CPU2应在项目预定义符号中定义、并且您应能够将其用作

    #IF 定义(CPU1)

    #endif