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
Board dependant on configuration? (Read 69 times)
MartinAndersen
Newbies
*
Offline



Posts: 2
Board dependant on configuration?
May 14th, 2019 at 12:13pm
 
Hi!
Im using several boards for the same project and code. One is the "extended" version, other si the "basic", and last the "debug" version. The code has conditional compilation for each board, and ive set some defines that are configuration dependant. So choosing one or the other will build the code accordingly. Everything is great!
Just can figure out how to make the board to also be configuration dependant. If i change to a different build config, the board does not change accordingly.
Is it possible to accomplish this?
It would be great not to manually change the board each time.
Thanks!
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 9816
United Kingdom
Re: Board dependant on configuration?
Reply #1 - May 14th, 2019 at 12:38pm
 
Yes this is currently under review. There will be an option to fix a board or port to a configuration. It might make more sense in some cases to fix the port but either should be available.

We can often work out the board from the port, if not automatically then especially after an upload but maybe not relevant from you.

Back to top
 
WWW  
IP Logged
 
MartinAndersen
Newbies
*
Offline



Posts: 2
Re: Board dependant on configuration?
Reply #2 - May 14th, 2019 at 12:41pm
 
That will be great!
Is there any ETA for this?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 9816
United Kingdom
Re: Board dependant on configuration?
Reply #3 - May 14th, 2019 at 12:46pm
 
Maybe next week or two. Register for pre-release notifications here

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print