diff options
author | Armando Montanez <amontanez@google.com> | 2022-08-23 22:32:55 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-23 22:32:55 +0000 |
commit | c8a83ce57e4c790fc62c90404f1aef9ffa949925 (patch) | |
tree | c781311a6358ce9a63d2de31430c1e8a2434254f /pw_system/freertos_backends.gni | |
parent | 372139347d6b2b7a1eee8c15237d519b2363a090 (diff) | |
download | pigweed-c8a83ce57e4c790fc62c90404f1aef9ffa949925.tar.gz |
pw_system: Disable FreeRTOS task statics
Enables the pw_third_party_freertos_DISABLE_TASKS_STATICS flag when
using pw_system so that thread iteration is supported out-of-the-box.
Change-Id: Ifc4d3717786351e1b42b485164b73b50644d44a7
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107830
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Keir Mierle <keir@google.com>
Diffstat (limited to 'pw_system/freertos_backends.gni')
-rw-r--r-- | pw_system/freertos_backends.gni | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pw_system/freertos_backends.gni b/pw_system/freertos_backends.gni index 9b46d6194..8829bc2bb 100644 --- a/pw_system/freertos_backends.gni +++ b/pw_system/freertos_backends.gni @@ -33,4 +33,8 @@ PW_SYSTEM_FREERTOS_BACKENDS = { "$dir_pw_thread_freertos:thread_iteration" pw_thread_YIELD_BACKEND = "$dir_pw_thread_freertos:yield" pw_system_TARGET_HOOKS_BACKEND = "$dir_pw_system:freertos_target_hooks" + + # Enable pw_third_party_freertos_DISABLE_TASKS_STATICS so thread iteration + # works out-of-the-box. + pw_third_party_freertos_DISABLE_TASKS_STATICS = true } |