Skip to content

Commit

Permalink
Chef - Add 13 sample apps (project-chip#19663)
Browse files Browse the repository at this point in the history
* Chef - Remove redundant hash_string in sample_app_util rename func

* Chef - Add debugg output on exception to stateful_shell

* Chef - Add choices for device arg

* Chef - Add 13 sample apps
  • Loading branch information
cpagravel committed Jun 25, 2022
1 parent e6f0db8 commit 0b82e68
Show file tree
Hide file tree
Showing 185 changed files with 140,894 additions and 396 deletions.
5 changes: 3 additions & 2 deletions examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
_CI_DEVICE_MANIFEST_NAME = "INPUTMD5.txt"
_CI_ZAP_MANIFEST_NAME = "ZAPSHA.txt"
_CICD_CONFIG_FILE_NAME = os.path.join(_CHEF_SCRIPT_PATH, "cicd_meta.json")
_CI_ALLOW_LIST = ["lighting-app"]
_CI_ALLOW_LIST = ["rootnode_dimmablelight_gY80DaqEUL"]

gen_dir = "" # Filled in after sample app type is read from args.

Expand Down Expand Up @@ -231,7 +231,8 @@ def main(argv: Sequence[str]) -> None:
parser.add_option("-g", "--zapgui", help="runs zap GUI display to allow editing of data model",
action="store_true", dest="do_run_gui")
parser.add_option("-d", "--device", dest="sample_device_type_name",
help="specifies device type. Default is lighting. See info above for supported device types", metavar="TARGET", default="lighting")
help="specifies device type. Default is lighting. See info above for supported device types",
metavar="TARGET", choices=_DEVICE_LIST)
parser.add_option("-t", "--target", type='choice',
action='store',
dest="build_target",
Expand Down
Loading

0 comments on commit 0b82e68

Please sign in to comment.