Ensure that main() is always placed in low memory in the CCS4 MSP430X port.

This commit is contained in:
Richard Barry 2011-01-01 20:57:17 +00:00
parent 811413d95a
commit 8d532ab4a7
6 changed files with 122 additions and 19 deletions

View file

@ -106,7 +106,12 @@ SECTIONS
.sysmem : {} > RAM /* DYNAMIC MEMORY ALLOCATION AREA */
.stack : {} > RAM (HIGH) /* SOFTWARE SYSTEM STACK */
.text : {}>> FLASH | FLASH2 /* CODE */
/* Modified to test the use of high memory. */
/* Original line. */
/* .text : {}>> FLASH | FLASH2 */ /* CODE */
/* Modified line. */
.text : {}>> FLASH2 /* CODE */
.main : {} > FLASH
.text:_isr : {} > FLASH /* ISR CODE SPACE */
.cinit : {} > FLASH /* INITIALIZATION TABLES */
//#ifdef (__LARGE_DATA_MODEL__)