From 40041102151edbc4b069ebbd51f3141d1c30e534 Mon Sep 17 00:00:00 2001 From: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com> Date: Fri, 4 Aug 2023 12:05:11 -0400 Subject: [PATCH] [Silabs] Rename SED build target to ICD for python scripts (#28504) * rename sed to icd in build targets * update txt tagets * rename targets --- .github/workflows/examples-efr32.yaml | 4 ++-- scripts/build/build/targets.py | 4 ++-- scripts/build/builders/efr32.py | 4 ++-- scripts/build/testdata/all_targets_linux_x64.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml index 685a641e5a552a..b0e3eef9b3cbe7 100644 --- a/.github/workflows/examples-efr32.yaml +++ b/.github/workflows/examples-efr32.yaml @@ -67,7 +67,7 @@ jobs: "./scripts/build/build_examples.py \ --enable-flashbundle \ --target efr32-brd4187c-thermostat-openthread_mtd \ - --target efr32-brd4187c-switch-sed-shell-use_ot_coap_lib \ + --target efr32-brd4187c-switch-shell-use_ot_coap_lib \ --target efr32-brd4187c-unit-test \ build \ --copy-artifacts-to out/artifacts \ @@ -81,7 +81,7 @@ jobs: --enable-flashbundle \ --target efr32-brd4187c-light-use_ot_lib \ --target efr32-brd4187c-pump \ - --target efr32-brd4187c-lock-rpc-shell-enable_heap_monitoring \ + --target efr32-brd4187c-lock-shell-enable_heap_monitoring \ build \ --copy-artifacts-to out/artifacts \ " diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index b6bb80b2ebe5c7..609400764e0c72 100755 --- a/scripts/build/build/targets.py +++ b/scripts/build/build/targets.py @@ -237,8 +237,8 @@ def BuildEfr32Target(): target.AppendModifier('rpc', enable_rpcs=True) target.AppendModifier('with-ota-requestor', enable_ota_requestor=True) - target.AppendModifier('sed', enable_sed=True) - target.AppendModifier('low-power', enable_low_power=True).OnlyIfRe('-sed') + target.AppendModifier('icd', enable_icd=True) + target.AppendModifier('low-power', enable_low_power=True).OnlyIfRe('-icd') target.AppendModifier('shell', chip_build_libshell=True) target.AppendModifier('no_logging', chip_logging=False) target.AppendModifier('openthread_mtd', chip_openthread_ftd=False) diff --git a/scripts/build/builders/efr32.py b/scripts/build/builders/efr32.py index e45574accd3894..990f44993eb55d 100644 --- a/scripts/build/builders/efr32.py +++ b/scripts/build/builders/efr32.py @@ -140,7 +140,7 @@ def __init__(self, show_qr_code: bool = False, enable_rpcs: bool = False, enable_ota_requestor: bool = False, - enable_sed: bool = False, + enable_icd: bool = False, enable_low_power: bool = False, enable_wifi: bool = False, enable_rs911x: bool = False, @@ -164,7 +164,7 @@ def __init__(self, if enable_ota_requestor: self.extra_gn_options.append('chip_enable_ota_requestor=true') - if enable_sed: + if enable_icd: self.extra_gn_options.append('chip_enable_icd_server=true chip_openthread_ftd=false') if enable_low_power: diff --git a/scripts/build/testdata/all_targets_linux_x64.txt b/scripts/build/testdata/all_targets_linux_x64.txt index db0d31ea145989..1ac764d6f1afb0 100644 --- a/scripts/build/testdata/all_targets_linux_x64.txt +++ b/scripts/build/testdata/all_targets_linux_x64.txt @@ -6,7 +6,7 @@ cc32xx-lock ti-cc13x2x7_26x2x7-{lighting,lock,pump,pump-controller}[-mtd] ti-cc13x4_26x4-{all-clusters,lighting,lock,pump,pump-controller}[-mtd][-ftd] cyw30739-cyw930739m2evb_01-{light,lock,ota-requestor,switch} -efr32-{brd4161a,brd4187c,brd4186c,brd4163a,brd4164a,brd4166a,brd4170a,brd4186a,brd4187a,brd4304a}-{window-covering,switch,unit-test,light,lock,thermostat,pump}[-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,pump}[-rpc][-with-ota-requestor][-icd][-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][-ossfuzz][-coverage][-dmalloc][-clang]