OOCD ?= openocd OOCD_INTERFACE ?= stlink-v2 OOCD_TARGET ?= stm32f4x BMP_PORT ?= /dev/ttyBmpGdb CFLAGS=-g -O2 -std=c99 -pedantic -Wall CXXFLAGS=-g -O2 -std=c++17 -pedantic -Wall OBJS = usb.o adc.o ringbuffer.o uart.o BINARY ?= main DEVICE=STM32F405RG #DEVICE=STM32F411CE include ../rules.mk