-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Milestone
Description
The XIP cache works really well except in certain cases involving PSRAM and flash updates with a really non-obvious (IMHO) workaround.
Because cache cleaning needs some special magic to work with PSRAM as discussed in the links above, it may make sense to add some XIP cache management operations to the SDK (especially "XIP Clean"). Right now we have arduino-pico, CircuitPython and MicroPython all implementing the same XIP cache management code separately. It would be cleaner and safer to factor that out up into the SDK.
I imagine something as simple as
xip_cache_cleanxip_cache_invalidatexip_cache_invalidate_range(?)
might be all that's needed, but maybe others have additional requirements?
Kind-of related to #1983, but at a higher level.
Metadata
Metadata
Assignees
Labels
No labels