How do I resolve this issue - "arm-none-eabi-gcc: fatal error: cannot read spec file 'nano.specs': No such file or directory"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-14 8:44 PM
Hi all,
I hope someone can help me with this...
If I remove the --specs=nano.specs in the MCU Settings tab, I get errors about #include_next files not found.
If I install newlib I just errors about IO functions that I don't want...
Kind regards
PG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-03 2:41 PM
same issue please help ST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-04 7:11 AM
I realize this is months old, but I just stumbled on this. The problem was arm-none-eabi-newlib was not installed when using the --specs file. In versions 11+ there are some functions that need to be defined in order to not get the IO warnings (or errors depending on your flags). Examples of these definitions can be found in a generated STM32CubeIDE project in the syscalls.c.
