Rev 61 | Rev 77 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 61 | Rev 65 | ||
|---|---|---|---|
| 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 = 0x8000000, LENGTH = 512K |
65 | FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K |
| - | 66 | NVRAM (rx) : ORIGIN = 0x08080000, LENGTH = 4K |
|
| 66 | } |
67 | } |
| 67 | 68 | ||
| 68 | /* Define output sections */ |
69 | /* Define output sections */ |
| 69 | SECTIONS |
70 | SECTIONS |
| 70 | { |
71 | { |
| Line 171... | Line 172... | ||
| 171 | . = . + _Min_Heap_Size; |
172 | . = . + _Min_Heap_Size; |
| 172 | . = . + _Min_Stack_Size; |
173 | . = . + _Min_Stack_Size; |
| 173 | . = ALIGN(8); |
174 | . = ALIGN(8); |
| 174 | } >RAM |
175 | } >RAM |
| 175 | 176 | ||
| - | 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 | ||
| 176 | 187 | ||
| 177 | 188 | ||
| 178 | /* Remove information from the standard libraries */ |
189 | /* Remove information from the standard libraries */ |
| 179 | /DISCARD/ : |
190 | /DISCARD/ : |
| 180 | { |
191 | { |