Skip to content

Commit 94b820b

Browse files
Removing integrated libc and libm, using the ones from picolibc
1 parent a5dd399 commit 94b820b

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
@@ -108,13 +108,15 @@ endif
108108
ifeq ($(TARGET_NAME),TARGET_NANOX)
109109
CPU = cortex-m0plus
110110
CFLAGS += -frwpi
111+
LDFLAGS += -L$(SYSROOT)/lib/thumb/v7-m/nofp/
111112
LDFLAGS += -L$(BOLOS_SDK)/arch/st33/lib/
112113
endif
113114

114115
ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_STAX TARGET_FLEX TARGET_NANOS2))
115116
CPU = cortex-m35p+nodsp
116117
CFLAGS += -msoft-float
117118
CFLAGS += -frwpi
119+
LDFLAGS += -L$(SYSROOT)/lib/thumb/v8-m.main/nofp/
118120
LDFLAGS += -L$(BOLOS_SDK)/arch/st33k1/lib/
119121
endif
120122

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)