syntax: glob
*\.o
*\.d
analysis/*
.settings/*
Debug/*
build/*
*.orig
archive/*
@@ -18,48 +18,49 @@ TARGET = wsprhab-b$(BUILD_NUMBER)
# BUILD_DIR: directory to place output files in
BUILD_DIR = build
# LD_SCRIPT: location of the linker script
LD_SCRIPT = STM32F031G6_FLASH.ld
# USER_DEFS user defined macros
USER_DEFS = -D HSE_VALUE=16000000
USER_DEFS += -D WSPRHAB_BUILD_NUMBER=$(BUILD_NUMBER)
# USER_INCLUDES: user defined includes
USER_INCLUDES =
# USB_INCLUDES: includes for the usb library
# USB_INCLUDES = -IMiddlewares/ST/STM32_USB_Device_Library/Core/Inc
#USB_INCLUDES += -IMiddlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc
SI5351_INCLUDES = -Ilib/si5351
JTENCODE_INCLUDES = -Ilib/jtencode
# USER_CFLAGS: user C flags (enable warnings, enable debug info)
USER_CFLAGS = -Wall -g -ffunction-sections -fdata-sections -Os -fno-common --function-sections -fdata-sections
#USER_CFLAGS += -flto
USER_CFLAGS += --specs=nano.specs
# USER_LDFLAGS: user LD flags
USER_LDFLAGS = -fno-exceptions -ffunction-sections -fdata-sections -Wl,--gc-sections
USER_LDFLAGS += -flto
USER_LDFLAGS += --static
#USER_LDFLAGS += -nostartfiles
# TARGET_DEVICE: device to compile for
TARGET_DEVICE = STM32F031x6
#######################################
# end of user configuration
#
# binaries
CC = arm-none-eabi-gcc
AR = arm-none-eabi-ar
RANLIB = arm-none-eabi-ranlib
SIZE = arm-none-eabi-size
OBJCOPY = arm-none-eabi-objcopy
MKDIR = mkdir -p
Status change: