15 lines
271 B
Makefile
15 lines
271 B
Makefile
|
OOCD ?= openocd
|
||
|
OOCD_INTERFACE ?= stlink-v2
|
||
|
OOCD_TARGET ?= stm32f4x
|
||
|
BMP_PORT ?= /dev/ttyBmpGdb
|
||
|
|
||
|
CFLAGS=-g -O0 -std=c99 -pedantic -Wall
|
||
|
CXXFLAGS=-g -O0 -std=c++17 -pedantic -Wall
|
||
|
|
||
|
OBJS = usb.o
|
||
|
BINARY ?= main
|
||
|
DEVICE=STM32F405RG
|
||
|
|
||
|
include ../rules.mk
|
||
|
|