summaryrefslogtreecommitdiff
path: root/supervisor/shared/flash.c
AgeCommit message (Collapse)Author
2020-10-07Unify iMX flash config and add Metro M7 1011Scott Shawcroft
This unifies the flash config to the settings used by the Boot ROM. This makes the config unique per board which allows for changing quad enable and status bit differences per flash device. It also allows for timing differences due to the board layout. This change also tweaks linker layout to leave more ram space for the CircuitPython heap.
2020-06-22flash: Correctly signal error on invalid flash readJeff Epler
This logic was intended to mirror what is done for "write", but the wrong variable name was repeated twice.
2020-03-20Initial work for STM32. Need to fix us delay and PulseIn still.Scott Shawcroft
2020-03-13Hopefully fix flash flush and hopefully audio as well.Scott Shawcroft
2019-02-21Add option to disable the concurrent write protectionScott Shawcroft
This allows writing to the filesystem from the host computer and CircuitPython by increasing the risk of filesystem corruption.
2019-01-14Add subclass support to displayio.Scott Shawcroft
Also, swap make_news to accept a kwarg map and refine param checking. Fixes #1237
2018-11-14Factor out fake partitionScott Shawcroft
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.