Skip to content

Commit 455143e

Browse files
Fixing SYSROOT to picolibc path
1 parent 5dc14f9 commit 455143e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.defines

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ endif
5151
SYSROOT = $(shell $(GCCPATH)arm-none-eabi-gcc -print-sysroot)
5252
ifeq ($(SYSROOT),)
5353
# path for Debian-based systems
54-
SYSROOT = /usr/lib/arm-none-eabi
54+
SYSROOT = /usr/lib/picolibc/arm-none-eabi
5555
endif
56+
5657
CFLAGS += --sysroot="$(SYSROOT)"
5758

5859
# optimization and debugging levels

0 commit comments

Comments
 (0)