Skip to content

Commit b3087d6

Browse files
Add build target for BRD2703A (#33362)
* Add build target for BRD2703A Build-script-only change to allow building examples against EFR32 BRD2703A variant. Testing done: - `./scripts/build/build_examples.py --target efr32-brd2703a-unit-test build` works after this change, and not before. * Fix all targets golden file :( --------- Co-authored-by: Andrei Litvin <andy314@gmail.com>
1 parent 4cea6a9 commit b3087d6

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

scripts/build/build/targets.py

+1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ def BuildEfr32Target():
230230

231231
# board
232232
target.AppendFixedTargets([
233+
TargetPart('brd2703a', board=Efr32Board.BRD2703A),
233234
TargetPart('brd4161a', board=Efr32Board.BRD4161A),
234235
TargetPart('brd4187c', board=Efr32Board.BRD4187C),
235236
TargetPart('brd4186c', board=Efr32Board.BRD4186C),

scripts/build/builders/efr32.py

+3
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ class Efr32Board(Enum):
100100
BRD4187C = 9
101101
BRD4186C = 10
102102
BRD4338A = 11
103+
BRD2703A = 12
103104

104105
def GnArgName(self):
105106
if self == Efr32Board.BRD4161A:
@@ -124,6 +125,8 @@ def GnArgName(self):
124125
return 'BRD4187C'
125126
elif self == Efr32Board.BRD4338A:
126127
return 'BRD4338A'
128+
elif self == Efr32Board.BRD2703A:
129+
return 'BRD2703A'
127130
else:
128131
raise Exception('Unknown board #: %r' % self)
129132

scripts/build/testdata/all_targets_linux_x64.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ bouffalolab-{bl602-iot-matter-v1,bl602-night-light,xt-zb6-devkit,bl706-night-lig
55
cc32xx-{lock,air-purifier}
66
ti-cc13x4_26x4-{all-clusters,lighting,lock,pump,pump-controller}[-mtd][-ftd]
77
cyw30739-{cyw30739b2_p5_evk_01,cyw30739b2_p5_evk_02,cyw30739b2_p5_evk_03,cyw930739m2evb_01,cyw930739m2evb_02}-{light,light-switch,lock,thermostat}
8-
efr32-{brd4161a,brd4187c,brd4186c,brd4163a,brd4164a,brd4166a,brd4170a,brd4186a,brd4187a,brd4304a,brd4338a}-{window-covering,switch,unit-test,light,lock,thermostat,pump}[-rpc][-with-ota-requestor][-icd][-low-power][-shell][-no-logging][-openthread-mtd][-heap-monitoring][-no-openthread-cli][-show-qr-code][-wifi][-rs9116][-wf200][-siwx917][-ipv4][-additional-data-advertising][-use-ot-lib][-use-ot-coap-lib][-no-version][-skip-rps-generation]
8+
efr32-{brd2703a,brd4161a,brd4187c,brd4186c,brd4163a,brd4164a,brd4166a,brd4170a,brd4186a,brd4187a,brd4304a,brd4338a}-{window-covering,switch,unit-test,light,lock,thermostat,pump}[-rpc][-with-ota-requestor][-icd][-low-power][-shell][-no-logging][-openthread-mtd][-heap-monitoring][-no-openthread-cli][-show-qr-code][-wifi][-rs9116][-wf200][-siwx917][-ipv4][-additional-data-advertising][-use-ot-lib][-use-ot-coap-lib][-no-version][-skip-rps-generation]
99
esp32-{m5stack,c3devkit,devkitc,qemu}-{all-clusters,all-clusters-minimal,energy-management,ota-provider,ota-requestor,shell,light,lock,bridge,temperature-measurement,ota-requestor,tests}[-rpc][-ipv6only][-tracing]
1010
genio-lighting-app
1111
linux-fake-tests[-mbedtls][-boringssl][-asan][-tsan][-ubsan][-libfuzzer][-ossfuzz][-coverage][-dmalloc][-clang]

0 commit comments

Comments
 (0)