From a22d0bda521230f601a146ca11550543fd126233 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Tue, 17 May 2022 12:03:05 +0200 Subject: [PATCH] rp2/boards/ARDUINO_NANO_RP2040_CONNECT: Disable internal errno. * Internal errno can't be used with Nina module due to an issue with esp-idf config. --- ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h index 25eca725ab..2b9b1471ef 100644 --- a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h +++ b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h @@ -8,6 +8,9 @@ #define MICROPY_PY_NETWORK (1) #define MICROPY_PY_USOCKET (1) +// Disable internal error numbers. +#define MICROPY_USE_INTERNAL_ERRNO (0) + // Enable USB Mass Storage with FatFS filesystem. #define MICROPY_HW_USB_MSC (1) #define MICROPY_HW_USB_VID (0x2341)