Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nrfconnect switch app in build targets script #23793

Merged
merged 6 commits into from
Nov 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/build/build/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def BuildNrfTarget():
TargetPart('all-clusters-minimal', app=NrfApp.ALL_CLUSTERS_MINIMAL),
TargetPart('lock', app=NrfApp.LOCK),
TargetPart('light', app=NrfApp.LIGHT),
TargetPart('light-switch', app=NrfApp.SWITCH),
TargetPart('shell', app=NrfApp.SHELL),
TargetPart('pump', app=NrfApp.PUMP),
TargetPart('pump-controller', app=NrfApp.PUMP_CONTROLLER),
Expand Down
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()
SWITCH = auto()
WINDOW_COVERING = auto()
UNIT_TESTS = auto()

Expand All @@ -38,6 +39,8 @@ def AppPath(self):
return 'examples/all-clusters-minimal-app'
elif self == NrfApp.LIGHT:
return 'examples/lighting-app'
elif self == NrfApp.SWITCH:
return 'light-switch-app'
elif self == NrfApp.LOCK:
return 'examples/lock-app'
elif self == NrfApp.SHELL:
Expand All @@ -60,6 +63,8 @@ def AppNamePrefix(self):
return 'chip-nrf-all-clusters-minimal-example'
elif self == NrfApp.LIGHT:
return 'chip-nrf-lighting-example'
elif self == NrfApp.SWITCH:
return 'chip-nrf-light-switch-example'
elif self == NrfApp.LOCK:
return 'chip-nrf-lock-example'
elif self == NrfApp.SHELL:
Expand All @@ -82,6 +87,8 @@ def _FlashBundlePrefix(self):
return 'chip-nrfconnect-all-clusters-minimal-app-example'
elif self == NrfApp.LIGHT:
return 'chip-nrfconnect-lighting-example'
elif self == NrfApp.SWITCH:
return 'chip-nrfconnect-switch-example'
elif self == NrfApp.LOCK:
return 'chip-nrfconnect-lock-example'
elif self == NrfApp.SHELL:
Expand Down
2 changes: 1 addition & 1 deletion scripts/build/testdata/all_targets_linux_x64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ infineon-psoc6-{lock,light,all-clusters,all-clusters-minimal}[-ota][-updateimage
k32w-{light,shell,lock,contact}[-se05x][-no-ble][-no-ota][-low-power][-nologs]
mbed-cy8cproto_062_4343w-{lock,light,all-clusters,all-clusters-minimal,pigweed,shell}[-release][-develop][-debug]
mw320-all-clusters-app
nrf-{nrf5340dk,nrf52840dk,nrf52840dongle}-{all-clusters,all-clusters-minimal,lock,light,shell,pump,pump-controller}[-rpc]
nrf-{nrf5340dk,nrf52840dk,nrf52840dongle}-{all-clusters,all-clusters-minimal,lock,light,light-switch,shell,pump,pump-controller}[-rpc]
nrf-native-posix-64-tests
qpg-qpg6105-{lock,light,shell,persistent-storage}
tizen-arm-{all-clusters,all-clusters-minimal,chip-tool,light}[-no-ble][-no-wifi][-asan]
Expand Down