aboutsummaryrefslogtreecommitdiff
path: root/third_party/freertos/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/freertos/BUILD.gn')
-rw-r--r--third_party/freertos/BUILD.gn36
1 files changed, 36 insertions, 0 deletions
diff --git a/third_party/freertos/BUILD.gn b/third_party/freertos/BUILD.gn
index 1b243da58..48749ccc9 100644
--- a/third_party/freertos/BUILD.gn
+++ b/third_party/freertos/BUILD.gn
@@ -119,6 +119,25 @@ if (dir_pw_third_party_freertos == "") {
]
}
+ # ARM CM7 port of FreeRTOS
+ config("arm_cm7_includes") {
+ include_dirs = [ "$dir_pw_third_party_freertos/portable/GCC/ARM_CM7/r0p1" ]
+ visibility = [ ":arm_cm7" ]
+ }
+
+ pw_source_set("arm_cm7") {
+ public_configs = [
+ ":arm_cm7_includes",
+ ":public_includes",
+ ]
+ public_deps = [ pw_third_party_freertos_CONFIG ]
+ public =
+ [ "$dir_pw_third_party_freertos/portable/GCC/ARM_CM7/r0p1/portmacro.h" ]
+ sources =
+ [ "$dir_pw_third_party_freertos/portable/GCC/ARM_CM7/r0p1/port.c" ]
+ configs = [ ":disable_warnings" ]
+ }
+
# ARM CM4F port of FreeRTOS.
config("arm_cm4f_includes") {
include_dirs = [ "$dir_pw_third_party_freertos/portable/GCC/ARM_CM4F" ]
@@ -136,6 +155,23 @@ if (dir_pw_third_party_freertos == "") {
sources = [ "$dir_pw_third_party_freertos/portable/GCC/ARM_CM4F/port.c" ]
configs = [ ":disable_warnings" ]
}
+
+ # ARM CM3 port of FreeRTOS.
+ config("arm_cm3_includes") {
+ include_dirs = [ "$dir_pw_third_party_freertos/portable/GCC/ARM_CM3" ]
+ visibility = [ ":arm_cm3" ]
+ }
+
+ pw_source_set("arm_cm3") {
+ public_configs = [
+ ":arm_cm3_includes",
+ ":public_includes",
+ ]
+ public_deps = [ pw_third_party_freertos_CONFIG ]
+ public = [ "$dir_pw_third_party_freertos/portable/GCC/ARM_CM3/portmacro.h" ]
+ sources = [ "$dir_pw_third_party_freertos/portable/GCC/ARM_CM3/port.c" ]
+ configs = [ ":disable_warnings" ]
+ }
}
config("public_include_path") {