Skip to content

Commit 53b3813

Browse files
Removing integrated libc and libm, using the ones from picolibc
1 parent 455143e commit 53b3813

File tree

5 files changed

+2
-0
lines changed

5 files changed

+2
-0
lines changed

Makefile.defines

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ LDFLAGS += --target=armv6m-none-eabi -mthumb
114114
LDFLAGS += -mtune=cortex-m0plus -mlittle-endian -mcpu=cortex-m0plus
115115
LDFLAGS += -nostdlib -nodefaultlibs #-nostartfiles
116116
LDFLAGS += -mno-movt
117+
LDFLAGS += -L$(SYSROOT)/lib/thumb/v7-m/nofp/
117118
LDFLAGS += -L$(BOLOS_SDK)/arch/st33/lib/
118119
AFLAGS += -mcpu=cortex-m0plus -mthumb
119120
endif
@@ -125,6 +126,7 @@ LDFLAGS += --target=armv8m-none-eabi
125126
LDFLAGS += -mcpu=cortex-m35p+nodsp -mlittle-endian
126127
LDFLAGS += -nostdlib -nodefaultlibs #-nostartfiles
127128
LDFLAGS += -mno-movt
129+
LDFLAGS += -L$(SYSROOT)/lib/thumb/v8-m.main/nofp/
128130
LDFLAGS += -L$(BOLOS_SDK)/arch/st33k1/lib/
129131
AFLAGS += -mcpu=cortex-m35p+nodsp -mthumb
130132
endif

arch/st33/lib/libc.a

-1.08 MB
Binary file not shown.

arch/st33/lib/libm.a

-531 KB
Binary file not shown.

arch/st33k1/lib/libc.a

-959 KB
Binary file not shown.

arch/st33k1/lib/libm.a

-551 KB
Binary file not shown.

0 commit comments

Comments
 (0)