Last active
January 13, 2024 18:30
-
-
Save kaycebasques/f5105ecd436ed6226189c64a2e54daff to your computer and use it in GitHub Desktop.
stm32cube submodules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run from root repo dir | |
git submodule add https://pigweed.googlesource.com/third_party/github/FreeRTOS/FreeRTOS-Kernel third_party/freertos && | |
git submodule add https://pigweed.googlesource.com/third_party/github/STMicroelectronics/cmsis_core third_party/cmsis_core && | |
git submodule add https://pigweed.googlesource.com/third_party/github/STMicroelectronics/cmsis_device_f4 third_party/cmsis_device && | |
git submodule add https://pigweed.googlesource.com/third_party/github/STMicroelectronics/stm32f4xx_hal_driver third_party/hal_driver | |
# Add to //WORKSPACE | |
new_local_repository( | |
name = "freertos", | |
path = "third_party/freertos", | |
build_file = "@pigweed//third_party/freertos:BUILD.bazel", | |
) | |
new_local_repository( | |
name = "cmsis_core", | |
path = "third_party/cmsis_core", | |
build_file = "@pigweed//third_party/stm32cube:cmsis_core.BUILD.bazel", | |
) | |
new_local_repository( | |
name = "cmsis_device", | |
path = "third_party/cmsis_device", | |
build_file = "@pigweed//third_party/stm32cube:cmsis_device.BUILD.bazel", | |
) | |
new_local_repository( | |
name = "hal_driver", | |
path = "third_party/hal_driver", | |
build_file = "@pigweed//third_party/stm32cube:stm32_hal_driver.BUILD.bazel", | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment