Skip to content

Commit

Permalink
Enable CHIP shell in the EFR32 OTA Requestor app
Browse files Browse the repository at this point in the history
  • Loading branch information
selissia committed Jan 24, 2022
1 parent a5b9f89 commit 653bfd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/ota-requestor-app/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ efr32_sdk("sdk") {
"${chip_root}/src/platform/EFR32",
"${efr32_project_dir}/include",
"${examples_plat_dir}",
"${chip_root}/src/lib",
]

defines = [
Expand All @@ -81,6 +82,8 @@ efr32_sdk("sdk") {

efr32_executable("ota_requestor_app") {
output_name = "chip-efr32-ota-requestor-example.out"
include_dirs = [ "include" ]
defines = []

sources = [
"${examples_plat_dir}/LEDWidget.cpp",
Expand Down Expand Up @@ -116,10 +119,6 @@ efr32_executable("ota_requestor_app") {
]
}

include_dirs = [ "include" ]

defines = []

if (show_qr_code) {
sources += [ "${examples_plat_dir}/display/lcd.c" ]
defines += [ "DISPLAY_ENABLED" ]
Expand Down
1 change: 1 addition & 0 deletions examples/ota-requestor-app/efr32/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ chip_openthread_ftd = false

declare_args() {
chip_enable_ota_requestor = true
chip_build_libshell = true
}

0 comments on commit 653bfd8

Please sign in to comment.