/* Linker script to configure memory regions. */
MEMORY
{
- FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x40000 /* 256k */
- RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x08000 /* 32k */
+ FLASH (rx)
+ : ORIGIN = 0x00008000, LENGTH = 0x38000
+
+ RAM (rwx)
+ : ORIGIN = 0x1fffe000, LENGTH = 0x08000
}
/* Library configurations */
* __StackLimit
* __StackTop
* __stack
- * __Vectors_End
- * __Vectors_Size
*/
ENTRY(Reset_Handler)
.text :
{
KEEP(*(.vectors))
- __Vectors_End = .;
- __Vectors_Size = __Vectors_End - __Vectors;
__end__ = .;
*(.text*)