34 lines
1.2 KiB
Makefile
Executable File
34 lines
1.2 KiB
Makefile
Executable File
#This file is generated by VisualGDB.
|
|
#It contains GCC settings automatically derived from the board support package (BSP).
|
|
#DO NOT EDIT MANUALLY. THE FILE WILL BE OVERWRITTEN.
|
|
#Use VisualGDB Project Properties dialog or modify Makefile or per-configuration .mak files instead.
|
|
|
|
#VisualGDB provides BSP_ROOT and TOOLCHAIN_ROOT via environment when running Make. The line below will only be active if GNU Make is started manually.
|
|
BSP_ROOT ?= $(LOCALAPPDATA)/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32
|
|
EFP_BASE ?= $(LOCALAPPDATA)/VisualGDB/EmbeddedEFPs
|
|
TOOLCHAIN_ROOT ?= C:/Program Files (x86)/GNU Tools ARM Embedded/5.4 2016q2
|
|
|
|
#Embedded toolchain
|
|
CC := $(TOOLCHAIN_ROOT)/bin/arm-none-eabi-gcc.exe
|
|
CXX := $(TOOLCHAIN_ROOT)/bin/arm-none-eabi-g++.exe
|
|
LD := $(CXX)
|
|
AR := $(TOOLCHAIN_ROOT)/bin/arm-none-eabi-ar.exe
|
|
OBJCOPY := $(TOOLCHAIN_ROOT)/bin/arm-none-eabi-objcopy.exe
|
|
|
|
#Additional flags
|
|
PREPROCESSOR_MACROS += ARM_MATH_CM3 STM32F103CB
|
|
INCLUDE_DIRS += .
|
|
LIBRARY_DIRS +=
|
|
LIBRARY_NAMES +=
|
|
ADDITIONAL_LINKER_INPUTS +=
|
|
MACOS_FRAMEWORKS +=
|
|
LINUX_PACKAGES +=
|
|
|
|
CFLAGS +=
|
|
CXXFLAGS +=
|
|
ASFLAGS +=
|
|
LDFLAGS +=
|
|
COMMONFLAGS += -mcpu=cortex-m3 -mthumb
|
|
LINKER_SCRIPT := $(BSP_ROOT)/STM32F1xxxx/LinkerScripts/STM32F103CB_flash.lds
|
|
|