Skip to content

Commit 845946f

Browse files
lucicoppull[bot]
authored andcommittedJan 4, 2024
Move FTD vs MTD define to each example script and enable FTD for lighting example app (#16429)
1 parent e1c4cfa commit 845946f

File tree

6 files changed

+5
-2
lines changed

6 files changed

+5
-2
lines changed
 

‎examples/lighting-app/qpg/.gn

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ check_system_includes = true
2323
default_args = {
2424
target_cpu = "arm"
2525
target_os = "freertos"
26-
chip_openthread_ftd = false
2726

2827
import("//args.gni")
2928
}

‎examples/lighting-app/qpg/args.gni

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ qpg_sdk_target = get_label_info(":sdk", "label_no_toolchain")
2020

2121
declare_args() {
2222
chip_enable_ota_requestor = true
23+
chip_openthread_ftd = true
2324

2425
# Disable lock tracking, since our FreeRTOS configuration does not set
2526
# INCLUDE_xSemaphoreGetMutexHolder

‎examples/lock-app/qpg/args.gni

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ qpg_sdk_target = get_label_info(":sdk", "label_no_toolchain")
2020

2121
declare_args() {
2222
chip_enable_ota_requestor = true
23+
chip_openthread_ftd = false
2324

2425
# Disable lock tracking, since our FreeRTOS configuration does not set
2526
# INCLUDE_xSemaphoreGetMutexHolder

‎examples/persistent-storage/qpg/args.gni

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import("//build_overrides/chip.gni")
1717
import("${chip_root}/examples/platform/qpg/args.gni")
1818
qpg_sdk_target = get_label_info(":sdk", "label_no_toolchain")
1919
chip_enable_openthread = false
20+
chip_openthread_ftd = false
2021
chip_system_config_use_open_thread_udp = false
2122

2223
declare_args() {

‎examples/platform/qpg/args.gni

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import("//build_overrides/chip.gni")
1717
import("${chip_root}/src/platform/qpg/args.gni")
1818

1919
chip_enable_openthread = true
20-
chip_openthread_ftd = false
2120
openthread_project_core_config_file = "OpenThreadConfig.h"
2221
openthread_core_config_deps = []
2322
openthread_core_config_deps = [

‎examples/shell/qpg/args.gni

+2
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ chip_build_libshell = true
2525
# Disable lock tracking, since our FreeRTOS configuration does not set
2626
# INCLUDE_xSemaphoreGetMutexHolder
2727
chip_stack_lock_tracking = "none"
28+
29+
chip_openthread_ftd = false

0 commit comments

Comments
 (0)