Compile error: OpenIMU300ZI/INS on Ubuntu

On Ubuntu 20, using the VS code, the example project fails to compile under platformio. The error message isn't very helpful - here is the line it fails on. Any suggestions greatly appreciated:

arm-none-eabi-gcc -o .pio/build/OpenIMU300ZI/lib670/OpenIMU300-base-library/STM32F405/src/stm32f4xx_cryp_des.o -c -ffunction-sections -fdata-sections -Wall -Wno-comment -mthumb -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -Og -g2 -ggdb2 -DF_CPU=120000*** [.pio/build/OpenIMU300ZI/lib670/OpenIMU300-base-library/STM32F405/src/startup_stm32f405xx.o] Error 1

Note I setup the same toolchain, but on Windows, and the error doesn't occur - so this is limited to Linux.

Log in to reply