Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config/WWW/OTA Partition and data access rework #157

Merged
merged 17 commits into from
Dec 13, 2023

Conversation

nullstalgia
Copy link
Member

Will be needed for OTAs, as otherwise we would overwrite the config when we update the Filesystem.

@nullstalgia nullstalgia self-assigned this Dec 11, 2023
@hhvrc hhvrc changed the title Separate LittleFS into Config and WWW partitions, lay out OTA partition tables Separate LittleFS into Config and WWW partitions, lay out OTA partition tables, clean up config/www access Dec 13, 2023
@hhvrc hhvrc changed the title Separate LittleFS into Config and WWW partitions, lay out OTA partition tables, clean up config/www access Config/WWW/OTA Partition and data access rework Dec 13, 2023
@hhvrc hhvrc merged commit e887419 into develop Dec 13, 2023
10 checks passed
@hhvrc hhvrc deleted the feature/config-partition branch December 13, 2023 21:18
LucHeart pushed a commit that referenced this pull request Jan 22, 2024
* Use separate partition from WWW Data for device configuration

* Have ALL chips use the same 4MB OTA partition table

* Forgot to use new label for www data in setup()

* Specify flash sizes and MCUs in platformio.ini

* Set flash size to fallback if none specified during final image merging

* Make FS building use new partition scheme

* Rename www0 to static

* zero :D

* Lock down config

Implement Read/Write mutex so that access to Config is threadsafe

* Fix compilation errors

* Use filesystem partition hash instead of contents hash

* Fix static route

---------

Co-authored-by: HentaiHeavenVR <[email protected]>
LucHeart added a commit that referenced this pull request Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants