From e5219214bf3f6b4e58e34ba9cd4a4c50c3e18d9a Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Wed, 2 Sep 2015 11:05:30 +0200 Subject: [PATCH] Add some more room for user information and provide the required addresses --- include/core/user_information_block.h | 2 +- lpc_link_lpc1224.ld | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 { -- 2.43.0