summaryrefslogtreecommitdiff
path: root/supervisor/shared/usb/usb_msc_flash.c
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2020-12-21unmounted filesystems start as ejectedDan Halbert
2020-11-13Save flash spaceScott Shawcroft
* No weak link for modules. It only impacts _os and _time and is already disabled for non-full builds. * Turn off PA00 and PA01 because they are the crystal on the Metro M0 Express. * Change ejected default to false to move it to BSS. It is set on USB connection anyway. * Set sinc_filter to const. Doesn't help flash but keeps it out of RAM.
2020-02-24Fix Mac crash when waking up with an ejected CIRCUITPYScott Shawcroft
We now correctly set the reason for the unit not being ready and always start the unit. Fixes #2567
2020-02-12Added fix to allow remount when usb enabled but msc is ejectedGadi Rotenberg
2019-12-17Improve USB eject by resetting on replugScott Shawcroft
2019-07-24update tinyusb lib to 0.5.xhathach
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.
2018-11-23Update tinyusb to include control fixes.Scott Shawcroft
2018-11-09Incorporate feedback:Scott Shawcroft
* Clean up board defines. * Add flush on eject and stay ejected. * Swith back to NONE protocol for CDC.
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.