Files
stm32samples/F0:F030,F042,F072/usbcan_gpio/Makefile

16 lines
385 B
Makefile

BINARY := usbcangpio
# MCU code
#MCU := F072xB
MCU := F042x6
# change this linking script depending on particular MCU model,
#LDSCRIPT := stm32f072xB.ld
LDSCRIPT := stm32f042x6.ld
DEFINES := -DUSB2_16
include ../makefile.f0
include ../../makefile.stm32
$(OBJDIR)/gpioproto.o: gpioproto.c $(VERSION_FILE)
$(OBJDIR)/canproto.o: canproto.c $(VERSION_FILE)