Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Low Level API #10

Merged
merged 4 commits into from
Mar 28, 2023
Merged

Low Level API #10

merged 4 commits into from
Mar 28, 2023

Conversation

bjoernQ
Copy link
Contributor

@bjoernQ bjoernQ commented Mar 27, 2023

This adds a feature low-level which makes the low-level functionality available as unsafe functions - it's not advertised in the README since it's reserved for some rare use-cases (e.g., the NVS crate a community member is working on)

Additionally, this adds a ESP32-default feature critical-section. It's not useful for other chips and a no-op for them.

Closes #7
Closes #9

Best thing: This finally fixes the ESP32 write-flash function in a reasonable way (i.e. it now also works without erasing the page immediately before writing)

examples/low_level.rs Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@bjoernQ bjoernQ merged commit 0207523 into main Mar 28, 2023
@bjoernQ bjoernQ deleted the low-level-api branch March 28, 2023 09:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider using critical-section when targeting ESP32 Export low-level functions
2 participants