From 1bc62adc6c76c45146403f1f46fe5414f889be71 Mon Sep 17 00:00:00 2001 From: matmemo <33166560+matmemo@users.noreply.github.com> Date: Thu, 21 Dec 2017 13:29:11 +0100 Subject: [PATCH] Changed starting address for saving the device settings in flash. (#172) According to the linker script the settings should go on the last available page of the devices flash rom. This should be page 63 starting at 0x800fc00. --- workspace/TS100/src/Settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace/TS100/src/Settings.cpp b/workspace/TS100/src/Settings.cpp index 47b0725c..de7ee620 100644 --- a/workspace/TS100/src/Settings.cpp +++ b/workspace/TS100/src/Settings.cpp @@ -9,7 +9,7 @@ #include "Settings.h" #include "Setup.h" -#define FLASH_ADDR (0x8000000|0xBC00)/*Flash start OR'ed with the maximum amount of flash - 1024 bytes*/ +#define FLASH_ADDR (0x8000000|0xFC00)/*Flash start OR'ed with the maximum amount of flash - 1024 bytes*/ #include "string.h" systemSettingsType systemSettings;