Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs committed May 18, 2023
1 parent d2ccd4d commit 8e2a525
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ def main() -> int:
elif (options.build_target == "silabs-thread") or (options.build_target == "silabs-wifi"):
shell.run_cmd(f"cd {_CHEF_SCRIPT_PATH}/efr32")
shell.run_cmd(
f"python3 out/{options.sample_device_type_name}/{silabs_board}/chip-efr32-chef-example.flash.py")
f"python3 out/{options.sample_device_type_name}/{silabs_board}/matter-silabs-chef-example.flash.py")

shell.run_cmd(f"cd {_CHEF_SCRIPT_PATH}")
elif (options.build_target == "ameba"):
Expand Down
2 changes: 1 addition & 1 deletion examples/chef/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ efr32_sdk("sdk") {
}

silabs_executable("chef_app") {
output_name = "chip-efr32-chef-example.out"
output_name = "matter-silabs-chef-example.out"
include_dirs = [ "include" ]
defines = []

Expand Down
2 changes: 1 addition & 1 deletion examples/light-switch-app/silabs/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ arguments
- On the command line:

$ cd ~/connectedhomeip/examples/light-switch-app/silabs/efr32
$ python3 out/debug/chip-efr32-light-switch-example.flash.py
$ python3 out/debug/matter-silabs-light-switch-example.flash.py

- Or with the Ozone debugger, just load the .out file.

Expand Down
2 changes: 1 addition & 1 deletion examples/lighting-app/silabs/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ arguments
- On the command line:

$ cd ~/connectedhomeip/examples/lighting-app/silabs/efr32
$ python3 out/debug/chip-efr32-lighting-example.flash.py
$ python3 out/debug/matter-silabs-lighting-example.flash.py

- Or with the Ozone debugger, just load the .out file.

Expand Down
2 changes: 1 addition & 1 deletion examples/lock-app/silabs/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ arguments

```
$ cd ~/connectedhomeip/examples/lock-app/silabs/efr32
$ python3 out/debug/chip-efr32-lock-example.flash.py
$ python3 out/debug/matter-silabs-lock-example.flash.py
```

- Or with the Ozone debugger, just load the .out file.
Expand Down
2 changes: 1 addition & 1 deletion examples/thermostat/silabs/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ arguments
- On the command line:

$ cd ~/connectedhomeip/examples/thermostat/silabs/efr32
$ python3 out/debug/chip-efr32-thermostat-switch-example.flash.py
$ python3 out/debug/matter-silabs-thermostat-switch-example.flash.py

- Or with the Ozone debugger, just load the .out file.

Expand Down
2 changes: 1 addition & 1 deletion examples/window-app/silabs/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ arguments
- On the command line:

$ cd ~/connectedhomeip/examples/window-app/silabs/efr32
$ python3 out/debug/chip-efr32-window-example.flash.py
$ python3 out/debug/matter-silabs-window-example.flash.py

- Or with the Ozone debugger, just load the .out file.

Expand Down
12 changes: 6 additions & 6 deletions scripts/build/builders/efr32.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ def ExampleName(self):

def AppNamePrefix(self):
if self == Efr32App.LIGHT:
return 'chip-efr32-lighting-example'
return 'matter-silabs-lighting-example'
elif self == Efr32App.LOCK:
return 'chip-efr32-lock-example'
return 'matter-silabs-lock-example'
elif self == Efr32App.SWITCH:
return 'chip-efr32-light-switch-example'
return 'matter-silabs-light-switch-example'
elif self == Efr32App.WINDOW_COVERING:
return 'chip-efr32-window-example'
return 'matter-silabs-window-example'
elif self == Efr32App.THERMOSTAT:
return 'chip-efr32-thermostat-example'
return 'matter-silabs-thermostat-example'
elif self == Efr32App.UNIT_TEST:
return 'chip-efr32-device_tests'
return 'matter-silabs-device_tests'
else:
raise Exception('Unknown app type: %r' % self)

Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ efr32_sdk("sdk") {
}

silabs_executable("efr32_device_tests") {
output_name = "chip-efr32-device_tests.out"
output_name = "matter-silabs-device_tests.out"

defines = [ "PW_RPC_ENABLED" ]
sources = [
Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@ the output folder for deploying.
- To run the tests:

```
python -m nl_test_runner.nl_test_runner -d /dev/ttyACM1 -f out/debug/chip-efr32-device_tests.s37 -o out.log
python -m nl_test_runner.nl_test_runner -d /dev/ttyACM1 -f out/debug/matter-silabs-device_tests.s37 -o out.log
```

0 comments on commit 8e2a525

Please sign in to comment.