The build succeeds and there are no errors. The end of the output from make raw
is:
/home/zub/Ice/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-gcc -Wl,--gc-sections -Wall -mthumb -mcpu=cortex-m7 -g output/obj/startup_stm32f730xx.o output/obj/iceboot.o output/obj/main.o output/obj/usbd_cdc_if.o output/obj/usbd_conf.o output/obj/usbd_desc.o output/obj/usb_device.o output/obj/stm32f7xx_it.o output/obj/stm32f7xx_hal_msp.o output/obj/system_stm32f7xx.o output/drivers.a -T../STM32F730R8Tx_FLASH.ld -o output/iceboot.elf
/home/zub/Ice/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-size output/iceboot.elf | tail -1 | awk '{printf "0x%x\n",int((0x08000000+$1+$2+7)/8)*8}' > output/iceboot.pad
/home/zub/Ice/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-objcopy -O binary --pad-to `cat output/iceboot.pad` output/iceboot.elf output/iceboot.raw
(and then rm output/obj/stm32f7xx_ll_tim.o output/obj/stm32f7xx_hal_nand.o ...
is executed)
I'm trying this on an x86-64 machine with Debian testing. I also tried in an old Ububntu 17.10 container (on the same physical machine). For both I used gcc-arm-none-eabi-8-2018-q4-major from arm.com. The files in output
have the following sizes:
- drivers.a 1645784
- iceboot.elf 586820
- iceboot.pad 10
- iceboot.raw 22848
(same when built in Debian and in the Ubuntu container)
The drivers.a files differ in content but, interestingly, the iceboot.* files are exactly the same.
Interestingly, the files in the git repo, have different sizes:
drivers.a 1644872
iceboot.elf 533880
iceboot.pad 10
iceboot.raw 22248
... but these files were added in the commit 88ac6346ab Added initial myStorm iceboot firmware and not updated since, so it's reasonable that they differ.