Skip to content

Commit

Permalink
Move FTD vs MTD define to each example script and enable FTD for ligh…
Browse files Browse the repository at this point in the history
…ting example app (project-chip#16429)
  • Loading branch information
lucicop authored and andrei-menzopol committed Apr 14, 2022
1 parent 336d033 commit 847ad34
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/lighting-app/qpg/.gn
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ check_system_includes = true
default_args = {
target_cpu = "arm"
target_os = "freertos"
chip_openthread_ftd = false

import("//args.gni")
}
1 change: 1 addition & 0 deletions examples/lighting-app/qpg/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ qpg_sdk_target = get_label_info(":sdk", "label_no_toolchain")

declare_args() {
chip_enable_ota_requestor = true
chip_openthread_ftd = true

# Disable lock tracking, since our FreeRTOS configuration does not set
# INCLUDE_xSemaphoreGetMutexHolder
Expand Down
1 change: 1 addition & 0 deletions examples/lock-app/qpg/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ qpg_sdk_target = get_label_info(":sdk", "label_no_toolchain")

declare_args() {
chip_enable_ota_requestor = true
chip_openthread_ftd = false

# Disable lock tracking, since our FreeRTOS configuration does not set
# INCLUDE_xSemaphoreGetMutexHolder
Expand Down
1 change: 1 addition & 0 deletions examples/persistent-storage/qpg/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import("//build_overrides/chip.gni")
import("${chip_root}/examples/platform/qpg/args.gni")
qpg_sdk_target = get_label_info(":sdk", "label_no_toolchain")
chip_enable_openthread = false
chip_openthread_ftd = false
chip_system_config_use_open_thread_udp = false

declare_args() {
Expand Down
1 change: 0 additions & 1 deletion examples/platform/qpg/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import("//build_overrides/chip.gni")
import("${chip_root}/src/platform/qpg/args.gni")

chip_enable_openthread = true
chip_openthread_ftd = false
openthread_project_core_config_file = "OpenThreadConfig.h"
openthread_core_config_deps = []
openthread_core_config_deps = [
Expand Down
2 changes: 2 additions & 0 deletions examples/shell/qpg/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ chip_build_libshell = true
# Disable lock tracking, since our FreeRTOS configuration does not set
# INCLUDE_xSemaphoreGetMutexHolder
chip_stack_lock_tracking = "none"

chip_openthread_ftd = false

0 comments on commit 847ad34

Please sign in to comment.