Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Compatibility with stm32duino 1.9.0 (SOLVED) (Read 136 times)
stmuser890
Newbies
*
Offline



Posts: 4
Compatibility with stm32duino 1.9.0 (SOLVED)
May 18th, 2020 at 3: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 


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! Cry Cry Cry
Back to top
« Last Edit: May 19th, 2020 at 1:37pm by Visual Micro »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10653
United Kingdom
Re: Compatibility with stm32duino 1.9.0
Reply #1 - May 18th, 2020 at 3: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.
Back to top
« Last Edit: May 18th, 2020 at 4:18pm by Simon Hopkinson »  
WWW  
IP Logged
 
stmuser890
Newbies
*
Offline



Posts: 4
Re: Compatibility with stm32duino 1.9.0
Reply #2 - May 18th, 2020 at 3:53pm
 
I just tried to follow your guidelines.
1: add board.txt to my project
2: add Code:
vm.ctags=false 

to the board.txt
3: rebuild project
Am I right? If am right, that not helpful... I got exactly the same error as before.
Back to top
 
 
IP Logged
 
Simon Hopkinson
Administrator
*****
Offline



Posts: 246
Re: Compatibility with stm32duino 1.9.0
Reply #3 - May 18th, 2020 at 4: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.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10653
United Kingdom
Re: Compatibility with stm32duino 1.9.0
Reply #4 - May 18th, 2020 at 10: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
Back to top
 
WWW  
IP Logged
 
stmuser890
Newbies
*
Offline



Posts: 4
Re: Compatibility with stm32duino 1.9.0
Reply #5 - May 19th, 2020 at 1:18pm
 
Problem solved! Thanks!
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print