diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml index 8a3fc40338b825..8ff9f4fb77a35f 100644 --- a/.github/workflows/examples-efr32.yaml +++ b/.github/workflows/examples-efr32.yaml @@ -67,6 +67,7 @@ jobs: ./scripts/run_in_build_env.sh \ "./scripts/build/build_examples.py \ --enable-flashbundle \ + --target efr32-brd4187c-air-quality-sensor \ --target efr32-brd4187c-thermostat-openthread-mtd \ --target efr32-brd4187c-switch-shell-use-ot-coap-lib \ --target efr32-brd4187c-unit-test \ diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index 27e7b72f5a65ad..39a41973d27a03 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=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..9fab7f276e98d0 100644 --- a/scripts/build/builders/efr32.py +++ b/scripts/build/builders/efr32.py @@ -45,6 +45,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 +65,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 +85,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)