Skip to content

Commit

Permalink
Merge branch 'master' into telink_all_clusters_app
Browse files Browse the repository at this point in the history
  • Loading branch information
s07641069 authored Nov 2, 2022
2 parents b720ac5 + 6f2cb18 commit cf9f2e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/build/builders/nrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class NrfApp(Enum):
SHELL = auto()
PUMP = auto()
PUMP_CONTROLLER = auto()
WINDOW_COVERING = auto()
UNIT_TESTS = auto()

def AppPath(self):
Expand All @@ -45,6 +46,8 @@ def AppPath(self):
return 'examples/pump-app'
elif self == NrfApp.PUMP_CONTROLLER:
return 'examples/pump-controller-app'
elif self == NrfApp.WINDOW_COVERING:
return 'examples/window-app'
elif self == NrfApp.UNIT_TESTS:
return 'src/test_driver'
else:
Expand All @@ -65,6 +68,8 @@ def AppNamePrefix(self):
return 'chip-nrf-pump-example'
elif self == NrfApp.PUMP_CONTROLLER:
return 'chip-nrf-pump-controller-example'
elif self == NrfApp.WINDOW_COVERING:
return 'chip-nrf-window-example'
elif self == NrfApp.UNIT_TESTS:
return 'chip-nrf-unit-tests'
else:
Expand All @@ -85,6 +90,8 @@ def _FlashBundlePrefix(self):
return 'chip-nrfconnect-pump-example'
elif self == NrfApp.PUMP_CONTROLLER:
return 'chip-nrfconnect-pump-controller-example'
elif self == NrfApp.WINDOW_COVERING:
return 'chip-nrfconnect-window-example'
elif self == NrfApp.UNIT_TESTS:
raise Exception(
'Unit tests compile natively and do not have a flashbundle')
Expand Down

0 comments on commit cf9f2e1

Please sign in to comment.