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


Posts: 3
Joined: Jan 11th, 2017
Saving additional settings in vsarduino.h file
May 8th, 2017 at 12:23pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Saving additional settings in vsarduino.h file
Reply #1 - May 9th, 2017 at 6:01pm
Print Post  
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 TopicPrint