mirror of https://github.com/rusefi/wideband.git
expand bl
This commit is contained in:
parent
9998a14cc0
commit
8d9f2b44ad
|
@ -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 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
|
# 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
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* STM32F042x6 memory setup.
|
* STM32F042x6 memory setup.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
blsize = 8k;
|
blsize = 10k;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
/*INCLUDE wideband_layout.ld*/
|
/*INCLUDE wideband_layout.ld*/
|
||||||
|
|
||||||
|
|
||||||
blsize = 8k;
|
blsize = 10k;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue