When I boot one of the "E" models with the AT firmware, it shows "8mbit", i.e. 1 MByte as the flash size. When I flash a NodeLUA firmware, a "node.info()" shows "4096" as the flash size, i.e. 4MByte of 512k, depending on whether the 4096 are bytes or bits.
The AT firmware could be upgraded OTA, so it can't be 512k.
Does anyone know of a way to determine the flash size reliably?
Edit: According to the reported ID, all three ESP-12(E) modules have a Gigadevice GD25Q32 flash chip. The three chips look very different to each other, so I guess they are copies / clones. In the end, I would have to actually write and read the flash to be sure, I think.