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
Sketch compile fails, involving ISR(WDT_vect), ok on Arduino IDE (Read 85 times)
BaiHui
Newbies
*
Offline



Posts: 2
Norwich, UK
Sketch compile fails, involving ISR(WDT_vect), ok on Arduino IDE
May 5th, 2020 at 12:19pm
 
Sketch, attached, compiles fine on the Arduino 1.8.12 IDE, but not on Visual Studio 2019 Version 16.5.4, error log attached. Visual micro v1.2020.0321, windows 10, all up to date.
IDE set to Arduino 1.6/1.8, IDE location set to C:\Program Files (x86)\Arduino.

This PC has history, it has previously had Visual Studio 2017 installed with no IDE, it still has 2017 installed. I recently installed IDE 1.8.12 and Visual Studio 2019 and found this problem, can't say if it existed on my old 2017 install.

I have tried uninstalling the Arduino IDE, deleting the arduino15 folder from AppData, then re-installing the Arduino IDE. Also uninstalling visual micro, and reinstalling visual micro after renewing the Arduino IDE, all with PC resets in between.
I initially thought it had some connection with EEPROM.h being multi defined, but am now thinking it's the ISR vector. As I say, it compiles fine on the regular Arduino IDE.
I've run out of ideas, and frankly knowledge.
Cheers
Eric
Back to top
 
 
IP Logged
 
Simon Hopkinson
Administrator
*****
Offline



Posts: 246
Re: Sketch compile fails, involving ISR(WDT_vect), ok on Arduino IDE
Reply #1 - May 5th, 2020 at 12:31pm
 
Thanks for the report, and there has been an updated release which will resolve this issue (20.03.21.11), and it is due to recent improvements to prototype generation.

This is available for download from our Forum Releases Section
Back to top
 
 
IP Logged
 
BaiHui
Newbies
*
Offline



Posts: 2
Norwich, UK
Re: Sketch compile fails, involving ISR(WDT_vect), ok on Arduino IDE
Reply #2 - May 5th, 2020 at 1:58pm
 
Thanks for your quick reply and a solution that works.
Great stuff,
Cheers,
Eric
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print