Flash Size
Posted: Mon Apr 17, 2023 8:17 pm
I am working on a project where we have two versions of our hardware. One uses the WROOM-32E-N4 (4MB Flash), and the other uses the WROOM-32E-N16 (16MB flash). I would like at run time to be able to determine which device is installed. I do not want to produce a different build of the application software for each version of the hardware. Is there a way to get the flash size or the flash device id from within my application?