VS Arduino
Visual Micro >> Visual Studio 2017, 2019, 2022 >> Compatibility with stm32duino 1.9.0 (SOLVED)
https://www.visualmicro.com/forums/YaBB.pl?num=1589812211

Message started by stmuser890 on May 18th, 2020 at 2:30pm

Title: Compatibility with stm32duino 1.9.0 (SOLVED)
Post by stmuser890 on May 18th, 2020 at 2:30pm
Hi, recently I updated my Stm32duino from 1.8.0 to 1.9.0. Then, I found that Visual Micro is unable to compile ANY Stm32duino projects but the native Arduino IDE! Every time I try to compile, visual micro always throw me an error [code]arm-none-eabi-g++*: error: C:\Users\Bovert Ram\AppData\Local\Temp\VMBuilds\test19_edp\STM32_GenF1\Debug\build_opt.h: No such file or directory[/code]
Then, I disabled the precompile in platform.txt which is not helpful. The issue now is the visual micro trying to find a file in a totally wrong folder and if I moved the build_opt.h and wrappers to the folder compiler looking for I got tons of ld.exe error. It seems that Visual Micro using arm compiler wild, it not following scripts in platform.txt. Due to I can't find another Arduino IDE better than yours, so any possible solutions or patches are appreciated! :'( :'( :'(

Title: Re: Compatibility with stm32duino 1.9.0
Post by Visual Micro on May 18th, 2020 at 2:31pm
Thanks for the report, and this has highlighted a problem which only occurs in the 1.9.0 version of the STM32 Core with Visual Micro.

We are currently investigating this, and in the interim rolling back to the v1.8.0 STM32 core will work around the issue.

Title: Re: Compatibility with stm32duino 1.9.0
Post by stmuser890 on May 18th, 2020 at 2:53pm
I just tried to follow your guidelines.
1: add board.txt to my project
2: add [code]vm.ctags=false[/code]to the board.txt
3: rebuild project
Am I right? If am right, that not helpful... I got exactly the same error as before.

Title: Re: Compatibility with stm32duino 1.9.0
Post by Simon Hopkinson on May 18th, 2020 at 3:20pm
Upon further investigation we have found it is not related to the prototype generation, so the vm.ctags does not resolve the issue.

We are currently investigating this, and in the interim rolling back to the v1.8.0 STM32 core will work around the issue.

Title: Re: Compatibility with stm32duino 1.9.0
Post by Visual Micro on May 18th, 2020 at 9:14pm
Please install the latest release which hopefully resolves the issue with the stm 1.9 toolchain. The latest release is here:-

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

Title: Re: Compatibility with stm32duino 1.9.0
Post by stmuser890 on May 19th, 2020 at 12:18pm
Problem solved! Thanks!

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.