aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/lib/tinyusb/hw/bsp/stm32g4/boards/stm32g474nucleo/board.mk
diff options
context:
space:
mode:
Diffstat (limited to 'circuitpython/lib/tinyusb/hw/bsp/stm32g4/boards/stm32g474nucleo/board.mk')
-rw-r--r--circuitpython/lib/tinyusb/hw/bsp/stm32g4/boards/stm32g474nucleo/board.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/circuitpython/lib/tinyusb/hw/bsp/stm32g4/boards/stm32g474nucleo/board.mk b/circuitpython/lib/tinyusb/hw/bsp/stm32g4/boards/stm32g474nucleo/board.mk
new file mode 100644
index 0000000..e41edd3
--- /dev/null
+++ b/circuitpython/lib/tinyusb/hw/bsp/stm32g4/boards/stm32g474nucleo/board.mk
@@ -0,0 +1,10 @@
+CFLAGS += \
+ -DSTM32G474xx \
+ -DHSE_VALUE=24000000
+
+LD_FILE = $(BOARD_PATH)/STM32G474RETx_FLASH.ld
+
+SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32g474xx.s
+
+# For flash-jlink target
+JLINK_DEVICE = stm32g474re