Skip to content

Commit a5dd399

Browse files
Fixing SYSROOT to picolibc path
1 parent cf81182 commit a5dd399

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
@@ -53,8 +53,9 @@ endif
5353
SYSROOT = $(shell $(GCCPATH)arm-none-eabi-gcc -print-sysroot)
5454
ifeq ($(SYSROOT),)
5555
# path for Debian-based systems
56-
SYSROOT = /usr/lib/arm-none-eabi
56+
SYSROOT = /usr/lib/picolibc/arm-none-eabi
5757
endif
58+
5859
CFLAGS += --sysroot="$(SYSROOT)"
5960

6061
# optimization and debugging levels

0 commit comments

Comments
 (0)