From 4fd287655a72b9aea14cdac715ad5b90ed082ed2 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Sun, 19 Jun 2022 19:47:51 +0530 Subject: add circuitpython code --- .../lib/tinyusb/hw/bsp/stm32f0/boards/stm32f072eval/board.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 circuitpython/lib/tinyusb/hw/bsp/stm32f0/boards/stm32f072eval/board.mk (limited to 'circuitpython/lib/tinyusb/hw/bsp/stm32f0/boards/stm32f072eval/board.mk') diff --git a/circuitpython/lib/tinyusb/hw/bsp/stm32f0/boards/stm32f072eval/board.mk b/circuitpython/lib/tinyusb/hw/bsp/stm32f0/boards/stm32f072eval/board.mk new file mode 100644 index 0000000..b625c3e --- /dev/null +++ b/circuitpython/lib/tinyusb/hw/bsp/stm32f0/boards/stm32f072eval/board.mk @@ -0,0 +1,11 @@ +CFLAGS += -DSTM32F072xB -DLSI_VALUE=40000 -DCFG_EXAMPLE_VIDEO_READONLY + +LD_FILE = $(BOARD_PATH)/STM32F072VBTx_FLASH.ld + +SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f072xb.s + +# For flash-jlink target +JLINK_DEVICE = stm32f072vb + +# flash target using on-board stlink +flash: flash-stlink -- cgit v1.2.3