rp2/mpconfigport: Set MCU name for RP2350.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Peter Harper 2024-05-22 15:34:32 +01:00 committed by Damien George
parent 70a884d6ec
commit 815d6a131d
1 changed files with 9 additions and 0 deletions

View File

@ -35,7 +35,16 @@
#include "mpconfigboard.h" #include "mpconfigboard.h"
// Board and hardware specific configuration // Board and hardware specific configuration
#if PICO_RP2040
#define MICROPY_HW_MCU_NAME "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 #ifndef MICROPY_HW_ENABLE_UART_REPL
#define MICROPY_HW_ENABLE_UART_REPL (0) // useful if there is no USB #define MICROPY_HW_ENABLE_UART_REPL (0) // useful if there is no USB
#endif #endif