• Yes, that's it. Keep storage (saved_code section) as is.

    Then use Flash.getFree() to see it is there, and then just read/write/erase it via adresses above 0x60000000.

    If the Flash api would return all zeroes then maybe you will also need to wake up SPI flash from deep sleep but maybe it will just work.

About

Avatar for fanoush @fanoush started