aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/lib/tinyusb/hw/bsp/stm32f0/boards/stm32f070rbnucleo/board.mk
diff options
context:
space:
mode:
Diffstat (limited to 'circuitpython/lib/tinyusb/hw/bsp/stm32f0/boards/stm32f070rbnucleo/board.mk')
-rw-r--r--circuitpython/lib/tinyusb/hw/bsp/stm32f0/boards/stm32f070rbnucleo/board.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/circuitpython/lib/tinyusb/hw/bsp/stm32f0/boards/stm32f070rbnucleo/board.mk b/circuitpython/lib/tinyusb/hw/bsp/stm32f0/boards/stm32f070rbnucleo/board.mk
new file mode 100644
index 0000000..7c0ee40
--- /dev/null
+++ b/circuitpython/lib/tinyusb/hw/bsp/stm32f0/boards/stm32f070rbnucleo/board.mk
@@ -0,0 +1,11 @@
+CFLAGS += -DSTM32F070xB -DCFG_EXAMPLE_VIDEO_READONLY
+
+LD_FILE = $(BOARD_PATH)/stm32F070rbtx_flash.ld
+
+SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32f070xb.s
+
+# For flash-jlink target
+JLINK_DEVICE = stm32f070rb
+
+# flash target using on-board stlink
+flash: flash-stlink