Rev 38 | Rev 53 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 38 | Rev 46 | ||
|---|---|---|---|
| Line 2... | Line 2... | ||
| 2 | ****************************************************************************** |
2 | ****************************************************************************** |
| 3 | ** |
3 | ** |
| 4 | 4 | ||
| 5 | ** File : LinkerScript.ld |
5 | ** File : LinkerScript.ld |
| 6 | ** |
6 | ** |
| 7 | ** Author : Auto-generated by System Workbench for STM32 |
7 | ** Author : STM32CubeMX |
| 8 | ** |
8 | ** |
| 9 | ** Abstract : Linker script for STM32F103C8Tx series |
9 | ** Abstract : Linker script for STM32F103C8Tx series |
| 10 | ** 64Kbytes FLASH and 20Kbytes RAM |
10 | ** 64Kbytes FLASH and 20Kbytes RAM |
| 11 | ** |
11 | ** |
| 12 | ** Set heap size, stack size and stack location according |
12 | ** Set heap size, stack size and stack location according |
| Line 51... | Line 51... | ||
| 51 | 51 | ||
| 52 | /* Entry Point */ |
52 | /* Entry Point */ |
| 53 | ENTRY(Reset_Handler) |
53 | ENTRY(Reset_Handler) |
| 54 | 54 | ||
| 55 | /* Highest address of the user mode stack */ |
55 | /* Highest address of the user mode stack */ |
| 56 | _estack = 0x20005000; /* end of RAM */ |
56 | _estack = ORIGIN(RAM) + LENGTH(RAM); /* end of RAM */ |
| 57 | /* Generate a link error if heap and stack don't fit into RAM */ |
57 | /* Generate a link error if heap and stack don't fit into RAM */ |
| 58 | _Min_Heap_Size = 0x200; /* required amount of heap */ |
58 | _Min_Heap_Size = 0x200; /* required amount of heap */ |
| 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 */ |