Added more warning CFLAGS to all makefiles.
This commit is contained in:
parent
c51e01e0fe
commit
b0233ae6fb
@ -36,7 +36,11 @@ $(info We seem to be building the example in the source directory. Using local l
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -O0 -g3 -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
|
CFLAGS += -O0 -g3 \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I$(TOOLCHAIN_DIR)/include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -MD -DLM3S
|
-mcpu=cortex-m3 -mthumb -MD -DLM3S
|
||||||
LDSCRIPT ?= $(BINARY).ld
|
LDSCRIPT ?= $(BINARY).ld
|
||||||
LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \
|
LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \
|
||||||
|
@ -37,7 +37,11 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ARCH_FLAGS = -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
ARCH_FLAGS = -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||||
CFLAGS += -O0 -g3 -Wall -Wextra -I$(TOOLCHAIN_DIR)/include \
|
CFLAGS += -O0 -g3 \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I$(TOOLCHAIN_DIR)/include \
|
||||||
-fno-common $(ARCH_FLAGS) -MD -DLM4F
|
-fno-common $(ARCH_FLAGS) -MD -DLM4F
|
||||||
LDSCRIPT ?= $(BINARY).ld
|
LDSCRIPT ?= $(BINARY).ld
|
||||||
LDFLAGS += --static -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group \
|
LDFLAGS += --static -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group \
|
||||||
|
@ -36,7 +36,11 @@ $(info We seem to be building the example in the source directory. Using local l
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
|
CFLAGS += -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I$(TOOLCHAIN_DIR)/include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -MD -DLPC13XX
|
-mcpu=cortex-m3 -mthumb -MD -DLPC13XX
|
||||||
LDSCRIPT ?= $(BINARY).ld
|
LDSCRIPT ?= $(BINARY).ld
|
||||||
LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \
|
LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \
|
||||||
|
@ -36,7 +36,11 @@ $(info We seem to be building the example in the source directory. Using local l
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -O0 -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
|
CFLAGS += -O0 -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I$(TOOLCHAIN_DIR)/include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -MD -DLPC17XX
|
-mcpu=cortex-m3 -mthumb -MD -DLPC17XX
|
||||||
LDSCRIPT ?= $(BINARY).ld
|
LDSCRIPT ?= $(BINARY).ld
|
||||||
LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \
|
LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \
|
||||||
|
@ -39,7 +39,11 @@ $(info We seem to be building the example in the source directory. Using local l
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -O2 -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
|
CFLAGS += -O2 -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I$(TOOLCHAIN_DIR)/include -fno-common \
|
||||||
-mcpu=cortex-m4 -mthumb -MD \
|
-mcpu=cortex-m4 -mthumb -MD \
|
||||||
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -DLPC43XX
|
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -DLPC43XX
|
||||||
LDSCRIPT ?= $(BINARY).ld
|
LDSCRIPT ?= $(BINARY).ld
|
||||||
|
@ -38,7 +38,11 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ARCH_FLAGS = -mthumb -mcpu=cortex-m3 -msoft-float
|
ARCH_FLAGS = -mthumb -mcpu=cortex-m3 -msoft-float
|
||||||
CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include \
|
CFLAGS += -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I$(TOOLCHAIN_DIR)/include \
|
||||||
-fno-common $(ARCH_FLAGS) -MD -DSTM32F1
|
-fno-common $(ARCH_FLAGS) -MD -DSTM32F1
|
||||||
LDSCRIPT ?= $(BINARY).ld
|
LDSCRIPT ?= $(BINARY).ld
|
||||||
LDFLAGS += --static -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group \
|
LDFLAGS += --static -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group \
|
||||||
|
@ -38,7 +38,11 @@ $(info We seem to be building the example in the source directory. Using local l
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include \
|
CFLAGS += -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I$(TOOLCHAIN_DIR)/include \
|
||||||
-fno-common -mcpu=cortex-m3 -mthumb -msoft-float -MD -DSTM32F2
|
-fno-common -mcpu=cortex-m3 -mthumb -msoft-float -MD -DSTM32F2
|
||||||
LDSCRIPT ?= $(BINARY).ld
|
LDSCRIPT ?= $(BINARY).ld
|
||||||
LDFLAGS += --static -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group \
|
LDFLAGS += --static -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group \
|
||||||
|
@ -39,7 +39,11 @@ $(info We seem to be building the example in the source directory. Using local l
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include \
|
CFLAGS += -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I$(TOOLCHAIN_DIR)/include \
|
||||||
-fno-common -mcpu=cortex-m4 -mthumb \
|
-fno-common -mcpu=cortex-m4 -mthumb \
|
||||||
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -DSTM32F4
|
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -DSTM32F4
|
||||||
LDSCRIPT ?= $(BINARY).ld
|
LDSCRIPT ?= $(BINARY).ld
|
||||||
|
@ -38,7 +38,11 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ARCH_FLAGS = -mthumb -mcpu=cortex-m3 -msoft-float
|
ARCH_FLAGS = -mthumb -mcpu=cortex-m3 -msoft-float
|
||||||
CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include \
|
CFLAGS += -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I$(TOOLCHAIN_DIR)/include \
|
||||||
-fno-common $(ARCH_FLAGS) -MD -DSTM32L1
|
-fno-common $(ARCH_FLAGS) -MD -DSTM32L1
|
||||||
LDSCRIPT ?= $(BINARY).ld
|
LDSCRIPT ?= $(BINARY).ld
|
||||||
LDFLAGS += --static -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group \
|
LDFLAGS += --static -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group \
|
||||||
|
@ -25,7 +25,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
#PREFIX ?= arm-elf
|
#PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
|
CFLAGS = -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../../include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
|
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
|
||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
|
@ -25,7 +25,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
#PREFIX ?= arm-elf
|
#PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
|
CFLAGS = -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../../include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
|
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
|
||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
|
@ -25,7 +25,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
#PREFIX ?= arm-elf
|
#PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
|
CFLAGS = -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../../include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
|
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
|
||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
|
@ -25,7 +25,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
#PREFIX ?= arm-elf
|
#PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
|
CFLAGS = -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../../include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
|
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
|
||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
|
@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
#PREFIX ?= arm-elf
|
#PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \
|
CFLAGS = -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -DLM3S
|
-ffunction-sections -fdata-sections -MD -DLM3S
|
||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
|
@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
#PREFIX ?= arm-elf
|
#PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \
|
CFLAGS = -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../include -fno-common \
|
||||||
-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -Wstrict-prototypes \
|
-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -DLM4F
|
-ffunction-sections -fdata-sections -MD -DLM4F
|
||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
|
@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
#PREFIX ?= arm-elf
|
#PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \
|
CFLAGS = -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -DLPC13XX
|
-ffunction-sections -fdata-sections -MD -DLPC13XX
|
||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
|
@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
#PREFIX ?= arm-elf
|
#PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -O0 -g -Wall -Wextra -I../../include -fno-common \
|
CFLAGS = -O0 -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -DLPC17XX
|
-ffunction-sections -fdata-sections -MD -DLPC17XX
|
||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
|
@ -25,7 +25,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
#PREFIX ?= arm-elf
|
#PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -O2 -g3 -Wall -Wextra -I../../include -fno-common \
|
CFLAGS = -O2 -g3 \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../include -fno-common \
|
||||||
-mcpu=cortex-m4 -mthumb -Wstrict-prototypes \
|
-mcpu=cortex-m4 -mthumb -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD \
|
-ffunction-sections -fdata-sections -MD \
|
||||||
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -DLPC43XX
|
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -DLPC43XX
|
||||||
|
@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
#PREFIX ?= arm-elf
|
#PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
|
CFLAGS = -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../../include -fno-common \
|
||||||
-mcpu=cortex-m3 -msoft-float -mthumb -Wstrict-prototypes \
|
-mcpu=cortex-m3 -msoft-float -mthumb -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -DSTM32F1
|
-ffunction-sections -fdata-sections -MD -DSTM32F1
|
||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
|
@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
# PREFIX ?= arm-elf
|
# PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
|
CFLAGS = -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../../include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -DSTM32F2
|
-ffunction-sections -fdata-sections -MD -DSTM32F2
|
||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
|
@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
# PREFIX ?= arm-elf
|
# PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
|
CFLAGS = -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../../include -fno-common \
|
||||||
-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 \
|
-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 \
|
||||||
-Wstrict-prototypes \
|
-Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -DSTM32F4
|
-ffunction-sections -fdata-sections -MD -DSTM32F4
|
||||||
|
@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
|
|||||||
#PREFIX ?= arm-elf
|
#PREFIX ?= arm-elf
|
||||||
CC = $(PREFIX)-gcc
|
CC = $(PREFIX)-gcc
|
||||||
AR = $(PREFIX)-ar
|
AR = $(PREFIX)-ar
|
||||||
CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
|
CFLAGS = -Os -g \
|
||||||
|
-Wall -Wextra -Wimplicit-function-declaration \
|
||||||
|
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||||
|
-Wundef -Wshadow \
|
||||||
|
-I../../../include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
|
||||||
-ffunction-sections -fdata-sections -MD -DSTM32L1
|
-ffunction-sections -fdata-sections -MD -DSTM32L1
|
||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
|
Loading…
x
Reference in New Issue
Block a user