diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2021-03-04 13:12:24 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2021-03-18 16:55:42 -0700 |
| commit | 5d2b60cbf69c99abd6984c298d4f052514221177 (patch) | |
| tree | 381adffaf4aa37a641418bcb2a8e6940ce956258 /.gitmodules | |
| parent | 25895153422da1bd3d05f50e4c35ea408f9e4d28 (diff) | |
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
Diffstat (limited to '.gitmodules')
| -rw-r--r-- | .gitmodules | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules index 99de2c918..52abb02a9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -173,4 +173,8 @@ url = https://github.com/adafruit/Adafruit_CircuitPython_LC709203F [submodule "ports/raspberrypi/sdk"] path = ports/raspberrypi/sdk - url = https://github.com/raspberrypi/pico-sdk.git + url = https://github.com/adafruit/pico-sdk.git +[submodule "data/nvm.toml"] + path = data/nvm.toml + url = https://github.com/adafruit/nvm.toml.git + branch = main |
