Provide our own newlib libc
Newlib 2.2.0 w/ nan ofeatures, xtensa patches, locking implementation. Built from https://github.com/projectgus/newlib-xtensa branch xtensa-2_2_0-lock commit daa6ae40cdc8099f54c3e68a586fc1b906169c5a For more details, see: https://github.com/SuperHouse/esp-open-rtos/wiki/libc-configuration Closes #1
This commit is contained in:
parent
a566a51c09
commit
689cf874b2
112 changed files with 23413 additions and 0 deletions
|
|
@ -67,6 +67,9 @@ SDK_LIBS ?= main net80211 phy pp wpa
|
|||
# open source libraries linked in
|
||||
LIBS ?= hal gcc c
|
||||
|
||||
# set to 0 if you want to use the toolchain libc instead of esp-open-rtos newlib
|
||||
OWN_LIBC ?= 1
|
||||
|
||||
# Note: this isn't overridable without a not-yet-merged patch to esptool
|
||||
ENTRY_SYMBOL = call_user_start
|
||||
|
||||
|
|
@ -116,6 +119,11 @@ FW_FILE_2 = $(addprefix $(FW_BASE),$(FW_2).bin)
|
|||
# , which is useful for overriding things.
|
||||
INC_DIRS = $(PROGRAM_DIR) $(PROGRAM_DIR)include $(ROOT)include
|
||||
|
||||
ifeq ($(OWN_LIBC),1)
|
||||
INC_DIRS += $(ROOT)libc/xtensa-lx106-elf/include
|
||||
LDFLAGS += -L$(ROOT)libc/xtensa-lx106-elf/lib
|
||||
endif
|
||||
|
||||
ifeq ("$(V)","1")
|
||||
Q :=
|
||||
vecho := @true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue