Skip to content

Commit

Permalink
Add nrfconnect window app to NRF builder (#23428)
Browse files Browse the repository at this point in the history
Refers to Matter nRF Connect Window Covering Example Application
https://github.com/project-chip/connectedhomeip/tree/master/examples/window-app/nrfconnect

Fixes #23427
  • Loading branch information
lboue authored and pull[bot] committed Oct 11, 2023
1 parent 01239ae commit 5f3c340
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 5f3c340

Please sign in to comment.