summaryrefslogtreecommitdiff
path: root/supervisor
AgeCommit message (Collapse)Author
2021-04-02Changed error message to display the generic term 'system firmware' instead ↵Jonny Bergdahl
of the Nordic specific term 'soft device'
2021-03-25Fix devices include by splitting type from definesScott Shawcroft
2021-03-25Switch devices.h to nvm.toml dataScott Shawcroft
2021-03-23Merge pull request #4446 from tannewt/rp2040_flashDan Halbert
Switch RP2040 flash settings to nvm.toml
2021-03-23[spi_flash] handle reentrance gracefullyArtyom Skrobov
Report failure instead of deadlocking the device
2021-03-22Merge pull request #4462 from jepler/disable-usb-cdcScott Shawcroft
storage: Correct when we check for USB mounts
2021-03-22Merge remote-tracking branch 'adafruit/main' into rp2040_flashScott Shawcroft
2021-03-22make declatations of usb_msc_ routines conditionalJeff Epler
.. as suggested by @dhalbert
2021-03-22fix for MX25R1635F QSPI mode of operationLinar Yusupov
2021-03-18Redo RP2040 flash settingsScott Shawcroft
This switches stage2 to C and uses Jinja to change the C code based on flash settings from https://github.com/adafruit/nvm.toml. It produces the fastest settings for the given set of external flashes. Flash size is no longer hard coded so switching flashes with similar capabilities but different sizes should *just work*. This PR also places "ITCM" code in RAM to save the XIP cache for code execution. Further optimization is possible. A blink code.py still requires a number of flash fetches every blink. Fixes #4041
2021-03-15run code formatting scriptmicroDev
2021-03-09Revert "circuitpy_mpconfig: Disable flash multi-partition"Jeff Epler
This reverts commit 156ee4833ab170d598991fd8d4d6f6d04c759744.
2021-03-08Merge pull request #4354 from jepler/disable-fat-partitionScott Shawcroft
circuitpy_mpconfig: Disable flash multi-partition
2021-03-07Automatically count EXTERNAL_FLASH_DEVICES (mk2)Jeff Epler
Instead of counting words in make, which is slightly awful, notice that possible_devices is local to external_flash.c, so we can declare the array with an automatic bound, and then get the count as the element-count (MP_ARRAY_SIZE) of the array. Since EXTERNAL_FLASH_DEVICE_COUNT is no longer a global macro, switch a few sites to using EXTERNAL_FLASH_DEVICES in `#if` checks instead.
2021-03-07Automatically count EXTERNAL_FLASH_DEVICESJeff Epler
2021-03-07circuitpy_mpconfig: Disable flash multi-partitionJeff Epler
This adds some additional code in mkfs which doesn't seem necessary, and Disabling it saves 172 bytes flash. Testing performed: Using a Feather M0 Adalogger, checked that * an sdcard could still be mounted (using adafruit_sdcard) * os.listdir() of "/" and "/sd" worked * CIRCUITPY still mounted
2021-03-03Merge pull request #4315 from dhalbert/rp2040-i2c-short-writesDan Halbert
RP2040: Implement short I2C writes (2 bytes or less) using bitbangio
2021-03-02Merge pull request #4306 from Neradoc/fix-reset-to-safeDan Halbert
press reset to safe mode on ports where reset reason is not implemented
2021-03-02Merge remote-tracking branch 'adafruit/main' into rp2040-i2c-short-writesDan Halbert
2021-03-02wipDan Halbert
2021-03-02allow the safe mode danse if RESET_REASON_UNKNOWNNeradoc
2021-02-27Replace displaio.Group.children with a python listRadomir Dopieralski
This is a first go at it, done by naive replacing of all array operations with corresponding operations on the list. Note that there is a lot of unnecessary type conversions, here. Also, list_pop has been copied, because it's decalerd STATIC in py/objlist.h
2021-02-27displaio: don't store group children native objectRadomir Dopieralski
Since we want to expose the list of group's children to the user, we should only have the original objects in it, without any other additional data, and compute the native object as needed.
2021-02-27Fix for CIRCUITPY_USB_MSC=0Radomir Dopieralski
Avoid undefined functions when MSC is disabled.
2021-02-24Add the missing argument to the HID functionsKamil Tomaszewski
2021-02-22fix length of generated serial number descriptorJeff Epler
2021-02-21USB descriptors: Save flash storage for serial numberJeff Epler
This saves about 60 bytes (Feather M4 went from 45040 -> 45100 bytes free) 66 bytes of data eliminated, but 6 bytes paid back to initialize the length field.
2021-02-18fix some buildsDan Halbert
2021-02-15wip: usb_cdc.serialsDan Halbert
2021-02-12wipDan Halbert
2021-02-11merge from upstream; complicated webusb mergeDan Halbert
2021-02-08wipDan Halbert
2021-02-05Merge pull request #4122 from hathach/fix-3986Dan Halbert
Fix 3986 background reset remove existing usb callback
2021-02-04usb descriptors all set; rework of enabling for USB devicesDan Halbert
2021-02-04Changed URLKevin Banks
2021-02-04add usb_background_schedule()hathach
unconditionally schedule usb background after background_callback_reset()
2021-02-03Merge branch 'main' into webusb (trying to get CI back online)Kevin Banks
2021-02-03hack to fix 3986hathach
just a proof to show that issue analysis is correct
2021-01-26BOS and MS_OS_2.0 descriptors have been added. Still more descriptor work TODO.Kevin Banks
2021-01-25Most of the code we need has been pulled in from the tinyusb webusb_serial ↵Kevin Banks
demo. Still LOTS to do regarding descriptors.
2021-01-21Switch to upstream TinyUSBScott Shawcroft
2021-01-21Fix ESP buildScott Shawcroft
2021-01-20Add initial RP2040 supportScott Shawcroft
The RP2040 is new microcontroller from Raspberry Pi that features two Cortex M0s and eight PIO state machines that are good for crunching lots of data. It has 264k RAM and a built in UF2 bootloader too. Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf
2021-01-12Merge remote-tracking branch 'origin/main' into audioout-esp32Jeff Epler
2021-01-11Merge pull request #3973 from kattni/update-code-pyDan Halbert
Update created code.py file formatting.
2021-01-11Adding escape characters.Kattni Rembor
2021-01-11Update created code.py file formatting.Kattni Rembor
2021-01-09background tasks: Add, use port_wake_main_taskJeff Epler
Some ports need an extra operation to ensure that the main task is awoken so that a queued background task will execute during an ongoing light sleep. This removes the need to enable supervisor ticks while I2SOut is operating. Closes: #3952
2021-01-08avoid inline compile errorsDan Halbert
2021-01-04Fix size of memset in board_reset_user_neopixels()DavePutz