ryankurte / efm32-base

Base project for Silicon Labs EFM32 microcontrollers
89 stars 33 forks source link

arm-none-eabi-gcc: fatal error: cannot read spec file 'nano.specs': No such file or directory #30

Closed justchen1369 closed 1 year ago

justchen1369 commented 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

justchen1369 commented 1 year ago

Issue resolved after installing arm-none-eabi-newlib.