mirror of
https://github.com/opentx/opentx.git
synced 2025-07-22 07:45:14 +03:00
[Sky9x] Linker error (no newlib-nano needed, no _sbrk)
This commit is contained in:
parent
056d915d37
commit
23b2602f41
1 changed files with 6 additions and 6 deletions
|
@ -722,6 +722,12 @@ ifeq ($(PCB), TARANIS)
|
|||
EXTRABOARDSRC += targets/taranis/usbd_storage_msd.cpp
|
||||
endif
|
||||
|
||||
ifeq ($(NANO), YES)
|
||||
# use newlib-nano for linking
|
||||
NEWLIB_NANO_FLAGS = --specs=nano.specs -u _printf_float
|
||||
CPPDEFS += -DNANO
|
||||
endif
|
||||
|
||||
ifneq ($(LUA), NO)
|
||||
ifeq ($(LUA), YES)
|
||||
CPPDEFS += -DLUA_MODEL_SCRIPTS
|
||||
|
@ -1120,12 +1126,6 @@ MATH_LIB = -lm
|
|||
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
|
||||
LDFLAGS += $(MATH_LIB)
|
||||
|
||||
ifeq ($(NANO), YES)
|
||||
# use newlib-nano for linking
|
||||
NEWLIB_NANO_FLAGS = --specs=nano.specs -u _printf_float
|
||||
CPPDEFS += -DNANO
|
||||
endif
|
||||
|
||||
# Define Messages
|
||||
# English
|
||||
MSG_BEGIN = -------- begin --------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue