This commit is contained in:
Matthew Kennedy 2020-12-08 23:40:32 -08:00
parent c13385a32f
commit 0e0281f372
3 changed files with 4 additions and 3 deletions

View File

@ -156,7 +156,8 @@ UINCDIR =
ULIBDIR = ULIBDIR =
# List all user libraries here # List all user libraries here
ULIBS = # Add the search path of the firmware/ dir, we need wideband_layout.ld
ULIBS = -L..
# #
# End of user section # End of user section

View File

@ -5,6 +5,6 @@ make clean && make -j4
# convert bootloader bin output to a linkable .o file # convert bootloader bin output to a linkable .o file
# first pad the binary out with 0xFF # first pad the binary out with 0xFF
arm-none-eabi-objcopy -I binary -O binary --gap-fill 0xFF --pad-to 0x2800 build/wideband_bootloader.bin build/wideband_bootloader.padded.bin arm-none-eabi-objcopy -I binary -O binary --gap-fill 0xFF --pad-to 0x1000 build/wideband_bootloader.bin build/wideband_bootloader.padded.bin
# then convert it to a .o file # 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 arm-none-eabi-objcopy -I binary -O elf32-littlearm -B arm --rename-section .data=.bl build/wideband_bootloader.padded.bin build/wideband_bootloader.o

View File

@ -2,7 +2,7 @@
* STM32F042x6 memory setup. * STM32F042x6 memory setup.
*/ */
blsize = 10k; blsize = 4k;
MEMORY MEMORY
{ {