Rev 65 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 65 | Rev 77 | ||
|---|---|---|---|
| Line 59... | Line 59... | ||
| 59 | _Min_Stack_Size = 0x400; /* required amount of stack */ |
59 | _Min_Stack_Size = 0x400; /* required amount of stack */ |
| 60 | 60 | ||
| 61 | /* Specify the memory areas */ |
61 | /* Specify the memory areas */ |
| 62 | MEMORY |
62 | MEMORY |
| 63 | { |
63 | { |
| 64 | RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 80K |
64 | RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 80K |
| 65 | FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K |
65 | FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 512K |
| 66 | NVRAM (rx) : ORIGIN = 0x08080000, LENGTH = 4K |
- | |
| 67 | } |
66 | } |
| 68 | 67 | ||
| 69 | /* Define output sections */ |
68 | /* Define output sections */ |
| 70 | SECTIONS |
69 | SECTIONS |
| 71 | { |
70 | { |
| Line 172... | Line 171... | ||
| 172 | . = . + _Min_Heap_Size; |
171 | . = . + _Min_Heap_Size; |
| 173 | . = . + _Min_Stack_Size; |
172 | . = . + _Min_Stack_Size; |
| 174 | . = ALIGN(8); |
173 | . = ALIGN(8); |
| 175 | } >RAM |
174 | } >RAM |
| 176 | 175 | ||
| 177 | /* NVRAM image section : nothing gets stored here but the addresses are set up */ |
- | |
| 178 | /* any __attribute__((section(".NVRAM_Data"))) section info to be put in here */ |
- | |
| 179 | .nvram_data (NOLOAD) : |
- | |
| 180 | { |
- | |
| 181 | _nvr_base = .; |
- | |
| 182 | KEEP ( *(.NVRAM_Data)) |
- | |
| 183 | } >NVRAM |
- | |
| 184 | PROVIDE ( NVRAM_Base = _nvr_base ); |
- | |
| 185 | - | ||
| 186 | - | ||
| 187 | 176 | ||
| 188 | 177 | ||
| 189 | /* Remove information from the standard libraries */ |
178 | /* Remove information from the standard libraries */ |
| 190 | /DISCARD/ : |
179 | /DISCARD/ : |
| 191 | { |
180 | { |