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

User avatar
By tve
#31549 Does someone have a link (preferably github) to the last published SDK source from Espressif? That should be SDK 0.96, I believe? My google-fu is failing me today...
(The main thing I'm after today is understanding what gpio_init actually does.)
User avatar
By dkinzer
#31594
tve wrote:The main thing I'm after today is understanding what gpio_init actually does.
Even if you do find SDK source code it won't be helpful with respect to your objective because gpio_init() is in the ESP8266 ROM (address 0x40004c50). If you search for "esp8266 rom disassembly" you'll find some hits that may provide insight as to what gpio_init() is doing. In particular, see http://dflund.se/~kongo/esp8266.bin/iram0.txt.
User avatar
By tve
#31626
dkinzer wrote:
tve wrote:The main thing I'm after today is understanding what gpio_init actually does.
Even if you do find SDK source code it won't be helpful with respect to your objective because gpio_init() is in the ESP8266 ROM (address 0x40004c50). If you search for "esp8266 rom disassembly" you'll find some hits that may provide insight as to what gpio_init() is doing. In particular, see http://dflund.se/~kongo/esp8266.bin/iram0.txt.


Thanks for the info!