diff --git a/firmware/bootloader/build_bootloader.sh b/firmware/bootloader/build_bootloader.sh index 18a29ac..10dd91d 100755 --- a/firmware/bootloader/build_bootloader.sh +++ b/firmware/bootloader/build_bootloader.sh @@ -5,6 +5,6 @@ make clean && make -j4 # convert bootloader bin output to a linkable .o file # first pad the binary out with 0xFF -arm-none-eabi-objcopy -I binary -O binary --gap-fill 0xFF --pad-to 0x2000 build/wideband_bootloader.bin build/wideband_bootloader.padded.bin +arm-none-eabi-objcopy -I binary -O binary --gap-fill 0xFF --pad-to 0x2800 build/wideband_bootloader.bin build/wideband_bootloader.padded.bin # then convert it to a .o file arm-none-eabi-objcopy -I binary -O elf32-littlearm -B arm --rename-section .data=.bl build/wideband_bootloader.padded.bin build/wideband_bootloader.o diff --git a/firmware/bootloader/cfg/bootloader.ld b/firmware/bootloader/cfg/bootloader.ld index 1a448c4..11c82b6 100644 --- a/firmware/bootloader/cfg/bootloader.ld +++ b/firmware/bootloader/cfg/bootloader.ld @@ -20,7 +20,7 @@ * STM32F042x6 memory setup. */ -blsize = 8k; +blsize = 10k; MEMORY { diff --git a/firmware/cfg/app.ld b/firmware/cfg/app.ld index 7b06038..041e37f 100644 --- a/firmware/cfg/app.ld +++ b/firmware/cfg/app.ld @@ -17,7 +17,7 @@ /*INCLUDE wideband_layout.ld*/ -blsize = 8k; +blsize = 10k; MEMORY {