#pragma arm section [section_sort_list]
RealView Compilation Tools for µVision Compiler Reference Guide Version 4.0
Home > Compiler-specific Features > Pragmas > #pragma arm section [section_sort_list]
4.6.3. #pragma arm section [section_sort_list]
This pragma specifies a section name to be used for subsequent functions or objects. This includes definitions of anonymous objects the compiler creates for initializations.
Note
You can use __attribute__((section(..))) for functions or variables as an alternative to #pragma arm section.
Syntax
#pragma arm section [section_sort_list]
Where:
section_sort_list
specifies an optional list of section names to be used for subsequent functions or objects. The syntax of section_sort_list is:
#pragma arm section [section_sort_list]
RealView Compilation Tools for µVision Compiler Reference Guide Version 4.0
Home > Compiler-specific Features > Pragmas > #pragma arm section [section_sort_list]
4.6.3. #pragma arm section [section_sort_list]
This pragma specifies a section name to be used for subsequent functions or objects. This includes definitions of anonymous objects the compiler creates for initializations.
Note
You can use __attribute__((section(..))) for functions or variables as an alternative to #pragma arm section.
Syntax
#pragma arm section [section_sort_list]
Where:
section_sort_list
specifies an optional list of section names to be used for subsequent functions or objects. The syntax of section_sort_list is:
section_type[[=]"name"] [,section_type="name"]*
Valid section types are:
code
rodata
rwdata
zidata.
版主,你的意思是将我要再RAM中运行的函数直接 用#pragma arm section的方法定义就可以了?
是吗?
分散加载试试吧。
看你发了个帖子了
你想要什么方面的stm32f030资料?
库,例程 都能在官网下。
工程量也比较大的。。。
版主,有这个资料吗,应该怎样去操作???