aboutsummaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
authorArmando Montanez <amontanez@google.com>2022-02-28 17:08:46 -0800
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-03-01 01:45:50 +0000
commit1251e2e9b25f51373b741a17ea1abc878508b144 (patch)
treea7511820dfabef75daf04cf7d119b5df4250a1d5 /targets
parente7385e0c59c8b9caa2eb23902278d34639ebaece (diff)
downloadpigweed-1251e2e9b25f51373b741a17ea1abc878508b144.tar.gz
targets/stm32f429i_disc1_stm32cube: No abspath
Changes references to build targets in the stm32f429i_disc1_stm32cube target to use $dir_* variables rather than absolute GN paths assuming Pigweed is the project root. Change-Id: I8c59b8c5d00f4b2d4c08f5968fb577b8b145e547 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/85860 Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com> Reviewed-by: Chad Norvell <chadnorvell@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Diffstat (limited to 'targets')
-rw-r--r--targets/stm32f429i_disc1_stm32cube/BUILD.gn4
1 files changed, 2 insertions, 2 deletions
diff --git a/targets/stm32f429i_disc1_stm32cube/BUILD.gn b/targets/stm32f429i_disc1_stm32cube/BUILD.gn
index 0e55048a2..e858774ac 100644
--- a/targets/stm32f429i_disc1_stm32cube/BUILD.gn
+++ b/targets/stm32f429i_disc1_stm32cube/BUILD.gn
@@ -71,14 +71,14 @@ pw_system_target("stm32f429i_disc1_stm32cube") {
link_deps = [ "$dir_pigweed/targets/stm32f429i_disc1_stm32cube:pre_init" ]
build_args = {
pw_log_BACKEND = dir_pw_log_tokenized
- pw_tokenizer_GLOBAL_HANDLER_WITH_PAYLOAD_BACKEND = "//pw_system:log"
+ pw_tokenizer_GLOBAL_HANDLER_WITH_PAYLOAD_BACKEND = "$dir_pw_system:log"
pw_third_party_freertos_CONFIG = "$dir_pigweed/targets/stm32f429i_disc1_stm32cube:stm32f4xx_freertos_config"
pw_third_party_freertos_PORT = "$dir_pw_third_party/freertos:arm_cm4f"
pw_sys_io_BACKEND = dir_pw_sys_io_stm32cube
dir_pw_third_party_stm32cube = dir_pw_third_party_stm32cube_f4
pw_third_party_stm32cube_PRODUCT = "STM32F429xx"
pw_third_party_stm32cube_CONFIG =
- "//targets/stm32f429i_disc1_stm32cube:stm32f4xx_hal_config"
+ "$dir_pigweed/targets/stm32f429i_disc1_stm32cube:stm32f4xx_hal_config"
pw_third_party_stm32cube_CORE_INIT = ""
pw_boot_cortex_m_LINK_CONFIG_DEFINES = [
"PW_BOOT_FLASH_BEGIN=0x08000200",