diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml index 4bf49fd6621625..83c7fb3693a504 100644 --- a/.github/workflows/examples-efr32.yaml +++ b/.github/workflows/examples-efr32.yaml @@ -89,8 +89,8 @@ jobs: "./scripts/build/build_examples.py \ --enable-flashbundle \ --target efr32-brd4187c-window-covering-additional_data_advertising \ - --target efr32-brd4187c-switch-openthread_mtd-shell \ - --target efr32-brd4187c-switch-sed-low-power-use_ot_coap_lib \ + --target efr32-brd4187c-thermostat-openthread_mtd \ + --target efr32-brd4187c-switch-sed-shell-use_ot_coap_lib \ --target efr32-brd4187c-unit-test \ --target efr32-brd4187c-light-use_ot_lib \ --target efr32-brd4187c-light-rpc \ diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index db7053e9fdb301..8a522cd9f3bc40 100755 --- a/scripts/build/build/targets.py +++ b/scripts/build/build/targets.py @@ -192,6 +192,7 @@ def BuildEfr32Target(): target.AppendFixedTargets([ TargetPart('brd4161a', board=Efr32Board.BRD4161A), TargetPart('brd4187c', board=Efr32Board.BRD4187C), + TargetPart('brd4186c', board=Efr32Board.BRD4186C), TargetPart('brd4163a', board=Efr32Board.BRD4163A), TargetPart('brd4164a', board=Efr32Board.BRD4164A), TargetPart('brd4166a', board=Efr32Board.BRD4166A), @@ -208,6 +209,7 @@ def BuildEfr32Target(): TargetPart('unit-test', app=Efr32App.UNIT_TEST), TargetPart('light', app=Efr32App.LIGHT), TargetPart('lock', app=Efr32App.LOCK), + TargetPart('thermostat', app=Efr32App.THERMOSTAT) ]) target.AppendModifier('rpc', enable_rpcs=True) diff --git a/scripts/build/builders/efr32.py b/scripts/build/builders/efr32.py index 786c5a0dfc34cd..5cf7ca2f93d22f 100644 --- a/scripts/build/builders/efr32.py +++ b/scripts/build/builders/efr32.py @@ -25,6 +25,7 @@ class Efr32App(Enum): LOCK = auto() SWITCH = auto() WINDOW_COVERING = auto() + THERMOSTAT = auto() UNIT_TEST = auto() def ExampleName(self): @@ -36,6 +37,8 @@ def ExampleName(self): return 'light-switch-app' elif self == Efr32App.WINDOW_COVERING: return 'window-app' + elif self == Efr32App.THERMOSTAT: + return 'thermostat' else: raise Exception('Unknown app type: %r' % self) @@ -48,6 +51,8 @@ def AppNamePrefix(self): return 'chip-efr32-light-switch-example' elif self == Efr32App.WINDOW_COVERING: return 'chip-efr32-window-example' + elif self == Efr32App.THERMOSTAT: + return 'chip-efr32-thermostat-example' elif self == Efr32App.UNIT_TEST: return 'chip-efr32-device_tests' else: @@ -62,6 +67,8 @@ def FlashBundleName(self): return 'light_switch_app.flashbundle.txt' elif self == Efr32App.WINDOW_COVERING: return 'window_app.flashbundle.txt' + elif self == Efr32App.THERMOSTAT: + return 'thermostat_app.flashbundle.txt' elif self == Efr32App.UNIT_TEST: return 'efr32_device_tests.flashbundle.txt' else: @@ -84,6 +91,7 @@ class Efr32Board(Enum): BRD4187A = 7 BRD4304A = 8 BRD4187C = 9 + BRD4186C = 10 def GnArgName(self): if self == Efr32Board.BRD4161A: @@ -102,6 +110,8 @@ def GnArgName(self): return 'BRD4187A' elif self == Efr32Board.BRD4304A: return 'BRD4304A' + elif self == Efr32Board.BRD4186C: + return 'BRD4186C' elif self == Efr32Board.BRD4187C: return 'BRD4187C' else: diff --git a/scripts/build/testdata/all_targets_linux_x64.txt b/scripts/build/testdata/all_targets_linux_x64.txt index 77c780e3431b98..020570fc3f6ed4 100644 --- a/scripts/build/testdata/all_targets_linux_x64.txt +++ b/scripts/build/testdata/all_targets_linux_x64.txt @@ -4,7 +4,7 @@ bouffalolab-{bl602-iot-matter-v1,bl602-iot-dvk-3s,bl602-night-light,xt-zb6-devki cc13x2x7_26x2x7-{all-clusters,all-clusters-minimal,lock,pump,pump-controller,shell}[-ftd][-mtd] cc32xx-lock cyw30739-cyw930739m2evb_01-{light,lock,ota-requestor}[-no-progress-logging] -efr32-{brd4161a,brd4187c,brd4163a,brd4164a,brd4166a,brd4170a,brd4186a,brd4187a,brd4304a}-{window-covering,switch,unit-test,light,lock}[-rpc][-with-ota-requestor][-sed][-low-power][-shell][-no_logging][-openthread_mtd][-enable_heap_monitoring][-no_openthread_cli][-show_qr_code][-wifi][-rs911x][-wf200][-wifi_ipv4][-additional_data_advertising][-use_ot_lib][-use_ot_coap_lib][-no-version] +efr32-{brd4161a,brd4187c,brd4186c,brd4163a,brd4164a,brd4166a,brd4170a,brd4186a,brd4187a,brd4304a}-{window-covering,switch,unit-test,light,lock,thermostat}[-rpc][-with-ota-requestor][-sed][-low-power][-shell][-no_logging][-openthread_mtd][-enable_heap_monitoring][-no_openthread_cli][-show_qr_code][-wifi][-rs911x][-wf200][-wifi_ipv4][-additional_data_advertising][-use_ot_lib][-use_ot_coap_lib][-no-version] esp32-{m5stack,c3devkit,devkitc,qemu}-{all-clusters,all-clusters-minimal,ota-provider,ota-requestor,shell,light,lock,bridge,temperature-measurement,ota-requestor,tests}[-rpc][-ipv6only] genio-lighting-app linux-fake-tests[-mbedtls][-boringssl][-asan][-tsan][-ubsan][-libfuzzer][-coverage][-dmalloc][-clang]