summaryrefslogtreecommitdiff
path: root/ports/raspberrypi/supervisor/internal_flash.c
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-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-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