mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Refactor conflicting serial function names
This commit is contained in:
parent
f70d9f3464
commit
726a8d29e2
4 changed files with 67 additions and 29 deletions
33
stm32.mak
Executable file
33
stm32.mak
Executable file
|
@ -0,0 +1,33 @@
|
|||
#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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue