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.
嗨~
目前把舊版Compiler v6.4.6換成目前18.12.1,目前有ㄧ個警告
#10247-D null: creating output section "ramfuncs" without a SECTIONS specification
查了一下是因為舊版跟新板ramfuncs和.TI.ramfunc使用上的問題,若使用舊版本是用ramfuncs,新版本是用.TI.ramfunc
但是我把cmd檔改成下面這樣
#ifdef __TI_COMPILER_VERSION__ #if __TI_COMPILER_VERSION__ >= 15009000 .TI.ramfunc : {} LOAD = FLASHA | FLASHB RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3, LOAD_START(_RamfuncsLoadStart), LOAD_SIZE(_RamfuncsLoadSize), LOAD_END(_RamfuncsLoadEnd), RUN_START(_RamfuncsRunStart), RUN_SIZE(_RamfuncsRunSize), RUN_END(_RamfuncsRunEnd), PAGE = 0, ALIGN(4) #else ramfuncs : LOAD = FLASHA | FLASHB RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3, LOAD_START(_RamfuncsLoadStart), LOAD_SIZE(_RamfuncsLoadSize), LOAD_END(_RamfuncsLoadEnd), RUN_START(_RamfuncsRunStart), RUN_SIZE(_RamfuncsRunSize), RUN_END(_RamfuncsRunEnd), PAGE = 0, ALIGN(4) #endif #endif
且把使用到ramfuncs的值改成.TI.ramfunc,這個警告還是一直跑出來,有什麼方式可以解決嗎?
嗨~
目前把舊版Compiler v6.4.6換成目前18.12.1,目前有ㄧ個警告
#10247-D null: creating output section "ramfuncs" without a SECTIONS specification
查了一下是因為舊版跟新板ramfuncs和.TI.ramfunc使用上的問題,若使用舊版本是用ramfuncs,新版本是用.TI.ramfunc
但是我把cmd檔改成下面這樣
#ifdef __TI_COMPILER_VERSION__ #if __TI_COMPILER_VERSION__ >= 15009000 .TI.ramfunc : {} LOAD = FLASHA | FLASHB RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3, LOAD_START(_RamfuncsLoadStart), LOAD_SIZE(_RamfuncsLoadSize), LOAD_END(_RamfuncsLoadEnd), RUN_START(_RamfuncsRunStart), RUN_SIZE(_RamfuncsRunSize), RUN_END(_RamfuncsRunEnd), PAGE = 0, ALIGN(4) #else ramfuncs : LOAD = FLASHA | FLASHB RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3, LOAD_START(_RamfuncsLoadStart), LOAD_SIZE(_RamfuncsLoadSize), LOAD_END(_RamfuncsLoadEnd), RUN_START(_RamfuncsRunStart), RUN_SIZE(_RamfuncsRunSize), RUN_END(_RamfuncsRunEnd), PAGE = 0, ALIGN(4) #endif #endif
且把使用到ramfuncs的值改成.TI.ramfunc,這個警告還是一直跑出來,有什麼方式可以解決嗎?