uart small ping pong receive, update of register functions
[cortex-from-scratch] / link.ld
1 /* */
2 MEMORY
3 {
4         FLASH (xr) : ORIGIN = 0x08000000, LENGTH = 512K
5         SRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
6
7
8 ENTRY(_start) 
9
10 SECTIONS
11 {
12         . = 0x0;
13         .text : ALIGN(4)
14         {
15                 /* (.vector_table */ 
16                 *(.text)
17
18         } 
19         . = 0x20000000;
20         .data :  
21         {
22                 *(.data)
23         } 
24         .bss : ALIGN(256)
25         {
26                 *(.bss)
27         } 
28 }