Chat freely about anything...

User avatar
By Fr4gg0r
#12070
In order to enable some undocumented low power features of ESP8266, we have added the following codes in the LOW_POWER_SENSOR_DEMO_DIR/app/Makefile, that modifies part of the flash content. [...]
This magic sauce command, lowers the power consumption of the chip by 30% when it wakes up to perform sensor measurement.


:lol:
User avatar
By igrr
#12082 It's actually a nice trick — they write to a peripheral register by adding a fake segment to the firmware image with start address equal to the register address, and dword value as contents. This way the register is initialized very early at boot.