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.

C6748 CMD文件创建自定义section



在实际应用中需要将某一函数映射到指定的存储区间,参见《TMS320 C6000 Assembly Language Tools v 7.4 User's Guide》中“7.5 Linker Command Files”介绍,做了以下工作:

1 使用指令CODE_SECTION,将函数指定到自定义的section“ramfunc”,如下图:

2 在CMD文件中添加section“ramfunc”的声明,将“ramfunc”映射到存储区间DDR2内,如下图:

3 编译后,CCS6发出警告:

warning #10247-D: creating output section "ramfunc" without a SECTIONS specification

4 在生成的MAP文件内看到“ramfunc”被映射到DSPL2ROM内,见下图:

请问上述过程问题出在哪里?