Skip to content

Commit 411d665

Browse files
agattidpgeorge
authored andcommitted
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 <[email protected]>
1 parent 1b10cb8 commit 411d665

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extmod/modplatform.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@
8383
#elif defined(__NEWLIB__)
8484
#define MICROPY_PLATFORM_LIBC_LIB "newlib"
8585
#define MICROPY_PLATFORM_LIBC_VER _NEWLIB_VERSION
86+
#elif defined(_PICOLIBC__)
87+
#define MICROPY_PLATFORM_LIBC_LIB "picolibc"
88+
#define MICROPY_PLATFORM_LIBC_VER _PICOLIBC_VERSION
8689
#else
8790
#define MICROPY_PLATFORM_LIBC_LIB ""
8891
#define MICROPY_PLATFORM_LIBC_VER ""

0 commit comments

Comments
 (0)