summaryrefslogtreecommitdiff
path: root/supervisor/supervisor.mk
AgeCommit message (Collapse)Author
2020-07-15supervisor: Add a linked list of background callbacksJeff Epler
In time, we should transition interrupt driven background tasks out of the overall run_background_tasks into distinct background callbacks, so that the number of checks that occur with each tick is reduced.
2020-06-24supervisor.mk: Conditionally assign USB_DEVICESJeff Epler
This restores the ability to remove CDC and/or MSC, at the price of giving up the new automatic check that USB_DEVICES is correct. Since devices have to have CDC and MSC to be "CircuitPython", this is not a facility that is going to be used by any in-tree drivers.
2020-06-23supervisor.mk: Compute USB_DEVICES; remove from boards and portsJeff Epler
Since Actions passed on the previous commit, where this computed value was checked against the specified value (if any), this is no net change, except that we no longer need to specify it for particular boards or ports.
2020-06-15supervisor.mk: Compute what USB_DEVICES should be, and check it against what ↵Jeff Epler
it is
2020-05-15Initial ESP32S2 port.Scott Shawcroft
Basic blinky works but doesn't check pins.
2020-04-21Fix USB midi and hid disable.Scott Shawcroft
2020-01-23reset NeoPixels on CPB on soft reloadDan Halbert
2019-12-10working on all portsDan Halbert
2019-12-05wipDan Halbert
2019-11-18Supervisor: move most of systick to the supervisorJeff Epler
This code is shared by most parts, except where not all the #ifdefs inside the tick function were present in all ports. This mostly would have broken gamepad tick support on non-samd ports. The "ms32" and "ms64" variants of the tick functions are introduced because there is no 64-bit atomic read. Disabling interrupts avoids a low probability bug where milliseconds could be off by ~49.5 days once every ~49.5 days (2^32 ms). Avoiding disabling interrupts when only the low 32 bits are needed is a minor optimization. Testing performed: on metro m4 express, USB still works and time.monotonic_ns() still counts up
2019-11-12Allow boards to change the "CircuitPython" text in their USB interface ↵Thea Flowers
description. In cases where more than one board is connected to a single computer it can become pretty hard to figure out which board you're actually talking to. For example, if you have several MIDI-compatible boards they all show up as "CircuitPython MIDI". This change allows boards to replace the "CircuitPython" part of their USB descriptors with more specific text, for example, "CircuitPython Feather" or just "Feather". This will let folks more easily tell boards apart. The new option is named `USB_INTERFACE_NAME` and is available in `mkconfigboard.mk`. For example: ``` USB_INTERFACE_NAME = "Feather" ```
2019-10-21Refine _bleioScott Shawcroft
This PR refines the _bleio API. It was originally motivated by the addition of a new CircuitPython service that enables reading and modifying files on the device. Moving the BLE lifecycle outside of the VM motivated a number of changes to remove heap allocations in some APIs. It also motivated unifying connection initiation to the Adapter class rather than the Central and Peripheral classes which have been removed. Adapter now handles the GAP portion of BLE including advertising, which has moved but is largely unchanged, and scanning, which has been enhanced to return an iterator of filtered results. Once a connection is created (either by us (aka Central) or a remote device (aka Peripheral)) it is represented by a new Connection class. This class knows the current connection state and can discover and instantiate remote Services along with their Characteristics and Descriptors. Relates to #586
2019-10-15Merge remote-tracking branch 'adafruit/master' into bonding1Dan Halbert
2019-10-08Merge branch 'master' into circuitpython-number-endpointkamtom480
2019-10-08Use boolean type for renumber_endpointsKamil Tomaszewski
2019-10-07Add HID OUTKamil Tomaszewski
2019-10-07Add validationKamil Tomaszewski
2019-10-07Add an alternative way to number the USB endpointsKamil Tomaszewski
Two options available: - relative numbering (USB_RELATIVE_EP_NUM = 1) - default - absolute numbering (USB_RELATIVE_EP_NUM = 0) - new!
2019-10-06WIP: bondingDan Halbert
2019-10-04Add a way to change max packet size for MSCKamil Tomaszewski
2019-09-04Merge remote-tracking branch 'adafruit/master' into choose-usb-devices-xacDan Halbert
2019-09-04use only one endpoint pair for MSC except on SAMD21Dan Halbert
2019-09-04Reverted descriptor changes pending HID restructuringHierophect
2019-09-03WIPDan Halbert
2019-08-19Add warnings, cosmetic fixes, remove vestigial modulesHierophect
2019-08-15Fix flash size, add filesystem disable flagHierophect
2019-08-15Add conditional endpoints to descriptor scriptHierophect
2019-07-26Add CDC REPL accessHierophect
2019-07-22Cleanup missed itemsHierophect
2019-07-22Add feature conditionals and clean upHierophect
2019-07-18Makefile cleanupHierophect
2019-07-18Deinit-capable USB on 411Hierophect
2019-07-17Add missing files for DigitalIOHierophect
2019-06-28remove build, fix link issues)Hierophect
2019-06-28first commit, very crudeHierophect
2019-04-12Update font location and shrink a bunch of buildsScott Shawcroft
2019-04-12Update supervisor.mkhexthat
2019-04-12Allow overriding the font per board definitionRadomir Dopieralski
This way boards with smaller screens can use smaller fonts
2019-04-08Reorganize board busses into shared-bindings and shared-module.Scott Shawcroft
2019-02-18Fix #ifdefs in port.c to call xxx_reset() rroutines properly. Remove most ↵Dan Halbert
uses of EXPRESS_BOARD.
2019-01-31Fix hallowing and nrf buildsScott Shawcroft
2019-01-31Hook up the terminal based on the first display.Scott Shawcroft
2019-01-31Begin font parsing and packing for terminalScott Shawcroft
2019-01-16Rework displays in prep for dynamic support and 8bit parallel.Scott Shawcroft
2019-01-09Add USB MIDI support for SAMD and nRF.Scott Shawcroft
The API should be identical to using a UART for MIDI. Fixes #672
2018-12-06Rework safe mode and have heap overwrite trigger it.Scott Shawcroft
This creates a common safe mode mechanic that ports can share. As a result, the nRF52 now has safe mode support as well. The common safe mode adds a 700ms delay at startup where a reset during that window will cause a reset into safe mode. This window is designated by a yellow status pixel and flashing the single led three times. A couple NeoPixel fixes are included for the nRF52 as well. Fixes #1034. Fixes #990. Fixes #615.
2018-11-23Update tinyusb to include control fixes.Scott Shawcroft
2018-11-09Build refinement to handle warnings and quiet outputScott 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.
2018-08-07Support internationalisation.Scott Shawcroft