Flash encryption on esp32
Hello, have you implemented a way to allow a developer to compile micropython with flash encryption enabled? is it possible to modify sdkconfig to enable flash encryption? which is the best way to do that?
Support for Dual Out flash mode (Support for ESP8285)
Hi,
the ESP8285 is basically and ESP8266 with 1MiB of flash integrated. Thus, the MicroPython ESP8266 port should support it out of the box. Sadly, the integrated flash can only be used in Dual Out mode according to its data sheet. This behavior is also observed in the Tasmota firmware.
The good thing about DOUT flash mode is, that it seems to be supported by every ESP82* device and flash combination, according to the Tasmota Wiki. Sadly, it seems to be also the slowest.
So it would be nice to be able to configure the build to use a specific flash mode. The FLASH_MODE variable in the Makefile is only used in the deploy target so far. (By the way, recent versions of the esptool don't provide the ) Maybe this variable could be used to control which flash mode micropython is using?--flash_mode= parameter any more.
Kind regards,
Marian
Update: esptool still supports --flash_mode, it is just not listed when running esptool.py --help. Running esptool.py write_flash --help lists it.