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

pico_flash missing in pico_sdk #1017

Open
vbargsten opened this issue Jan 23, 2025 · 0 comments
Open

pico_flash missing in pico_sdk #1017

vbargsten opened this issue Jan 23, 2025 · 0 comments

Comments

@vbargsten
Copy link

In the current pico_sdk, there are some helper functions for safely writing to flash in pico_flash:
https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/pico_flash/include/pico/flash.h

These are missing in
https://github.com/arduino/ArduinoCore-mbed/tree/main/cores/arduino/mbed/targets/TARGET_RASPBERRYPI/TARGET_RP2040/pico-sdk/rp2_common

I'm using both cores and TBDStore on FlashIAPBlockDevice on Arduino RP2040 nano connect. When storing values the controller stops. It works if I disable the second core. The functions in pico_flash simplify the lockout for such cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant