编译遇到告警:
#10210-D creating ".stack" section with default size of 0x400; use the -stack option to change the default size
PAGE 1 : /* SARAM */ RAMM1 : origin = 0x000000, length = 0x000800
/* RAMM1 : origin = 0x000400, length = 0x000400*/
RAML0L1 : origin = 0x008000, length = 0x002000
DRAMH0 : origin = 0x3f9000, length = 0x002000 /* Peripheral Frame 0: */
SECTIONS
{
/* Allocate program areas: */
.reset : > RESET, PAGE = 0 ,TYPE=DSECT
.text : > FLASHA, PAGE = 0
.cinit : > FLASHA, PAGE = 0
.pinit : > FLASHA, PAGE = 0
.vector : > VECTOR, PAGE = 0 ,TYPE=DSECT
.codestart : > BEGIN , PAGE = 0
/* Allocate data areas: */
.stack : > RAMM1, PAGE = 1
.bss : > DRAMH0, PAGE = 1
.ebss : > DRAMH0, PAGE = 1
该告警信息该如何排除?谢谢。
喝可乐的马甲:
在CMD文件最前面,加上
-stack 0x400
就可以了。
编译遇到告警:
#10210-D creating ".stack" section with default size of 0x400; use the -stack option to change the default size
PAGE 1 : /* SARAM */ RAMM1 : origin = 0x000000, length = 0x000800
/* RAMM1 : origin = 0x000400, length = 0x000400*/
RAML0L1 : origin = 0x008000, length = 0x002000
DRAMH0 : origin = 0x3f9000, length = 0x002000 /* Peripheral Frame 0: */
SECTIONS
{
/* Allocate program areas: */
.reset : > RESET, PAGE = 0 ,TYPE=DSECT
.text : > FLASHA, PAGE = 0
.cinit : > FLASHA, PAGE = 0
.pinit : > FLASHA, PAGE = 0
.vector : > VECTOR, PAGE = 0 ,TYPE=DSECT
.codestart : > BEGIN , PAGE = 0
/* Allocate data areas: */
.stack : > RAMM1, PAGE = 1
.bss : > DRAMH0, PAGE = 1
.ebss : > DRAMH0, PAGE = 1
该告警信息该如何排除?谢谢。
CHENG LIANG:
编译遇到告警:
#10210-D creating ".stack" section with default size of 0x400; use the -stack option to change the default size
PAGE 1 : /* SARAM */ RAMM1 : origin = 0x000000, length = 0x000800
/* RAMM1 : origin = 0x000400, length = 0x000400*/
RAML0L1 : origin = 0x008000, length = 0x002000
DRAMH0 : origin = 0x3f9000, length = 0x002000 /* Peripheral Frame 0: */
SECTIONS
{
/* Allocate program areas: */
.reset : > RESET, PAGE = 0 ,TYPE=DSECT
.text : > FLASHA, PAGE = 0
.cinit : > FLASHA, PAGE = 0
.pinit : > FLASHA, PAGE = 0
.vector : > VECTOR, PAGE = 0 ,TYPE=DSECT
.codestart : > BEGIN , PAGE = 0
/* Allocate data areas: */
.stack : > RAMM1, PAGE = 1
.bss : > DRAMH0, PAGE = 1
.ebss : > DRAMH0, PAGE = 1
该告警信息该如何排除?谢谢。
dm zhou:
回复 CHENG LIANG:
谢谢!