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.

C文件中指定代码存放的空间,使用 #pragma CODE_SECTION( Fun , "sec" ),怎么在C文件中声明外部 “sec”。



如果不声明的话,回警告没有明确 “sec” 段,并且代码也不会编译到指定空间。