我指导了
L1201: No stack defined
[DISABLE, INFORMATION, WARNING, ERROR]
Description
The PRM file does not contains any stack definition. In that case it is the programmer responsibility to initialize the stack pointer inside of his application code. The stack can be defined in the PRM file in one of the following way: Trough the STACKTOP command in the PRM file. Trough the STACKSIZE command in the PRM file. Trough the specification of the section .stack in the PLACEMENT block.
Example
^
WARNING: No stack defined
LINK fibo.abs
NAMES fibo.o startup.o END
SEGMENTS
MY_RAM = READ_WRITE 0x800 TO 0x80F;
MY_ROM = READ_ONLY 0x810 TO 0xAFF;
END
PLACEMENT
.text INTO MY_ROM;
.data INTO MY_RAM;
END
/* Set reset vector on _Startup */
VECTOR ADDRESS 0xFFFE _Startup
Tips
Define the stack in one of the three way specified above. Note: If the customer initializes the stack pointer inside of his source code, the initialization from the linker will be overwritten.