Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Compatibility with stm32duino 1.9.0 (SOLVED) (Read 1286 times)
stmuser890
Newbies
*
Offline


Posts: 4
Joined: May 18th, 2020
Compatibility with stm32duino 1.9.0 (SOLVED)
May 18th, 2020 at 2:30pm
Print Post  
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
Select All
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
« Last Edit: May 19th, 2020 at 12:37pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compatibility with stm32duino 1.9.0
Reply #1 - May 18th, 2020 at 2:31pm
Print Post  
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.
« Last Edit: May 18th, 2020 at 3:18pm by Simon@Visual Micro »  
Back to top
WWW  
IP Logged
 
stmuser890
Newbies
*
Offline


Posts: 4
Joined: May 18th, 2020
Re: Compatibility with stm32duino 1.9.0
Reply #2 - May 18th, 2020 at 2:53pm
Print Post  
I just tried to follow your guidelines.
1: add board.txt to my project
2: add
Code
Select All
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@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: Compatibility with stm32duino 1.9.0
Reply #3 - May 18th, 2020 at 3:20pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compatibility with stm32duino 1.9.0
Reply #4 - May 18th, 2020 at 9:14pm
Print Post  
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
Joined: May 18th, 2020
Re: Compatibility with stm32duino 1.9.0
Reply #5 - May 19th, 2020 at 12:18pm
Print Post  
Problem solved! Thanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint