tune Makefile
This commit is contained in:
23
Makefile
23
Makefile
@ -1,20 +1,11 @@
|
||||
WIZCHIP=W5500
|
||||
ENABLE_DHCP=yes
|
||||
ENABLE_DNS=yes
|
||||
ENABLE_HTTPSERVER=yes
|
||||
ENABLE_MQTT=yes
|
||||
ENABLE_SNTP=yes
|
||||
WIZCHIP?=W5500
|
||||
ENABLE_DHCP?=yes
|
||||
ENABLE_DNS?=yes
|
||||
ENABLE_HTTPSERVER?=yes
|
||||
ENABLE_MQTT?=yes
|
||||
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
|
||||
CFLAGS?=-mcpu=cortex-m3 -mthumb -Og -fdata-sections -ffunction-sections -g -gdwarf-2
|
||||
|
||||
CC=arm-none-eabi-gcc
|
||||
AR=arm-none-eabi-ar
|
||||
|
Reference in New Issue
Block a user