From: Nathael Pajani Date: Wed, 2 Sep 2015 09:05:30 +0000 (+0200) Subject: Add some more room for user information and provide the required addresses X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=e5219214bf3f6b4e58e34ba9cd4a4c50c3e18d9a;p=soft%2Flpc122x%2Fcore Add some more room for user information and provide the required addresses --- diff --git a/include/core/user_information_block.h b/include/core/user_information_block.h index 705f478..8732b9c 100644 --- a/include/core/user_information_block.h +++ b/include/core/user_information_block.h @@ -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__)); diff --git a/lpc_link_lpc1224.ld b/lpc_link_lpc1224.ld index aba744d..b3f567d 100644 --- a/lpc_link_lpc1224.ld +++ b/lpc_link_lpc1224.ld @@ -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 {