aboutsummaryrefslogtreecommitdiff
path: root/pw_build
diff options
context:
space:
mode:
authorAustin Foxley <afoxley@google.com>2023-12-18 21:50:30 +0000
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-12-18 21:50:30 +0000
commit67ed7d1c75132ce95ff2d69f1478f9ab800de09b (patch)
treec1216624a2476fd08d25de5983573ba0638ffd4e /pw_build
parent9c0898365632ac8efe57b617b00031217e6d7ad8 (diff)
downloadpigweed-67ed7d1c75132ce95ff2d69f1478f9ab800de09b.tar.gz
pw_malloc: Add freertos backend
Add a pw_malloc backend that uses the FreeRTOS kernel heap. Add constraint_setting for pw_malloc backend to be used by bazel build to select which backend to use. Change-Id: I27e04ab06a4dedcc230b2a7a7cce5186a11fbcd1 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/185452 Reviewed-by: Alexei Frolov <frolv@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Austin Foxley <afoxley@google.com>
Diffstat (limited to 'pw_build')
-rw-r--r--pw_build/generated_pigweed_modules_lists.gni4
1 files changed, 4 insertions, 0 deletions
diff --git a/pw_build/generated_pigweed_modules_lists.gni b/pw_build/generated_pigweed_modules_lists.gni
index f7df87201..818fdb95c 100644
--- a/pw_build/generated_pigweed_modules_lists.gni
+++ b/pw_build/generated_pigweed_modules_lists.gni
@@ -112,6 +112,7 @@ declare_args() {
dir_pw_log_zephyr = get_path_info("../pw_log_zephyr", "abspath")
dir_pw_malloc = get_path_info("../pw_malloc", "abspath")
dir_pw_malloc_freelist = get_path_info("../pw_malloc_freelist", "abspath")
+ dir_pw_malloc_freertos = get_path_info("../pw_malloc_freertos", "abspath")
dir_pw_metric = get_path_info("../pw_metric", "abspath")
dir_pw_minimal_cpp_stdlib =
get_path_info("../pw_minimal_cpp_stdlib", "abspath")
@@ -281,6 +282,7 @@ declare_args() {
dir_pw_log_zephyr,
dir_pw_malloc,
dir_pw_malloc_freelist,
+ dir_pw_malloc_freertos,
dir_pw_metric,
dir_pw_minimal_cpp_stdlib,
dir_pw_module,
@@ -439,6 +441,7 @@ declare_args() {
"$dir_pw_log_zephyr:tests",
"$dir_pw_malloc:tests",
"$dir_pw_malloc_freelist:tests",
+ "$dir_pw_malloc_freertos:tests",
"$dir_pw_metric:tests",
"$dir_pw_minimal_cpp_stdlib:tests",
"$dir_pw_module:tests",
@@ -597,6 +600,7 @@ declare_args() {
"$dir_pw_log_zephyr:docs",
"$dir_pw_malloc:docs",
"$dir_pw_malloc_freelist:docs",
+ "$dir_pw_malloc_freertos:docs",
"$dir_pw_metric:docs",
"$dir_pw_minimal_cpp_stdlib:docs",
"$dir_pw_module:docs",