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 <a.gatti@frob.it>
This commit is contained in:
Alessandro Gatti 2024-06-10 10:02:36 +02:00 committed by Damien George
parent 1b10cb843c
commit 411d66586c

View File

@ -83,6 +83,9 @@
#elif defined(__NEWLIB__) #elif defined(__NEWLIB__)
#define MICROPY_PLATFORM_LIBC_LIB "newlib" #define MICROPY_PLATFORM_LIBC_LIB "newlib"
#define MICROPY_PLATFORM_LIBC_VER _NEWLIB_VERSION #define MICROPY_PLATFORM_LIBC_VER _NEWLIB_VERSION
#elif defined(_PICOLIBC__)
#define MICROPY_PLATFORM_LIBC_LIB "picolibc"
#define MICROPY_PLATFORM_LIBC_VER _PICOLIBC_VERSION
#else #else
#define MICROPY_PLATFORM_LIBC_LIB "" #define MICROPY_PLATFORM_LIBC_LIB ""
#define MICROPY_PLATFORM_LIBC_VER "" #define MICROPY_PLATFORM_LIBC_VER ""