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