MicroPython 固件:
虽然没人这么做,但是我还是试了下,正常的,通过Thonny灌31M文件进去再读出都是正常,除了速度极慢.
需要修改Micropython相关文件列表.
- ports/rp2/rp2_flash.c
- lib/pico-sdk/src/rp2_common/pico_standard_link/memmap_default.ld
- lib/pico-sdk/src/boards/include/boards/pico.h
构建方法参考
git clone https://www.github.com/micropython/micropython
cd micropython/
make -C mpy-cross/
git submodule update --init -- lib/pico-sdk
git submodule update --init -- lib/tinyusb
cd lib/pico-sdk
git submodule update --init
cd ../..
cd ports/rp2
make BOARD=RPI_PICO submodules
make -j4
picotool info -a build/firmware.uf2