diff options
| author | Keith Packard <keithp@keithp.com> | 2012-07-17 01:24:52 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-07-17 01:24:52 -0700 |
| commit | a5d873d47b3b16ca32559b4de668bf07b25eddb0 (patch) | |
| tree | 47c2ca395d776b4e4574ca59dbfdb49d8b6ea870 /src/stm-bringup/Makefile | |
| parent | 20877ae9de8bb5d3a29e2a96024e53afbd396f55 (diff) | |
altos: Place STM config values at fixed addresses for re-use
Just like cc1111, stick the serial number and radio calibration values
at known fixed addresses so that when re-flashing the board, we can go
find the existing values.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm-bringup/Makefile')
| -rw-r--r-- | src/stm-bringup/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm-bringup/Makefile b/src/stm-bringup/Makefile index 01c80614..d45e836d 100644 --- a/src/stm-bringup/Makefile +++ b/src/stm-bringup/Makefile @@ -16,7 +16,7 @@ DEF_CFLAGS=-g -std=gnu99 -Os -mlittle-endian -mthumb -ffreestanding -nostdlib -I # to run from SRAM LD_FLAGS_RAM=-L../stm -Wl,-Taltos-ram.ld -LD_FLAGS=-L../stm -Wl,-Taltos.ld +LD_FLAGS=-L../stm -Wl,-Tbringup.ld CFLAGS=$(DEF_CFLAGS) -mcpu=cortex-m3 -DCONFIG_STM32L_DISCOVERY @@ -28,7 +28,7 @@ all: bringup-ram.elf bringup.elf %.bin: %.elf $(OBJCOPY) -O binary $^ $@ -bringup.elf: $(OBJ) $(C_LIB) altos.ld +bringup.elf: $(OBJ) $(C_LIB) bringup.ld $(CC) $(CFLAGS) $(LD_FLAGS) -o $@ $(OBJ) $(C_LIB) -lgcc bringup-ram.elf: $(OBJ) $(C_LIB) altos-ram.ld |
