Code:
# Makefile Line 188.
CCFLAGS += \
-g \
-O2 \
-Wpointer-arith \
-Wundef \
-Werror \
-Wl,-EL \
-fno-inline-functions \
-nostdlib \
-mlongcalls \
-mtext-section-literals \
-ffunction-sections \
-fdata-sections \
++++新增部分
-DBOOT=$(BOOT) \
-DAPP=$(APP) \
-DSPI_SPEED=$(SPI_SPEED) \
-DSPI_MODE=$(SPI_MODE) \
-DSPI_SIZE_MAP=$(SPI_SIZE_MAP)
++++新增部分结束
# -Wall
Statistics: Posted by alexsunmiu — Thu Jun 18, 2015 9:09 am