summaryrefslogtreecommitdiff
path: root/supervisor/shared/external_flash/external_flash.c
AgeCommit message (Collapse)Author
2019-12-10supervisor: external_flash: don't call m_free when it's badJeff Epler
It's extremely dubious that we have these handles that we think are to GC'd memory at a time when the gc pool may not be initialized. Hopefully, they WERE valid GC memory and are undisturbed by the teardown of the interpreter that can lead to this state. In this case, don't try to m_free them, the memory will become free when the GC heap is reinitialized. Closes: #2338 (together with previous commit)
2019-12-10supervisor: external_flash: don't call m_malloc_maybe when it's badJeff Epler
2019-09-09fix atmel-samd filesystem_tick'ing; clear_temp_status() should check for ↵Dan Halbert
status indicator in use
2019-04-03Rework flash flush so it preserves the cacheScott Shawcroft
This should make filesystem writes quicker and cause less heap churn.
2018-11-14Factor out of external flash as well.Scott Shawcroft
Plus some cleanup. Fixes #1324
2018-11-08Move atmel-samd to tinyusb and support nRF flash.Scott Shawcroft
This started while adding USB MIDI support (and descriptor support is in this change.) When seeing that I'd have to implement the MIDI class logic twice, once for atmel-samd and once for nrf, I decided to refactor the USB stack so its shared across ports. This has led to a number of changes that remove items from the ports folder and move them into supervisor. Furthermore, we had external SPI flash support for nrf pending so I factored out the connection between the usb stack and the flash API as well. This PR also includes the QSPI support for nRF.