aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/efm32/efm32g/Makefile6
-rw-r--r--lib/efm32/efm32gg/Makefile6
-rw-r--r--lib/efm32/efm32lg/Makefile6
-rw-r--r--lib/efm32/efm32tg/Makefile6
-rw-r--r--lib/lm3s/Makefile6
-rw-r--r--lib/lm4f/Makefile6
-rw-r--r--lib/lpc13xx/Makefile6
-rw-r--r--lib/lpc17xx/Makefile6
-rw-r--r--lib/lpc43xx/Makefile6
-rw-r--r--lib/stm32/f1/Makefile6
-rw-r--r--lib/stm32/f2/Makefile6
-rw-r--r--lib/stm32/f4/Makefile6
-rw-r--r--lib/stm32/l1/Makefile6
13 files changed, 65 insertions, 13 deletions
diff --git a/lib/efm32/efm32g/Makefile b/lib/efm32/efm32g/Makefile
index 1dd4485..4eb4cdb 100644
--- a/lib/efm32/efm32g/Makefile
+++ b/lib/efm32/efm32g/Makefile
@@ -25,7 +25,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
# ARFLAGS = rcsv
diff --git a/lib/efm32/efm32gg/Makefile b/lib/efm32/efm32gg/Makefile
index 2407859..3461076 100644
--- a/lib/efm32/efm32gg/Makefile
+++ b/lib/efm32/efm32gg/Makefile
@@ -25,7 +25,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
# ARFLAGS = rcsv
diff --git a/lib/efm32/efm32lg/Makefile b/lib/efm32/efm32lg/Makefile
index 9b6343c..7765d08 100644
--- a/lib/efm32/efm32lg/Makefile
+++ b/lib/efm32/efm32lg/Makefile
@@ -25,7 +25,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
# ARFLAGS = rcsv
diff --git a/lib/efm32/efm32tg/Makefile b/lib/efm32/efm32tg/Makefile
index 605438a..25c9464 100644
--- a/lib/efm32/efm32tg/Makefile
+++ b/lib/efm32/efm32tg/Makefile
@@ -25,7 +25,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD -D$(FAMILY)
# ARFLAGS = rcsv
diff --git a/lib/lm3s/Makefile b/lib/lm3s/Makefile
index 6fc814d..fd5aa0c 100644
--- a/lib/lm3s/Makefile
+++ b/lib/lm3s/Makefile
@@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD -DLM3S
# ARFLAGS = rcsv
diff --git a/lib/lm4f/Makefile b/lib/lm4f/Makefile
index a3b7dce..d00025b 100644
--- a/lib/lm4f/Makefile
+++ b/lib/lm4f/Makefile
@@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD -DLM4F
# ARFLAGS = rcsv
diff --git a/lib/lpc13xx/Makefile b/lib/lpc13xx/Makefile
index 15bc686..9f78020 100644
--- a/lib/lpc13xx/Makefile
+++ b/lib/lpc13xx/Makefile
@@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD -DLPC13XX
# ARFLAGS = rcsv
diff --git a/lib/lpc17xx/Makefile b/lib/lpc17xx/Makefile
index 19fc152..cbd4252 100644
--- a/lib/lpc17xx/Makefile
+++ b/lib/lpc17xx/Makefile
@@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD -DLPC17XX
# ARFLAGS = rcsv
diff --git a/lib/lpc43xx/Makefile b/lib/lpc43xx/Makefile
index efbba0d..b35156c 100644
--- a/lib/lpc43xx/Makefile
+++ b/lib/lpc43xx/Makefile
@@ -25,7 +25,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD \
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -DLPC43XX
diff --git a/lib/stm32/f1/Makefile b/lib/stm32/f1/Makefile
index ba0d4b8..bd63755 100644
--- a/lib/stm32/f1/Makefile
+++ b/lib/stm32/f1/Makefile
@@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD -DSTM32F1
# ARFLAGS = rcsv
diff --git a/lib/stm32/f2/Makefile b/lib/stm32/f2/Makefile
index 85e6458..8d1c623 100644
--- a/lib/stm32/f2/Makefile
+++ b/lib/stm32/f2/Makefile
@@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
# PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD -DSTM32F2
# ARFLAGS = rcsv
diff --git a/lib/stm32/f4/Makefile b/lib/stm32/f4/Makefile
index 96e4420..233619c 100644
--- a/lib/stm32/f4/Makefile
+++ b/lib/stm32/f4/Makefile
@@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
# PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-Wstrict-prototypes \
-ffunction-sections -fdata-sections -MD -DSTM32F4
diff --git a/lib/stm32/l1/Makefile b/lib/stm32/l1/Makefile
index 9b677ab..e081daf 100644
--- a/lib/stm32/l1/Makefile
+++ b/lib/stm32/l1/Makefile
@@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
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 \
-ffunction-sections -fdata-sections -MD -DSTM32L1
# ARFLAGS = rcsv