xref: /aosp_15_r20/external/pigweed/pw_system/freertos_backends.gni (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1# Copyright 2021 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
15import("//build_overrides/pigweed.gni")
16
17import("$dir_pigweed/targets/common/freertos.gni")
18
19PW_SYSTEM_FREERTOS_BACKENDS = {
20  forward_variables_from(pw_targets_FREERTOS_BACKEND_GROUP, "*")
21
22  pw_system_TARGET_HOOKS_BACKEND = "$dir_pw_system:freertos_target_hooks"
23  pw_trace_tokenizer_time = "$dir_pw_trace_tokenized:fake_trace_time"
24
25  # Enable pw_third_party_freertos_DISABLE_TASKS_STATICS so thread iteration
26  # works out-of-the-box.
27  pw_third_party_freertos_DISABLE_TASKS_STATICS = true
28}
29