Hi,
Posting the solution for this problem, which I found in the
Adafruit Forum - Feather RP2040, does MicroPython work? .
The trick is to patch the mpconfigboard.h file, this is the diff of the patch:
Code: Select all
diff --git a/ports/rp2/boards/ADAFRUIT_FEATHER_RP2040/mpconfigboard.h b/ports/rp2/boards/ADAFRUIT_FEATHER_RP2040/mpconfigboard.h
index 5068d3554..2a9694c82 100644
--- a/ports/rp2/boards/ADAFRUIT_FEATHER_RP2040/mpconfigboard.h
+++ b/ports/rp2/boards/ADAFRUIT_FEATHER_RP2040/mpconfigboard.h
@@ -1,3 +1,5 @@
// Board and hardware specific configuration
#define MICROPY_HW_BOARD_NAME "Adafruit Feather RP2040"
-#define MICROPY_HW_FLASH_STORAGE_BYTES (3072 * 1024)
+#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024 + 256 * 1024) // 7.25MB flash
+#undef PICO_FLASH_SIZE_BYTES
+#define PICO_FLASH_SIZE_BYTES (8 * 1024 * 1024)
In my case, even after building the UF2 firmware with the patch, and flashing the board with it, the REPL wouldn't show up.
The trick was to put the
CircuitPython for the Feather RP2040 FW, which erases the flash, then putting patched MicroPython built firmware.
In case you don't want to build it, I included as an attachment a clean firmware I built today. Just unzip it and drag it to the 'flash drive' of the Feather RP2040.