diff options
author | Peter Harper <peter.harper@raspberrypi.com> | 2024-05-22 15:34:32 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-10-15 11:51:56 +1100 |
commit | 815d6a131d81eded59d17aa854eb006ff8c19e2b (patch) | |
tree | b2eb5a130e135bb1bb3b819f2fa146d42cccc3e6 | |
parent | 70a884d6ec7dfec4ef4f18aa1871db4d70a06129 (diff) |
rp2/mpconfigport: Set MCU name for RP2350.
Signed-off-by: Damien George <damien@micropython.org>
-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 |