Add some more room for user information and provide the required addresses
authorNathael Pajani <nathael.pajani@ed3l.fr>
Wed, 2 Sep 2015 09:05:30 +0000 (11:05 +0200)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:04 +0000 (17:03 +0100)
include/core/user_information_block.h
lpc_link_lpc1224.ld

index 705f478..8732b9c 100644 (file)
@@ -30,7 +30,7 @@ struct user_info {
        char name[48];
        uint32_t version;
        uint32_t serial_number;
-       char user_info[8];
+       char user_info[200];
 } __attribute__ ((__packed__));
 
 
index aba744d..b3f567d 100644 (file)
@@ -14,6 +14,10 @@ _sram_base = 0x10000000;
 /* Leave 32 bytes for IAP functions, see UM10441 Chapter 20, section 20.8 */
 _end_stack = (_sram_base + _sram_size - 32);
 
+_start_info = 0x00040200;
+_end_info = (_start_info + 1536);
+
+
 ENTRY(Reset_Handler)
 
 SECTIONS {