diff options
| author | Keith Packard <keithp@keithp.com> | 2013-04-22 20:33:33 -0500 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-05-07 21:30:26 -0700 | 
| commit | 8ded61d59888c79ef1f94e664b5fb770841a801a (patch) | |
| tree | ac25172580390daab4afa9994be1bb1ea49d147c | |
| parent | 6cd015b8b6b02bd8e0ce28f248426ae75c242b53 (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>
| -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  } | 
