I’m trying to use the latest gcc-arm-embedded and everything compiles, but I get a weird link error.
Then genromfs step works fine:
/usr/bin/genromfs -f /mnt/d/git/px4/Firmware/build_px4fmu-v2_default/src/firmware/nuttx/romfs.bin -d /mnt/d/git/px4/Firmware/build_px4fmu-v2_default/tmp/ROMFS/px4fmu_common -V NSHInitVol
but arm-none-eabi-ld doesn’t like it…
/usr/bin/arm-none-eabi-ld -r -o romfs.o.bin.o romfs.o.c.o -b binary romfs.bin
/usr/bin/arm-none-eabi-ld: romfs.bin: not in ELF format
Anyone seen this before?