diff options
author | Keith Packard <keithp@keithp.com> | 2013-04-22 20:33:33 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-04-22 20:35:27 -0500 |
commit | ddd53dc3635154dc7ea2af1cd1941e7070b9635f (patch) | |
tree | 7f84395b95e9f4241c65c45e4d9650ffa7f725f5 /src | |
parent | 37cac48fb057cc770000f5fa87984ccf43b07130 (diff) |
altos/stm: Provide another 4kB of flash space for apps
With the flash loader now < 4kB, we can use the spare 4kB for applications
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/stm-flash/ao_pins.h | 2 | ||||
-rw-r--r-- | src/stm/altos-application.ld | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stm-flash/ao_pins.h b/src/stm-flash/ao_pins.h index 6779fc42..1c00675b 100644 --- a/src/stm-flash/ao_pins.h +++ b/src/stm-flash/ao_pins.h @@ -75,6 +75,6 @@ #define AO_BOOT_APPLICATION_PIN 0 #define AO_BOOT_APPLICATION_VALUE 1 #define AO_BOOT_APPLICATION_MODE 0 -#define AO_BOOT_APPLICATION_BASE ((uint32_t *) 0x2000) +#define AO_BOOT_APPLICATION_BASE ((uint32_t *) 0x1000) #endif /* _AO_PINS_H_ */ diff --git a/src/stm/altos-application.ld b/src/stm/altos-application.ld index c94c06b8..6affc376 100644 --- a/src/stm/altos-application.ld +++ b/src/stm/altos-application.ld @@ -16,7 +16,7 @@ */ MEMORY { - rom (rx) : ORIGIN = 0x08002000, LENGTH = 120K + rom (rx) : ORIGIN = 0x08001000, LENGTH = 124K ram (!w) : ORIGIN = 0x20000000, LENGTH = 16K } |