STM32F4DoorControl/Makefile

16 lines
317 B
Makefile
Raw Normal View History

2021-01-31 18:26:40 +00:00
OOCD ?= openocd
OOCD_INTERFACE ?= stlink-v2
OOCD_TARGET ?= stm32f4x
BMP_PORT ?= /dev/ttyBmpGdb
2021-02-13 19:39:00 +00:00
CFLAGS=-g -O2 -std=c99 -pedantic -Wall
CXXFLAGS=-g -O2 -std=c++17 -pedantic -Wall
2021-01-31 18:26:40 +00:00
2021-02-13 19:39:00 +00:00
OBJS = usb.o adc.o ringbuffer.o uart.o
2021-01-31 18:26:40 +00:00
BINARY ?= main
DEVICE=STM32F405RG
2021-02-13 19:39:00 +00:00
#DEVICE=STM32F411CE
2021-01-31 18:26:40 +00:00
include ../rules.mk