VS Arduino
Visual Micro >> Ideas, Suggestions and Related Tools >> Saving additional settings in vsarduino.h file
https://www.visualmicro.com/forums/YaBB.pl?num=1494246218

Message started by -Johan- on May 8th, 2017 at 12:23pm

Title: Saving additional settings in vsarduino.h file
Post by -Johan- on May 8th, 2017 at 12: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

Title: Re: Saving additional settings in vsarduino.h file
Post by Visual Micro on May 9th, 2017 at 6:01pm
Thanks for the post. We will try to force the defines from board options through to the intellisense in a next release


VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.