From 181cfae6cc499a859364c2171767b3e49ca3109c Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sun, 8 Nov 2020 16:30:18 +0100 Subject: [PATCH] CFLAGS --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8493333..e4cdb33 100644 --- a/Makefile +++ b/Makefile @@ -7,10 +7,19 @@ ENABLE_SNTP=yes # ===================================================================== + +#arm-none-eabi-gcc -c -mcpu=cortex-m3 -mthumb -DUSE_HAL_DRIVER -DSTM32F103xE +#-Ihottislib -Ilibmbus -IioLibrary_Driver/Ethernet -IUser/Inc -ICore/Inc +#-IDrivers/STM32F1xx_HAL_Driver/Inc -IDrivers/STM32F1xx_HAL_Driver/Inc/Legacy +#-IDrivers/CMSIS/Device/ST/STM32F1xx/Include -IDrivers/CMSIS/Include -IDrivers/CMSIS/Include +#-Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/logger.d" +#-Wa,-a,-ad,-alms=build/logger.lst User/Src/logger.c -o build/logger.o +CFLAGS=-mcpu=cortex-m3 -mthumb -Og -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP + CC=arm-none-eabi-gcc AR=arm-none-eabi-ar -CFLAGS=-iquote Ethernet -Wall -D_WIZCHIP_=$(WIZCHIP) +CFLAGS+=-iquote Ethernet -Wall -D_WIZCHIP_=$(WIZCHIP) OBJDIR=build VPATH=Ethernet:Ethernet/W5500