extend stack areas to enable logging

add dummy functions to avoid warnings when logging is enable
remove codes regarding OPTLIB
This commit is contained in:
kkitayam
2021-07-01 00:19:03 +09:00
parent 9b3ec69b27
commit ea9ec1fb43
6 changed files with 64 additions and 43 deletions
+1 -19
View File
@@ -11,25 +11,7 @@ CFLAGS += \
-fdata-sections \
-fshort-enums \
-mlittle-endian-data \
RX_NEWLIB ?= 1
ifeq ($(CMDEXE),1)
OPTLIBINC="$(shell for /F "usebackq delims=" %%i in (`where rx-elf-gcc`) do echo %%~dpi..\rx-elf\optlibinc)"
else
OPTLIBINC=$(shell dirname `which rx-elf-gcc`)../rx-elf/optlibinc
endif
ifeq ($(RX_NEWLIB),1)
CFLAGS += -DSSIZE_MAX=__INT_MAX__
else
# setup for optlib
CFLAGS += -nostdinc \
-isystem $(OPTLIBINC) \
-DLWIP_NO_INTTYPES_H
LIBS += -loptc -loptm
endif
-DSSIZE_MAX=__INT_MAX__
SRC_C += \
src/portable/renesas/usba/dcd_usba.c \