You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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_clean
xip_cache_invalidate
xip_cache_invalidate_range (?)
might be all that's needed, but maybe others have additional requirements?
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
andMicroPython
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_clean
xip_cache_invalidate
xip_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.
The text was updated successfully, but these errors were encountered: