Explicitly specify pw_assert, pw_sync backends
Bug: 347998044
Change-Id: I53b81a26a90456444db7b4a3962907c285920c8d
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/examples/+/217471
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com>
diff --git a/targets/transition.bzl b/targets/transition.bzl
index a443994..63b2926 100644
--- a/targets/transition.bzl
+++ b/targets/transition.bzl
@@ -26,12 +26,19 @@
"//command_line_option:platforms": "//targets/stm32f429i_disc1_stm32cube:platform",
"@freertos//:freertos_config": "@pigweed//third_party/freertos:freertos_config",
"@hal_driver//:hal_config": "@pigweed//targets/stm32f429i_disc1_stm32cube:hal_config",
+ "@pigweed//pw_assert:backend": "@pigweed//pw_assert_basic",
+ "@pigweed//pw_assert:backend_impl": "@pigweed//pw_assert_basic:impl",
"@pigweed//pw_boot:backend": "@pigweed//pw_boot_cortex_m",
"@pigweed//pw_interrupt:backend": "@pigweed//pw_interrupt_cortex_m:context",
"@pigweed//pw_log:backend": "@pigweed//pw_log_tokenized",
"@pigweed//pw_log:backend_impl": "@pigweed//pw_log_tokenized:impl",
"@pigweed//pw_log_tokenized:handler_backend": "@pigweed//pw_system:log_backend",
"@pigweed//pw_malloc:backend": "@pigweed//pw_malloc_freelist",
+ "@pigweed//pw_sync:binary_semaphore_backend": "@pigweed//pw_sync_freertos:binary_semaphore",
+ "@pigweed//pw_sync:interrupt_spin_lock_backend": "@pigweed//pw_sync_freertos:interrupt_spin_lock",
+ "@pigweed//pw_sync:mutex_backend": "@pigweed//pw_sync_freertos:mutex",
+ "@pigweed//pw_sync:thread_notification_backend": "@pigweed//pw_sync_freertos:thread_notification",
+ "@pigweed//pw_sync:timed_thread_notification_backend": "@pigweed//pw_sync_freertos:timed_thread_notification",
"@pigweed//pw_sys_io:backend": "@pigweed//pw_sys_io_stm32cube",
"@pigweed//pw_system:extra_platform_libs": "//targets/stm32f429i_disc1_stm32cube:extra_platform_libs",
}
@@ -44,12 +51,19 @@
"//command_line_option:platforms",
"@freertos//:freertos_config",
"@hal_driver//:hal_config",
+ "@pigweed//pw_assert:backend",
+ "@pigweed//pw_assert:backend_impl",
"@pigweed//pw_boot:backend",
"@pigweed//pw_interrupt:backend",
"@pigweed//pw_log:backend_impl",
"@pigweed//pw_log:backend",
"@pigweed//pw_log_tokenized:handler_backend",
"@pigweed//pw_malloc:backend",
+ "@pigweed//pw_sync:binary_semaphore_backend",
+ "@pigweed//pw_sync:interrupt_spin_lock_backend",
+ "@pigweed//pw_sync:mutex_backend",
+ "@pigweed//pw_sync:thread_notification_backend",
+ "@pigweed//pw_sync:timed_thread_notification_backend",
"@pigweed//pw_system:extra_platform_libs",
"@pigweed//pw_sys_io:backend",
],
@@ -83,10 +97,17 @@
return {
"//command_line_option:platforms": "//targets/rp2040:platform",
"@freertos//:freertos_config": "@pigweed//third_party/freertos:freertos_config",
+ "@pigweed//pw_assert:backend": "@pigweed//pw_assert_basic",
+ "@pigweed//pw_assert:backend_impl": "@pigweed//pw_assert_basic:impl",
"@pigweed//pw_interrupt:backend": "@pigweed//pw_interrupt_cortex_m:context",
"@pigweed//pw_log:backend": "@pigweed//pw_log_tokenized",
"@pigweed//pw_log:backend_impl": "@pigweed//pw_log_tokenized:impl",
"@pigweed//pw_log_tokenized:handler_backend": "@pigweed//pw_system:log_backend",
+ "@pigweed//pw_sync:binary_semaphore_backend": "@pigweed//pw_sync_freertos:binary_semaphore",
+ "@pigweed//pw_sync:interrupt_spin_lock_backend": "@pigweed//pw_sync_freertos:interrupt_spin_lock",
+ "@pigweed//pw_sync:mutex_backend": "@pigweed//pw_sync_freertos:mutex",
+ "@pigweed//pw_sync:thread_notification_backend": "@pigweed//pw_sync_freertos:thread_notification",
+ "@pigweed//pw_sync:timed_thread_notification_backend": "@pigweed//pw_sync_freertos:timed_thread_notification",
"@pigweed//pw_sys_io:backend": "@pigweed//pw_sys_io_rp2040",
"@pigweed//pw_system:extra_platform_libs": "//targets/rp2040:extra_platform_libs",
}
@@ -97,10 +118,17 @@
outputs = [
"//command_line_option:platforms",
"@freertos//:freertos_config",
+ "@pigweed//pw_assert:backend",
+ "@pigweed//pw_assert:backend_impl",
"@pigweed//pw_log:backend_impl",
"@pigweed//pw_log:backend",
"@pigweed//pw_log_tokenized:handler_backend",
"@pigweed//pw_interrupt:backend",
+ "@pigweed//pw_sync:binary_semaphore_backend",
+ "@pigweed//pw_sync:interrupt_spin_lock_backend",
+ "@pigweed//pw_sync:mutex_backend",
+ "@pigweed//pw_sync:thread_notification_backend",
+ "@pigweed//pw_sync:timed_thread_notification_backend",
"@pigweed//pw_system:extra_platform_libs",
"@pigweed//pw_sys_io:backend",
],