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
Saving additional settings in vsarduino.h file (Read 1527 times)
-Johan-
Newbies
*
Offline



Posts: 3
Saving additional settings in vsarduino.h file
May 8th, 2017 at 1:23pm
 
Dear vMirco Team,

We are currently working on a project that can be applied to different chips with different Flash sizes.
One of our chips runs with a 1M (64K SPIFFS) and the second one is equipped with a 2M (256KB SPIFFS).

It would be extremely useful if the Flash size setting was also written into the vsarduino so that we could use the preprocessor to determine which flash size should be sent to the linker.

(example of implementation)

Entry: Flash Size: 1M (64K SPIFFS)  „.project.vsarduino.h“ -->  #define FlashSize_1M64K

Entry: Flash Size: 2M (256K SPIFFS)   „.project.vsarduino.h“ -->  #define FlashSize_2M256K

What do you think about this implementation? Is there a reason why so far the Flash size is only written into the project.vcxproj?

Kind Regards,
Johan
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Online



Posts: 10529
United Kingdom
Re: Saving additional settings in vsarduino.h file
Reply #1 - May 9th, 2017 at 7:01pm
 
Thanks for the post. We will try to force the defines from board options through to the intellisense in a next release

Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print