stm32duino / Arduino_Core_STM32

STM32 core support for Arduino

Home Page:https://github.com/stm32duino/Arduino_Core_STM32/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatibility with Visual Micro

AlexandrJet opened this issue · comments

Hi everyone. After upgrading to 2.7.1, any project for STM32 is no longer compiled. I noticed that before that it was necessary to install compilers for STM32 myself. Now, as I understand it, all compilers are included.
Can I find out which version, starting from 2.4.0 (everything worked on it for sure), was installed the old way before that?
I have attached the error log during compilation below.

Logs:

Compiling 'MyProject' for 'Generic STM32F4 series'
Error compiling variant
arm-none-eabi-gcc*: warning: {compiler.optimization_flags}: linker input file unused because linking not done
Build failed for project 'MyProject'
arm-none-eabi-gcc*: error: {compiler.optimization_flags}: linker input file not found: No such file or directory
arm-none-eabi-gcc*: warning: {compiler.optimization_flags}: linker input file unused because linking not done
arm-none-eabi-gcc*: error: {compiler.optimization_flags}: linker input file not found: No such file or directory

This happens now with any project for Stm32. I think, it can be seen from the log that the problem is in choosing the optimization flag, I tried to change the optimization, but it did not help. Reinstalling Visual Micro and Arduino_Core_STM32 did not help.
Everything works in the Arduino IDE.

PS: Sorry, for my English.