From d035c8699b02ae28f94dcb3aea0dbb8b2e4ee405 Mon Sep 17 00:00:00 2001 From: Eric Tang Date: Mon, 7 Aug 2017 16:40:21 -0700 Subject: [PATCH] Try putting userConfig2 in the upper half of the RAM --- right/src/config_parser/config_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/right/src/config_parser/config_state.c b/right/src/config_parser/config_state.c index 564e76d..2912750 100644 --- a/right/src/config_parser/config_state.c +++ b/right/src/config_parser/config_state.c @@ -4,7 +4,7 @@ static uint8_t hardwareConfig[HARDWARE_CONFIG_SIZE]; config_buffer_t HardwareConfigBuffer = {hardwareConfig}; static uint8_t userConfig1[USER_CONFIG_SIZE]; -static uint8_t userConfig2[USER_CONFIG_SIZE]; +static uint8_t __attribute__((section (".m_data_2"))) userConfig2[USER_CONFIG_SIZE]; config_buffer_t UserConfigBuffer = { userConfig1 }; config_buffer_t NewUserConfigBuffer = { userConfig2 };