mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-24 03:40:29 +00:00
This adds bsp for ST nucleo-g491re board. This is mostly copy of nucleo-f474 only differences being: - PLL configured to 170MHz (not affecting USB which runs on HSI48) - Linker script freshly generated from STM32CubeIDE (smaller RAM) Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
12 lines
192 B
Makefile
12 lines
192 B
Makefile
MCU_VARIANT = stm32g491xx
|
|
|
|
CFLAGS += \
|
|
-DSTM32G491xx \
|
|
-DHSE_VALUE=24000000
|
|
|
|
# Linker
|
|
LD_FILE_GCC = $(BOARD_PATH)/STM32G491RETX_FLASH.ld
|
|
|
|
# For flash-jlink target
|
|
JLINK_DEVICE = stm32g491re
|