From 6f2cb1805afdb4a9341998c1c544e8c0506c8d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Wed, 2 Nov 2022 13:42:57 +0100 Subject: [PATCH] Add nrfconnect window app to NRF builder (#23428) Refers to Matter nRF Connect Window Covering Example Application https://github.com/project-chip/connectedhomeip/tree/master/examples/window-app/nrfconnect Fixes #23427 --- scripts/build/builders/nrf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/build/builders/nrf.py b/scripts/build/builders/nrf.py index 106c163991de1a..39c93946b9b27d 100644 --- a/scripts/build/builders/nrf.py +++ b/scripts/build/builders/nrf.py @@ -28,6 +28,7 @@ class NrfApp(Enum): SHELL = auto() PUMP = auto() PUMP_CONTROLLER = auto() + WINDOW_COVERING = auto() UNIT_TESTS = auto() def AppPath(self): @@ -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: @@ -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: @@ -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')