Skip to content

Commit

Permalink
The examples/placeholder folder does contain a single zap configura…
Browse files Browse the repository at this point in the history
…tion, and this ZAP configuration is not enought to commission the (#10956)

virtual device.

The goal of this folder is to contain various zap configuration and have example about how to override some build flags (e.g CHIP_PORT).
At the moment, there is only a single ZAP file, which is not even configured properly in order to commission the virtual device.

 #### Changes Overview

Add the necessary clusters onto endpoint 0 for examples/placeholder/linux/apps/app1

Add a second example app into examples/placeholder/linux/apps/ that does not use a custom include nor custom tests

Update zap config names from zap.config to config.zap and make sure to exclude them into zap_regen_all.py
  • Loading branch information
vivien-apple authored Oct 27, 2021
1 parent 1114959 commit 3249310
Show file tree
Hide file tree
Showing 6 changed files with 2,632 additions and 206 deletions.
2 changes: 1 addition & 1 deletion examples/placeholder/linux/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ declare_args() {
}

chip_data_model("configuration") {
zap_file = "apps/${chip_tests_zap_config}/zap.config"
zap_file = "apps/${chip_tests_zap_config}/config.zap"

zap_pregenerated_dir = "${chip_root}/out/debug/placeholder/${chip_tests_zap_config}/zap-generated"
is_server = true
Expand Down
Loading

0 comments on commit 3249310

Please sign in to comment.