circuitpython/supervisor
Scott Shawcroft 5d2b60cbf6
Redo RP2040 flash settings
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-18 16:55:42 -07:00
..
messages Support internationalisation. 2018-08-07 14:58:57 -07:00
shared Redo RP2040 flash settings 2021-03-18 16:55:42 -07:00
stub run code formatting script 2021-03-15 19:27:36 +05:30
background_callback.h background_callback: Add gc collect callback 2020-07-17 08:36:26 -05:00
board.h Add board_deinit for use with sleep 2020-12-08 10:52:25 -08:00
cpu.h Mark pointers in cpu registers as in use. 2018-07-03 05:45:50 -07:00
filesystem.h flush flash filesystem once a second 2019-03-20 12:21:36 -04:00
flash_root_pointers.h Automatically count EXTERNAL_FLASH_DEVICES (mk2) 2021-03-07 12:51:47 -06:00
flash.h Redo RP2040 flash settings 2021-03-18 16:55:42 -07:00
linker.h Redo RP2040 flash settings 2021-03-18 16:55:42 -07:00
memory.h run code formatting script 2021-03-15 19:27:36 +05:30
port.h run code formatting script 2021-03-15 19:27:36 +05:30
serial.h run code formatting script 2021-03-15 19:27:36 +05:30
spi_flash_api.h run code formatting script 2021-03-15 19:27:36 +05:30
supervisor.mk Redo RP2040 flash settings 2021-03-18 16:55:42 -07:00
usb.h add usb_background_schedule() 2021-02-04 16:00:14 +07:00
workflow.h Start tweaking the workflow to sleep 2020-10-27 17:55:03 -07:00