esp32/machine_rtc: ESP32 machine.RTC().usermem() returning a bytearray.#7133
Open
karfas wants to merge 4 commits into
Open
esp32/machine_rtc: ESP32 machine.RTC().usermem() returning a bytearray.#7133karfas wants to merge 4 commits into
karfas wants to merge 4 commits into
Conversation
Author
|
Added documentation. This hijacks PR #5199, where machine.RTC.memory() is documented. |
3 tasks
d46d5de to
68fe380
Compare
68fe380 to
616a1bc
Compare
tannewt
pushed a commit
to tannewt/circuitpython
that referenced
this pull request
Nov 16, 2022
Fixed wrong configuration in sdkconfig
Author
Signed-off-by: Thomas Wenrich <[email protected]>
This was referenced Feb 29, 2024
Contributor
|
This is an automated heads-up that we've just merged a Pull Request See #13763 A search suggests this PR might apply the STATIC macro to some C code. If it Although this is an automated message, feel free to @-reply to me directly if |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Returns a bytearray referencing the user memory area of an ESP32 RTC.
This somewhat overlaps with RTC().memory(), but allows to address the entire user memory (e.g. using the uctypes functions) without knowing the exact address of the user memory area.
I would have preferred to create an attribute/property (e.g.
RTC().usermem) for this, but that is way too complicated in the C API.Previous:
Afterwards: