File tree 3 files changed +9
-1
lines changed
3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 67
67
./scripts/run_in_build_env.sh \
68
68
"./scripts/build/build_examples.py \
69
69
--enable-flashbundle \
70
+ --target efr32-brd4187c-air-quality-sensor \
70
71
--target efr32-brd4187c-thermostat-openthread-mtd \
71
72
--target efr32-brd4187c-switch-shell-use-ot-coap-lib \
72
73
--target efr32-brd4187c-unit-test \
Original file line number Diff line number Diff line change @@ -263,7 +263,8 @@ def BuildEfr32Target():
263
263
TargetPart ('light' , app = Efr32App .LIGHT ),
264
264
TargetPart ('lock' , app = Efr32App .LOCK ),
265
265
TargetPart ('thermostat' , app = Efr32App .THERMOSTAT ),
266
- TargetPart ('pump' , app = Efr32App .PUMP )
266
+ TargetPart ('pump' , app = Efr32App .PUMP ),
267
+ TargetPart ('air-quality-sensor' , app = Efr32App .AIR_QUALITY_SENSOR )
267
268
])
268
269
269
270
target .AppendModifier ('rpc' , enable_rpcs = True )
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ def ExampleName(self):
45
45
return 'thermostat'
46
46
elif self == Efr32App .PUMP :
47
47
return 'pump-app'
48
+ elif self == Efr32App .AIR_QUALITY_SENSOR :
49
+ return 'air-quality-sensor-app'
48
50
else :
49
51
raise Exception ('Unknown app type: %r' % self )
50
52
@@ -63,6 +65,8 @@ def AppNamePrefix(self):
63
65
return 'matter-silabs-pump-example'
64
66
elif self == Efr32App .UNIT_TEST :
65
67
return 'matter-silabs-device_tests'
68
+ elif self == Efr32App .AIR_QUALITY_SENSOR :
69
+ return 'matter-silabs-air-quality-sensor-example'
66
70
else :
67
71
raise Exception ('Unknown app type: %r' % self )
68
72
@@ -81,6 +85,8 @@ def FlashBundleName(self):
81
85
return 'pump_app.flashbundle.txt'
82
86
elif self == Efr32App .UNIT_TEST :
83
87
return os .path .join ('tests' , 'efr32_device_tests.flashbundle.txt' )
88
+ elif self == Efr32App .AIR_QUALITY_SENSOR :
89
+ return 'air_quality_sensor_app.flashbundle.txt'
84
90
else :
85
91
raise Exception ('Unknown app type: %r' % self )
86
92
You can’t perform that action at this time.
0 commit comments