diff --git a/ports/rp2/CMakeLists.txt b/ports/rp2/CMakeLists.txt index d6a428c91c..0088ba2c6d 100644 --- a/ports/rp2/CMakeLists.txt +++ b/ports/rp2/CMakeLists.txt @@ -83,6 +83,7 @@ set(MICROPY_SOURCE_LIB ${MICROPY_DIR}/shared/runtime/pyexec.c ${MICROPY_DIR}/shared/runtime/stdout_helpers.c ${MICROPY_DIR}/shared/runtime/sys_stdio_mphal.c + ${MICROPY_DIR}/shared/runtime/tinyusb_helpers.c ${MICROPY_DIR}/shared/timeutils/timeutils.c ) diff --git a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h index 6d04e3e1d0..3f18596155 100644 --- a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h +++ b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h @@ -19,6 +19,7 @@ #define MICROPY_HW_USB_MSC (1) #define MICROPY_HW_USB_VID (0x2341) #define MICROPY_HW_USB_PID (0x025e) +#define MICROPY_HW_USB_CDC_1200BPS_TOUCH (1) // UART 1 config. #define MICROPY_HW_UART1_TX (8)