add more stm mcu

This commit is contained in:
hathach
2020-10-30 14:04:46 +07:00
parent 3b890d2391
commit 6e7f2064cf
8 changed files with 25 additions and 1 deletions

18
.gitmodules vendored
View File

@@ -91,3 +91,21 @@
[submodule "hw/mcu/st/stm32l4xx_hal_driver"] [submodule "hw/mcu/st/stm32l4xx_hal_driver"]
path = hw/mcu/st/stm32l4xx_hal_driver path = hw/mcu/st/stm32l4xx_hal_driver
url = https://github.com/STMicroelectronics/stm32l4xx_hal_driver.git url = https://github.com/STMicroelectronics/stm32l4xx_hal_driver.git
[submodule "hw/mcu/st/cmsis_device_g0"]
path = hw/mcu/st/cmsis_device_g0
url = https://github.com/STMicroelectronics/cmsis_device_g0.git
[submodule "hw/mcu/st/stm32g0xx_hal_driver"]
path = hw/mcu/st/stm32g0xx_hal_driver
url = https://github.com/STMicroelectronics/stm32g0xx_hal_driver.git
[submodule "hw/mcu/st/cmsis_device_g4"]
path = hw/mcu/st/cmsis_device_g4
url = https://github.com/STMicroelectronics/cmsis_device_g4.git
[submodule "hw/mcu/st/stm32g4xx_hal_driver"]
path = hw/mcu/st/stm32g4xx_hal_driver
url = https://github.com/STMicroelectronics/stm32g4xx_hal_driver.git
[submodule "hw/mcu/st/cmsis_device_l5"]
path = hw/mcu/st/cmsis_device_l5
url = https://github.com/STMicroelectronics/cmsis_device_l5.git
[submodule "hw/mcu/st/stm32l5xx_hal_driver"]
path = hw/mcu/st/stm32l5xx_hal_driver
url = https://github.com/STMicroelectronics/stm32l5xx_hal_driver.git

View File

@@ -10,7 +10,7 @@ CFLAGS += \
-DCFG_TUSB_MCU=OPT_MCU_STM32L4 -DCFG_TUSB_MCU=OPT_MCU_STM32L4
# suppress warning caused by vendor mcu driver # suppress warning caused by vendor mcu driver
CFLAGS += -Wno-error=maybe-uninitialized -Wno-error=cast-align CFLAGS += -Wno-error=maybe-uninitialized -Wno-error=cast-align
ST_FAMILY = l4 ST_FAMILY = l4
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY) ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)