change st_driver to use ST's github drivers as submodules

This commit is contained in:
Scott Gauche 2022-02-02 21:30:23 -05:00
parent 4e305aa39c
commit 92c9be9a4f
29 changed files with 112 additions and 4 deletions

81
.gitmodules vendored
View File

@ -196,3 +196,84 @@
url = https://github.com/raspberrypi/rpi-firmware.git url = https://github.com/raspberrypi/rpi-firmware.git
branch = master branch = master
shallow = true shallow = true
[submodule "ports/stm/st_driver/cmsis_device_f4"]
path = ports/stm/st_driver/cmsis_device_f4
url = https://github.com/STMicroelectronics/cmsis_device_f4.git
[submodule "ports/stm/st_driver/stm32f4xx_hal_driver"]
path = ports/stm/st_driver/stm32f4xx_hal_driver
url = https://github.com/STMicroelectronics/stm32f4xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_f0"]
path = ports/stm/st_driver/cmsis_device_f0
url = https://github.com/STMicroelectronics/cmsis_device_f0.git
[submodule "ports/stm/st_driver/stm32f0xx_hal_driver"]
path = ports/stm/st_driver/stm32f0xx_hal_driver
url = https://github.com/STMicroelectronics/stm32f0xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_f1"]
path = ports/stm/st_driver/cmsis_device_f1
url = https://github.com/STMicroelectronics/cmsis_device_f1.git
[submodule "ports/stm/st_driver/stm32f1xx_hal_driver"]
path = ports/stm/st_driver/stm32f1xx_hal_driver
url = https://github.com/STMicroelectronics/stm32f1xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_f2"]
path = ports/stm/st_driver/cmsis_device_f2
url = https://github.com/STMicroelectronics/cmsis_device_f2.git
[submodule "ports/stm/st_driver/stm32f2xx_hal_driver"]
path = ports/stm/st_driver/stm32f2xx_hal_driver
url = https://github.com/STMicroelectronics/stm32f2xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_f3"]
path = ports/stm/st_driver/cmsis_device_f3
url = https://github.com/STMicroelectronics/cmsis_device_f3.git
[submodule "ports/stm/st_driver/stm32f3xx_hal_driver"]
path = ports/stm/st_driver/stm32f3xx_hal_driver
url = https://github.com/STMicroelectronics/stm32f3xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_f7"]
path = ports/stm/st_driver/cmsis_device_f7
url = https://github.com/STMicroelectronics/cmsis_device_f7.git
[submodule "ports/stm/st_driver/stm32f7xx_hal_driver"]
path = ports/stm/st_driver/stm32f7xx_hal_driver
url = https://github.com/STMicroelectronics/stm32f7xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_h7"]
path = ports/stm/st_driver/cmsis_device_h7
url = https://github.com/STMicroelectronics/cmsis_device_h7.git
[submodule "ports/stm/st_driver/stm32h7xx_hal_driver"]
path = ports/stm/st_driver/stm32h7xx_hal_driver
url = https://github.com/STMicroelectronics/stm32h7xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_l0"]
path = ports/stm/st_driver/cmsis_device_l0
url = https://github.com/STMicroelectronics/cmsis_device_l0.git
[submodule "ports/stm/st_driver/stm32l0xx_hal_driver"]
path = ports/stm/st_driver/stm32l0xx_hal_driver
url = https://github.com/STMicroelectronics/stm32l0xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_l1"]
path = ports/stm/st_driver/cmsis_device_l1
url = https://github.com/STMicroelectronics/cmsis_device_l1.git
[submodule "ports/stm/st_driver/stm32l1xx_hal_driver"]
path = ports/stm/st_driver/stm32l1xx_hal_driver
url = https://github.com/STMicroelectronics/stm32l1xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_l4"]
path = ports/stm/st_driver/cmsis_device_l4
url = https://github.com/STMicroelectronics/cmsis_device_l4.git
[submodule "ports/stm/st_driver/stm32l4xx_hal_driver"]
path = ports/stm/st_driver/stm32l4xx_hal_driver
url = https://github.com/STMicroelectronics/stm32l4xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_g0"]
path = ports/stm/st_driver/cmsis_device_g0
url = https://github.com/STMicroelectronics/cmsis_device_g0.git
[submodule "ports/stm/st_driver/stm32g0xx_hal_driver"]
path = ports/stm/st_driver/stm32g0xx_hal_driver
url = https://github.com/STMicroelectronics/stm32g0xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_g4"]
path = ports/stm/st_driver/cmsis_device_g4
url = https://github.com/STMicroelectronics/cmsis_device_g4.git
[submodule "ports/stm/st_driver/stm32g4xx_hal_driver"]
path = ports/stm/st_driver/stm32g4xx_hal_driver
url = https://github.com/STMicroelectronics/stm32g4xx_hal_driver.git
[submodule "ports/stm/st_driver/cmsis_device_l5"]
path = ports/stm/st_driver/cmsis_device_l5
url = https://github.com/STMicroelectronics/cmsis_device_l5.git
[submodule "ports/stm/st_driver/stm32l5xx_hal_driver"]
path = ports/stm/st_driver/stm32l5xx_hal_driver
url = https://github.com/STMicroelectronics/stm32l5xx_hal_driver.git
[submodule "ports/stm/st_driver/CMSIS_5"]
path = ports/stm/st_driver/CMSIS_5
url = https://github.com/ARM-software/CMSIS_5.git

View File

@ -60,7 +60,7 @@ CROSS_COMPILE = arm-none-eabi-
MCU_SERIES_LOWER = $(shell echo $(MCU_SERIES) | tr '[:upper:]' '[:lower:]') MCU_SERIES_LOWER = $(shell echo $(MCU_SERIES) | tr '[:upper:]' '[:lower:]')
MCU_VARIANT_LOWER = $(shell echo $(MCU_VARIANT) | tr '[:upper:]' '[:lower:]') MCU_VARIANT_LOWER = $(shell echo $(MCU_VARIANT) | tr '[:upper:]' '[:lower:]')
HAL_DIR=st_driver/STM32$(MCU_SERIES)xx_HAL_Driver HAL_DIR=st_driver/stm32$(MCU_SERIES_LOWER)xx_hal_driver
INC += -I. INC += -I.
INC += -I../.. INC += -I../..
@ -68,8 +68,8 @@ INC += -I$(BUILD)
INC += -I$(BUILD)/genhdr INC += -I$(BUILD)/genhdr
INC += -I./$(HAL_DIR)/Inc INC += -I./$(HAL_DIR)/Inc
INC += -I./$(HAL_DIR)/Inc/Legacy INC += -I./$(HAL_DIR)/Inc/Legacy
INC += -I./st_driver/CMSIS/Device/ST/STM32$(MCU_SERIES)xx/Include INC += -I./st_driver/cmsis_device_$(MCU_SERIES_LOWER)/Include
INC += -I./st_driver/CMSIS/Include INC += -I./st_driver/CMSIS_5/CMSIS/Core/Include
INC += -I./boards INC += -I./boards
INC += -I./boards/$(BOARD) INC += -I./boards/$(BOARD)
INC += -I./hal_conf INC += -I./hal_conf
@ -242,7 +242,7 @@ endif
SRC_S = \ SRC_S = \
supervisor/cpu.s \ supervisor/cpu.s \
st_driver/CMSIS/Device/ST/STM32$(MCU_SERIES)xx/Source/Templates/gcc/startup_$(MCU_VARIANT_LOWER).s st_driver/cmsis_device_$(MCU_SERIES_LOWER)/Source/Templates/gcc/startup_$(MCU_VARIANT_LOWER).s
SRC_COMMON_HAL_EXPANDED = $(addprefix shared-bindings/, $(SRC_COMMON_HAL)) \ SRC_COMMON_HAL_EXPANDED = $(addprefix shared-bindings/, $(SRC_COMMON_HAL)) \
$(addprefix shared-bindings/, $(SRC_BINDINGS_ENUMS)) \ $(addprefix shared-bindings/, $(SRC_BINDINGS_ENUMS)) \

@ -0,0 +1 @@
Subproject commit 0b521765067ac87b142cd96b5f578ffb399090cc

@ -0,0 +1 @@
Subproject commit 8b86197c7ab77ad029c34dc73cf6d4a1e12327d8

@ -0,0 +1 @@
Subproject commit 71ad5b3bf5cbb4d35cf8c8726c1b343871f0df0a

@ -0,0 +1 @@
Subproject commit 694c49f696d359f57f23153ab7acf3ac1a43f663

@ -0,0 +1 @@
Subproject commit 167eefd811de90a58c41e0a32071cdfecede389a

@ -0,0 +1 @@
Subproject commit 6fe2c1f498feda34ee422720ff8b3bd1b4656145

@ -0,0 +1 @@
Subproject commit d29a89278dad0b89124c008be647f681d5253be4

@ -0,0 +1 @@
Subproject commit 4daf765de5c5956df1bb27139e624b5deba270c9

@ -0,0 +1 @@
Subproject commit 371d9ecec9acc4d8b4baad36c8dc60cb9895baf7

@ -0,0 +1 @@
Subproject commit f5e3a1d5e71e6b9278a6d580b7d5ca82c0debd9b

@ -0,0 +1 @@
Subproject commit 532d96973e7b2ae5546a2c88cb216429f74f5f5d

@ -0,0 +1 @@
Subproject commit 1827333a7f7822282a6a46e4169596b5fb58cf61

@ -0,0 +1 @@
Subproject commit aae7f4873380f77091ef62c461dc7a617b649d8e

@ -0,0 +1 @@
Subproject commit fcf61cd086e02c7a1cf7535ffe30622d1f5d36aa

@ -0,0 +1 @@
Subproject commit 79307a2f629b5959e67656564a8436e0a21e93d0

@ -0,0 +1 @@
Subproject commit fccac44e1859e1ad1a38353b46c9ed7587bdb4be

@ -0,0 +1 @@
Subproject commit cc54dd7a903220618b0487970b087f4e34973d1d

@ -0,0 +1 @@
Subproject commit 58a240b30676cb51ee0e09347c6b55a9fc4f7140

@ -0,0 +1 @@
Subproject commit c91c4a744c5bcf881c5172a4f064bbc5eb7a5e39

@ -0,0 +1 @@
Subproject commit 27458ea876aabd8fd568c5e2a8a3448f082e2817

@ -0,0 +1 @@
Subproject commit 36ae43958161cff572db2f88378e81895ec3a337

@ -0,0 +1 @@
Subproject commit 19bed7c9f84aa74aba98c6d1ea54bed39bd8e61a

@ -0,0 +1 @@
Subproject commit 2bfa1cae79926af47ff79a48757d29a38c9c8978

@ -0,0 +1 @@
Subproject commit ad9b9fbceb1427078000476dd4cd926603fd5b89

@ -0,0 +1 @@
Subproject commit 919c1714f0e605c96e312675d8a14c421881d2ec

@ -0,0 +1 @@
Subproject commit 49aacb861d9f2b4c43238989e7ba19d82c230641

@ -0,0 +1 @@
Subproject commit 4f89168f731596308eae3770a63518413f34cf3d