added settings for LWIP and FreeRTOS
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
CFLAGS += \
|
CFLAGS += \
|
||||||
-nostartfiles \
|
-nostartfiles \
|
||||||
-nostdinc \
|
|
||||||
-ffunction-sections \
|
-ffunction-sections \
|
||||||
-fdata-sections \
|
-fdata-sections \
|
||||||
-mcpu=rx610 \
|
-mcpu=rx610 \
|
||||||
@@ -17,10 +16,17 @@ else
|
|||||||
OPTLIBINC=$(shell dirname `which rx-elf-gcc`)../rx-elf/optlibinc
|
OPTLIBINC=$(shell dirname `which rx-elf-gcc`)../rx-elf/optlibinc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# mcu driver cause following warnings
|
ifeq ($(RX_NEWLIB),0)
|
||||||
CFLAGS += -isystem $(OPTLIBINC)
|
# setup for optlib
|
||||||
|
CFLAGS += -nostdinc \
|
||||||
|
-isystem $(OPTLIBINC) \
|
||||||
|
-DLWIP_NO_INTTYPES_H
|
||||||
|
|
||||||
LIBS += -loptm -loptc
|
LIBS += -loptc -loptm
|
||||||
|
else
|
||||||
|
# setup for newlib
|
||||||
|
LIBS += -lm
|
||||||
|
endif
|
||||||
|
|
||||||
MCU_DIR = hw/mcu/renesas/rx63n
|
MCU_DIR = hw/mcu/renesas/rx63n
|
||||||
|
|
||||||
|
@@ -218,4 +218,6 @@ uint32_t board_millis(void)
|
|||||||
{
|
{
|
||||||
return system_ticks;
|
return system_ticks;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
uint32_t SystemCoreClock = 96000000;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user