diff options
| author | hathach <[email protected]> | 2020-10-30 14:04:46 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-10-30 14:05:01 +0700 |
| commit | 6e7f2064cf8d5feaca9a59ce0593198a3fc29d12 (patch) | |
| tree | 0bd751470c888382aecfb7b3c45c75f2109b4d2a | |
| parent | 3b890d2391de126a234aa08db05c7091f09fcbf6 (diff) | |
add more stm mcu
| -rw-r--r-- | .gitmodules | 18 | ||||
| -rw-r--r-- | hw/bsp/stm32l476disco/board.mk | 2 | ||||
| m--------- | hw/mcu/st/cmsis_device_g0 | 0 | ||||
| m--------- | hw/mcu/st/cmsis_device_g4 | 0 | ||||
| m--------- | hw/mcu/st/cmsis_device_l5 | 0 | ||||
| m--------- | hw/mcu/st/stm32g0xx_hal_driver | 0 | ||||
| m--------- | hw/mcu/st/stm32g4xx_hal_driver | 0 | ||||
| m--------- | hw/mcu/st/stm32l5xx_hal_driver | 0 |
8 files changed, 19 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules index 939459286..81ba7f068 100644 --- a/.gitmodules +++ b/.gitmodules @@ -91,3 +91,21 @@ [submodule "hw/mcu/st/stm32l4xx_hal_driver"] path = hw/mcu/st/stm32l4xx_hal_driver 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 diff --git a/hw/bsp/stm32l476disco/board.mk b/hw/bsp/stm32l476disco/board.mk index e79feda07..fb55dbb5b 100644 --- a/hw/bsp/stm32l476disco/board.mk +++ b/hw/bsp/stm32l476disco/board.mk @@ -10,7 +10,7 @@ CFLAGS += \ -DCFG_TUSB_MCU=OPT_MCU_STM32L4 # 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_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY) diff --git a/hw/mcu/st/cmsis_device_g0 b/hw/mcu/st/cmsis_device_g0 new file mode 160000 +Subproject 08258b28ee95f50cb9624d152a1cbf084be1f9a diff --git a/hw/mcu/st/cmsis_device_g4 b/hw/mcu/st/cmsis_device_g4 new file mode 160000 +Subproject ce822adb1dc552b3aedd13621edbc7fdae12487 diff --git a/hw/mcu/st/cmsis_device_l5 b/hw/mcu/st/cmsis_device_l5 new file mode 160000 +Subproject d922865fc0326a102c26211c44b8e42f52c1e53 diff --git a/hw/mcu/st/stm32g0xx_hal_driver b/hw/mcu/st/stm32g0xx_hal_driver new file mode 160000 +Subproject 5b53e6cee664a82b16c86491aa0060e2110c00c diff --git a/hw/mcu/st/stm32g4xx_hal_driver b/hw/mcu/st/stm32g4xx_hal_driver new file mode 160000 +Subproject 8b4518417706d42eef5c14e56a650005abf478a diff --git a/hw/mcu/st/stm32l5xx_hal_driver b/hw/mcu/st/stm32l5xx_hal_driver new file mode 160000 +Subproject 675c32a75df37f39d50d61f51cb0dcf53f07e1c |
