Skip to content

Commit

Permalink
Map shell to lighting-app. Shell seems to not care what it is, lighti…
Browse files Browse the repository at this point in the history
…ng seemed small
  • Loading branch information
andy31415 committed Feb 28, 2024
1 parent adab26e commit 2866f69
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/shell/cc13x2x7_26x2x7/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ matter_software_ver = "0x0001"
matter_software_ver_str = "1.0d1"

custom_factory_data = true

chip_static_data_model_BACKEND =
"${chip_root}/examples/lighting-app/lighting-common:lighting-common"
3 changes: 3 additions & 0 deletions examples/shell/cc13x4_26x4/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ matter_software_ver = "0x0001"
matter_software_ver_str = "1.0.1+1"

custom_factory_data = true

chip_static_data_model_BACKEND =
"${chip_root}/examples/lighting-app/lighting-common:lighting-common"
4 changes: 4 additions & 0 deletions examples/shell/esp32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ cmake_minimum_required(VERSION 3.5)
set(PROJECT_VER "v1.0")
set(PROJECT_VER_NUMBER 1)


get_filename_component(CHIP_ROOT ./third_party/connectedhomeip REALPATH)
set_property(GLOBAL PROPERTY gn_static_data_model_BACKEND "${CHIP_ROOT}/examples/lighting-app/lighting-common:lighting-common")

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/third_party/connectedhomeip/examples/common/cmake/idf_flashing.cmake)

Expand Down
3 changes: 3 additions & 0 deletions examples/shell/genio/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ chip_config_network_layer_ble = false
chip_enable_openthread = false
chip_openthread_ftd = false
chip_build_libshell = true

chip_static_data_model_BACKEND =
"${chip_root}/examples/lighting-app/lighting-common:lighting-common"
4 changes: 4 additions & 0 deletions examples/shell/nrfconnect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ include(${CHIP_ROOT}/config/nrfconnect/app/check-nrfconnect-version.cmake)
# Load NCS/Zephyr build system
set(CONF_FILE prj.conf)


get_filename_component(CHIP_ROOT ./third_party/connectedhomeip REALPATH)
set_property(GLOBAL PROPERTY gn_static_data_model_BACKEND "${CHIP_ROOT}/examples/lighting-app/lighting-common:lighting-common")

list(APPEND ZEPHYR_EXTRA_MODULES ${CHIP_ROOT}/config/nrfconnect/chip-module)
find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})

Expand Down
3 changes: 3 additions & 0 deletions examples/shell/standalone/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
import("//build_overrides/chip.gni")

import("${chip_root}/config/standalone/args.gni")

chip_static_data_model_BACKEND =
"${chip_root}/examples/lighting-app/lighting-common:lighting-common"

0 comments on commit 2866f69

Please sign in to comment.