summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2024-06-10 10:02:36 +0200
committerDamien George <damien@micropython.org>2024-06-17 13:12:54 +1000
commit411d66586c0979d441404f8f68d7557aa8151c6a (patch)
treedec932b5b3c8962dedf545a17d87b51ca418ac70
parent1b10cb843cd678cdf1a6112739a452eec0293fcd (diff)
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>
-rw-r--r--extmod/modplatform.h3
1 files changed, 3 insertions, 0 deletions
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 ""