summaryrefslogtreecommitdiff
path: root/ports/raspberrypi/supervisor
AgeCommit message (Collapse)Author
2021-03-22Fix doc build and address feedbackScott Shawcroft
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-04rp2040 use normal usb_irq_handler()hathach
2021-02-25Merge remote-tracking branch 'adafruit/main' into busio-uart-rpScott Shawcroft
2021-02-25implement suggested changesmicroDev
- add internal buffering - rtc initialization fix
2021-02-23Implement audiobusio and enhance PIO for itScott Shawcroft
This adds I2SOut and PDMIn support via PIO. StateMachines can now: * read and read while writing * transfer in 1, 2 or 4 byte increments * init pins based on expected defaults automatically * be stopped and restarted * rxfifo can be cleared and rxstalls detected (good for tracking when the reading code isn't keeping up) Fixes #4162
2021-02-22More parensScott Shawcroft
2021-02-22Board specific flash sizes for RP2040Scott Shawcroft
Stop-gap solution for #4041. Comment is there to provide info needed in the future. (We currently run the generic "safe" settings.)
2021-02-09Add PWM based audio playbackScott Shawcroft
See https://learn.adafruit.com/circuitpython-essentials/circuitpython-audio-out to get started. Fixes #4037
2021-02-04raspberrypi: implement reset, reset_to_bootloaderJeff Epler
This makes all the following work: * normal microcontroller.reset() * reset into safe mode or UF2 bootloader via microcontroller.on_next_reset() * reset into UF2 bootloader via the "1200 baud trick" The implementation of reset_cpu is from micropython.
2021-02-02rtc implementation for rp2040microDev
2021-01-21Switch to upstream TinyUSBScott 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