diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml index 66b62945978077..11cddab9bad829 100644 --- a/.github/workflows/examples-efr32.yaml +++ b/.github/workflows/examples-efr32.yaml @@ -68,6 +68,7 @@ jobs: "./scripts/build/build_examples.py \ --enable-flashbundle \ --target efr32-brd4187c-thermostat-openthread-mtd \ + --target efr32=brd4187c-air-quality-sensor-app-openthread-mtd \ --target efr32-brd4187c-switch-shell-use-ot-coap-lib \ --target efr32-brd4187c-unit-test \ build \ diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index 0464c51f7b0e6b..bc426c8cd0002b 100755 --- a/scripts/build/build/targets.py +++ b/scripts/build/build/targets.py @@ -266,7 +266,8 @@ def BuildEfr32Target(): TargetPart('light', app=Efr32App.LIGHT), TargetPart('lock', app=Efr32App.LOCK), TargetPart('thermostat', app=Efr32App.THERMOSTAT), - TargetPart('pump', app=Efr32App.PUMP) + TargetPart('pump', app=Efr32App.PUMP), + TargetPart('air-quality-sensor-app', app=Efr32App.AIR_QUALITY_SENSOR) ]) target.AppendModifier('rpc', enable_rpcs=True) diff --git a/scripts/build/builders/efr32.py b/scripts/build/builders/efr32.py index 3c15cd4ccec452..0ca8649b1a3728 100644 --- a/scripts/build/builders/efr32.py +++ b/scripts/build/builders/efr32.py @@ -31,6 +31,7 @@ class Efr32App(Enum): THERMOSTAT = auto() PUMP = auto() UNIT_TEST = auto() + AIR_QUALITY_SENSOR = auto() def ExampleName(self): if self == Efr32App.LIGHT: @@ -45,6 +46,8 @@ def ExampleName(self): return 'thermostat' elif self == Efr32App.PUMP: return 'pump-app' + elif self == Efr32App.AIR_QUALITY_SENSOR: + return 'air-quality-sensor-app' else: raise Exception('Unknown app type: %r' % self) @@ -63,6 +66,8 @@ def AppNamePrefix(self): return 'matter-silabs-pump-example' elif self == Efr32App.UNIT_TEST: return 'matter-silabs-device_tests' + elif self == Efr32App.AIR_QUALITY_SENSOR: + return 'matter-silabs-air-quality-sensor-example' else: raise Exception('Unknown app type: %r' % self) @@ -81,6 +86,8 @@ def FlashBundleName(self): return 'pump_app.flashbundle.txt' elif self == Efr32App.UNIT_TEST: return os.path.join('tests', 'efr32_device_tests.flashbundle.txt') + elif self == Efr32App.AIR_QUALITY_SENSOR: + return 'air_quality_sensor_app.flashbundle.txt' else: raise Exception('Unknown app type: %r' % self)