Closed justchen1369 closed 1 year ago
The above error occurs with all of the chips that I've tested. The full output is included below.
yay@proton:~/efm32-base/build$ make Scanning dependencies of target device [ 1%] Building ASM object device/CMakeFiles/device.dir/EFR32MG22/Source/GCC/startup_efr32mg22.S.obj [ 3%] Building C object device/CMakeFiles/device.dir/EFR32MG22/Source/system_efr32mg22.c.obj arm-none-eabi-gcc: fatal error: cannot read spec file 'nano.specs': No such file or directory compilation terminated. make[2]: [device/CMakeFiles/device.dir/build.make:89: device/CMakeFiles/device.dir/EFR32MG22/Source/system_efr32mg22.c.obj] Error 1 make[1]: [CMakeFiles/Makefile2:495: device/CMakeFiles/device.dir/all] Error 2 make: *** [Makefile:91: all] Error 2
Issue resolved after installing arm-none-eabi-newlib.
arm-none-eabi-newlib
The above error occurs with all of the chips that I've tested. The full output is included below.