Skip to content

SDFS "OTA" Updates #1961

Discussion options

You must be logged in to vote

Yes, it is possible to read a file from SDFS, send it to the Updater who will then write it to onboard flash as a file in LittleFS, and then reboot and write from onboard LittleFS to onboard flash.

If you mean, can you directly use SDFS files to update w/o an onboard LittleFS partition, then that is not possible to do today. The actual OTA is handled here, and it doesn't know anything about SPI or the FAT filesystem.

To make that work, you'd need to make a minimal bare-metal (non-Arduino) FAT filesystem driver, a minimal (non-Arduino) SPI driver, and define a new partition table structure. It's definitely possible, but not a quick job I would think

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NuclearPhoenixx
Comment options

Answer selected by NuclearPhoenixx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants