MultiFS Branch #5
tobozo
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussion around this PR chrisjoyce911#92
Followup for chrisjoyce911#25, chrisjoyce911#47, chrisjoyce911#60, chrisjoyce911#74, chrisjoyce911#79, chrisjoyce911#91
Functional changes
fs::FS
filesystem abstraction.spiffs
,littlefs
,fatfs
holding path to filesystem image#include <LittleFS>
(on any other filesystem) is included from the sketch, and automatically use that filesystem to verify certificate signatures. If no filesystem is detected, firmware signature check will always fail!A new set of helper objects were added to handle the crypto assets in mixed situations:
Crypto asset usage with progmem:
Crypto asset usage with filesystem (can be different for each file):
Sketches using more than one filesystem or compiled with older versions of platformio or may use this new method:
esp32FOTA.setCertFileSystem( &LittleFS ); // works with &SD, &SD_MMC, &SPIFFS
Beta Was this translation helpful? Give feedback.
All reactions