Selectively including code for different module sizes.
Posted: Sat Aug 20, 2016 11:19 pm
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.
Is it possible to do some thing based on the flash size selected?
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?