diff options
-rw-r--r-- | ports/rp2/mpconfigport.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/rp2/mpconfigport.h b/ports/rp2/mpconfigport.h index b34b4fc09..80fe9f37c 100644 --- a/ports/rp2/mpconfigport.h +++ b/ports/rp2/mpconfigport.h @@ -35,7 +35,16 @@ #include "mpconfigboard.h" // Board and hardware specific configuration +#if PICO_RP2040 #define MICROPY_HW_MCU_NAME "RP2040" +#elif PICO_RP2350 && PICO_ARM +#define MICROPY_HW_MCU_NAME "RP2350" +#elif PICO_RP2350 && PICO_RISCV +#define MICROPY_HW_MCU_NAME "RP2350-RISCV" +#else +#error Unknown MCU +#endif + #ifndef MICROPY_HW_ENABLE_UART_REPL #define MICROPY_HW_ENABLE_UART_REPL (0) // useful if there is no USB #endif |