From 411d66586c0979d441404f8f68d7557aa8151c6a Mon Sep 17 00:00:00 2001 From: Alessandro Gatti Date: Mon, 10 Jun 2024 10:02:36 +0200 Subject: [PATCH] extmod/modplatform: Add picolibc to the recognised libcs list. This adds picolibc to the list of the recognised libc options. Signed-off-by: Alessandro Gatti --- extmod/modplatform.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extmod/modplatform.h b/extmod/modplatform.h index 56a50e53c..b932551c7 100644 --- a/extmod/modplatform.h +++ b/extmod/modplatform.h @@ -83,6 +83,9 @@ #elif defined(__NEWLIB__) #define MICROPY_PLATFORM_LIBC_LIB "newlib" #define MICROPY_PLATFORM_LIBC_VER _NEWLIB_VERSION +#elif defined(_PICOLIBC__) +#define MICROPY_PLATFORM_LIBC_LIB "picolibc" +#define MICROPY_PLATFORM_LIBC_VER _PICOLIBC_VERSION #else #define MICROPY_PLATFORM_LIBC_LIB "" #define MICROPY_PLATFORM_LIBC_VER ""