aboutsummaryrefslogtreecommitdiff
path: root/Drivers/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-11-11 14:46:28 -0500
committerPaul Selkirk <paul@psgd.org>2015-11-11 14:46:28 -0500
commit4c6b056b8467bb6513224527ff3120ef905de397 (patch)
treebb2cc71ae6931dce7327af54b17f42591aa16f75 /Drivers/Makefile
parentdf8f45c0d06e64b3901f1cce4e74cbde038737f2 (diff)
Lots of cleanup.
Clean up and simplify(?) Makefile. Add copyrights as needed. Add include guard to stm-fmc.h. Move MX_USART2_UART_Init back to stm-init.c for possible copyright reasons. Move libc, src, and include files to top level.
Diffstat (limited to 'Drivers/Makefile')
-rw-r--r--Drivers/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Drivers/Makefile b/Drivers/Makefile
index 376eac0..29aae70 100644
--- a/Drivers/Makefile
+++ b/Drivers/Makefile
@@ -6,20 +6,20 @@ AR=arm-none-eabi-ar
vpath %.c STM32F4xx_HAL_Driver/Src
# Default STDPERIPH_SETTINGS to settings suitable for STM32F429BIT6 (dev-bridge rev01)
-STDPERIPH_SETTINGS ?= -DUSE_STDPERIPH_DRIVER -DSTM32F4XX -DSTM32F429xx
+#STDPERIPH_SETTINGS ?= -DUSE_STDPERIPH_DRIVER -DSTM32F4XX -DSTM32F429xx
-CFLAGS = -ggdb -O2 -Wall -Wextra -Warray-bounds
-CFLAGS += -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork
-CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
-CFLAGS += $(STDPERIPH_SETTINGS)
-CFLAGS += -ICMSIS/Include -ICMSIS/Device/ST/STM32F4xx/Include -ISTM32F4xx_HAL_Driver/Inc
+#CFLAGS += -ggdb -O2 -Wall -Wextra -Warray-bounds
+#CFLAGS += -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork
+#CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
+#CFLAGS += -ICMSIS/Include -ICMSIS/Device/ST/STM32F4xx/Include -ISTM32F4xx_HAL_Driver/Inc
+#CFLAGS += $(STDPERIPH_SETTINGS)
-SRCS = stm32f4xx_hal.c stm32f4xx_hal_msp_template.c \
+SRCS = stm32f4xx_hal.c stm32f4xx_hal_msp_template.c \
stm32f4xx_hal_adc.c stm32f4xx_hal_nand.c \
stm32f4xx_hal_adc_ex.c stm32f4xx_hal_nor.c \
stm32f4xx_hal_can.c stm32f4xx_hal_pccard.c \
stm32f4xx_hal_cortex.c stm32f4xx_hal_pcd.c \
- stm32f4xx_hal_crc.c stm32f4xx_hal_pwr.c \
+ stm32f4xx_hal_crc.c stm32f4xx_hal_pwr.c \
stm32f4xx_hal_cryp.c stm32f4xx_hal_pwr_ex.c \
stm32f4xx_hal_cryp_ex.c stm32f4xx_hal_rcc.c \
stm32f4xx_hal_dac.c stm32f4xx_hal_rcc_ex.c \