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.
This commit is contained in:
matmemo
2017-12-21 13:29:11 +01:00
committed by Ben V. Brown
parent d9b65701c8
commit 1bc62adc6c

View File

@@ -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;