Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Mmiscool
#53464 Hello,

I am attempting to streamline my build process and was hoping that there might be a way for me to selectively have code compile depending on the targets flash memory size.

In a lot of the libraries I see the flowing code.

Code: Select all#ifdef ESP8266
//some code here
#endif


Is it possible to do some thing based on the flash size selected?
User avatar
By Mmiscool
#53706 My goal is to selectivity cut out things that take up space to make the esp basic firmware continue to work on 1 meg modules with a few features omitted. I am up against the wall on the 1 meg modules using 99% of available space for the firmware.