devicescript
devicescript copied to clipboard
document memory/flash requirements
Probably in the device section and intro.
@pelikhan is Flash Encryption for ESP32 chips supported?
If not, I'm wondering if we'd be able to activate Flash Encryption with ESP-IDF directly, and then keep developing with DeviceScript. I'm just unsure about idf.py encrypted-flash
being supported in DeviceScript, since it seems like you have your own flash tooling.
The main concern is being able to securely store data on NVS with NVS Encryption enabled when provisioning a device for the first time, to, for example, store certificates and private keys used to authenticate against IoT cloud services.
This one is for @mmoskal . For reference, the esp32 runtime is at https://github.com/microsoft/devicescript-esp32 and builds on top of ESP-IDF directly.
The flash encryption Should-Just-Work(TM). We store user program in NVM but I think this is handled transparently. Having said that I have not tried...