Skip to content

Commit

Permalink
Add nrfconnect window app to NRF builder (project-chip#23428)
Browse files Browse the repository at this point in the history
  • Loading branch information
lboue authored and adbridge committed Nov 17, 2022
1 parent 613cf99 commit a8d40bf
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 a8d40bf

Please sign in to comment.