Skip to content

Commit c299e49

Browse files
Using libc and libm from newlib installation folder
1 parent 55d94c6 commit c299e49

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 += -mtune=cortex-m0plus -mlittle-endian -mcpu=cortex-m0plus
114114
LDFLAGS += -nostdlib -nodefaultlibs #-nostartfiles
115115
LDFLAGS += -mno-movt
116116
LDFLAGS += -L$(BOLOS_SDK)/arch/st33/lib/
117+
LDFLAGS += -L$(SYSROOT)/newlib/thumb/v7-m/nofp/
117118
AFLAGS += -mcpu=cortex-m0plus -mthumb
118119
endif
119120

@@ -125,6 +126,7 @@ LDFLAGS += -mcpu=cortex-m35p+nodsp -mlittle-endian
125126
LDFLAGS += -nostdlib -nodefaultlibs #-nostartfiles
126127
LDFLAGS += -mno-movt
127128
LDFLAGS += -L$(BOLOS_SDK)/arch/st33k1/lib/
129+
LDFLAGS += -L$(SYSROOT)/newlib/thumb/v8-m.main+dp/softfp/
128130
AFLAGS += -mcpu=cortex-m35p+nodsp -mthumb
129131
endif
130132

arch/st33/lib/libc.a

-5.43 MB
Binary file not shown.

arch/st33/lib/libm.a

-1.11 KB
Binary file not shown.

arch/st33k1/lib/libc.a

-5.42 MB
Binary file not shown.

arch/st33k1/lib/libm.a

-1.11 KB
Binary file not shown.

0 commit comments

Comments
 (0)