diff options
Diffstat (limited to 'circuitpython/lib/tinyusb/hw/bsp/stm32l4/boards/stm32l4r5nucleo/board.mk')
| -rw-r--r-- | circuitpython/lib/tinyusb/hw/bsp/stm32l4/boards/stm32l4r5nucleo/board.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/circuitpython/lib/tinyusb/hw/bsp/stm32l4/boards/stm32l4r5nucleo/board.mk b/circuitpython/lib/tinyusb/hw/bsp/stm32l4/boards/stm32l4r5nucleo/board.mk new file mode 100644 index 0000000..3d7fa22 --- /dev/null +++ b/circuitpython/lib/tinyusb/hw/bsp/stm32l4/boards/stm32l4r5nucleo/board.mk @@ -0,0 +1,14 @@ +CFLAGS += \ + -DHSE_VALUE=8000000 \ + -DSTM32L4R5xx \ + +# All source paths should be relative to the top level. +LD_FILE = $(BOARD_PATH)/STM32L4RXxI_FLASH.ld + +SRC_S += $(ST_CMSIS)/Source/Templates/gcc/startup_stm32l4r5xx.s + +# For flash-jlink target +JLINK_DEVICE = stm32l4r5zi + +# flash target using on-board stlink +flash: flash-stlink |
