Browse Source

nrf: Enable optional support for Arduino 1200bps touch.

Individual boards must enable it via MICROPY_HW_USB_CDC_1200BPS_TOUCH.
pull/8811/head
iabdalkader 3 years ago
committed by Damien George
parent
commit
425d8fc0d6
  1. 1
      ports/nrf/Makefile
  2. 4
      ports/nrf/mpconfigport.h

1
ports/nrf/Makefile

@ -232,6 +232,7 @@ SRC_LIB += $(addprefix shared/,\
runtime/pyexec.c \
runtime/sys_stdio_mphal.c \
runtime/interrupt_char.c \
runtime/tinyusb_helpers.c \
timeutils/timeutils.c \
)

4
ports/nrf/mpconfigport.h

@ -157,6 +157,10 @@
#define MICROPY_MODULE_WEAK_LINKS (1)
#define MICROPY_CAN_OVERRIDE_BUILTINS (1)
#define MICROPY_USE_INTERNAL_ERRNO (1)
#if MICROPY_HW_USB_CDC_1200BPS_TOUCH
#define MICROPY_ENABLE_SCHEDULER (1)
#define MICROPY_SCHEDULER_STATIC_NODES (1)
#endif
#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
#define MICROPY_PY_BUILTINS_MEMORYVIEW (1)

Loading…
Cancel
Save