本帖最后由 emwin 于 2022-10-11 13:48 编辑
环境:IAR for ARM 8.0+ 《The linker configuration file》章节
expanding size
The block will expand to use all available space in the memory range where it is placed.
示例:[C] 纯文本查看 复制代码 /* Create a block with a minimum size for the heap that will use
all remaining space in its memory range */
define block HEAP with minimum size = 4K, expanding size,
alignment = 8 { };
|