-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
esp32/machine_rtc: ESP32 machine.RTC().usermem() returning a bytearray. #7133
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
base: master
Are you sure you want to change the base?
Conversation
Added documentation. This hijacks PR #5199, where machine.RTC.memory() is documented. |
d46d5de
to
68fe380
Compare
68fe380
to
616a1bc
Compare
Fixed wrong configuration in sdkconfig
Signed-off-by: Thomas Wenrich <karfas@gmail.com>
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 |
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: