Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By CHERTS
#8878 A new version of my build Espressif DevKit for Windows v1.0.8
The list of changes to the first page:
viewtopic.php?f=9&t=820&p=4639#p4639

Update procedure:
1. Remove the version 1.0.x
2. Install the new version 1.0.8
ATTENTION!!! When you delete the old version will be removed entire directory C:\Espressif
User avatar
By picstart
#8993 node.flashsize() probably is broken. Perhaps any SPI flash other than the standard 4mbit is not being discovered.
The code seems convoluted possibly a chosen style of the espressif coders.
Example
user_config.h
// #define FLASH_512K
// #define FLASH_1M
// #define FLASH_2M
// #define FLASH_4M
#define FLASH_AUTOSIZE
// #define DEVELOP_VERSION
then in flash_api.c
things convolute to flash_size=SIZE_4MBIT
then there is FLASH_MAP_START_ADDRESS
and next INTERNAL_FLASH_MAP_START_ADDRESS
I don't see how FLASH_AUTOSIZE can work at compile time and if at run-time it must have some look up table to dereference the flash id to actual size.