Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming prior to the delivery of the work about "NFC Commissioning". #36801

Merged
merged 22 commits into from
Jan 16, 2025

Conversation

OlivierGre
Copy link
Contributor

@OlivierGre OlivierGre commented Dec 11, 2024

In current code, "NFC Commissioning" was used for Onboarding Payload data put into an NFC Tag. This naming will create confusion with the new "NFC Commissioning" feature where NFC is used as the commissioning channel.

We propose to use the folllowing names:

  • "NFC onboarding payload" when an NFC Tag is used to store the onboarding payload data (as an alternate solution to QRCode)
  • "NFC commissioning" when an NFC Tag is used to perform the first commissioning phase (as an alternate solution to BLE)

Defines, variables and files have been renamed to reflect this. The following renaming have been done:

  • CHIP_DEVICE_CONFIG_ENABLE_NFC -> CHIP_DEVICE_CONFIG_ENABLE_NFC_ONBOARDING_PAYLOAD
  • CONFIG_CHIP_NFC_COMMISSIONING -> CONFIG_CHIP_NFC_ONBOARDING_PAYLOAD
  • chip_enable_nfc -> chip_enable_nfc_onboarding_payload
  • NFCManager -> NFCOnboardingPayloadManager
  • NFCManagerImpl -> NFCOnboardingPayloadManagerImpl
  • NFCMgr -> NFCOnboardingMgr
  • NFCMgrImpl -> NFCOnboardingPayloadMgrImpl

The following files have been renamed for the platforms Zephyr, nrfconnect, nxp/k32w0 and telink: NFCManagerImpl.cpp -> NFCOnboardingPayloadManagerImpl.cpp NFCManagerImpl.h -> NFCOnboardingPayloadManagerImpl.h NFCManager.h -> NFCOnboardingPayloadManager.h

Testing

The current renamings are for the platforms Zephyr, nrfconnect, nxp/k32w0 and telink.
I'm not able to test those platforms so I only relied on GitHub's automatic checks to test that it is building proprely on all those platforms.
In parallel, I have asked Nordic (Zephyr is also their code), NXP and Telink to review those changes and give a green light.
At that time, NXP feedback is missing.

In current code, "NFC Commissioning" was used for Onboarding Payload data put into an NFC Tag.
This naming will create confusion with the new "NFC Commissioning" feature
where NFC is used as the commissioning channel.

We propose to use the folllowing names:
- "NFC onboarding payload" when an NFC Tag is used to store the onboarding payload data
(as an alternate solution to QRCode)
- "NFC commissioning" when an NFC Tag is used to perform the first commissioning phase
(as an alternate solution to BLE)

Defines, variables and files have been renamed to reflect this.
The following renaming have been done:
- CHIP_DEVICE_CONFIG_ENABLE_NFC -> CHIP_DEVICE_CONFIG_ENABLE_NFC_ONBOARDING_PAYLOAD
- CONFIG_CHIP_NFC_COMMISSIONING -> CONFIG_CHIP_NFC_ONBOARDING_PAYLOAD
- chip_enable_nfc -> chip_enable_nfc_onboarding_payload
- NFCManager -> NFCOnboardingPayloadManager
- NFCManagerImpl -> NFCOnboardingPayloadManagerImpl
- NFCMgr -> NFCOnboardingMgr
- NFCMgrImpl -> NFCOnboardingPayloadMgrImpl

The following files have been renamed for the platforms Zephyr, nrfconnect, nxp/k32w0 and telink:
NFCManagerImpl.cpp -> NFCOnboardingPayloadManagerImpl.cpp
NFCManagerImpl.h -> NFCOnboardingPayloadManagerImpl.h
NFCManager.h -> NFCOnboardingPayloadManager.h
@OlivierGre OlivierGre requested review from a team as code owners December 11, 2024 14:42
Copy link

Review changes with  SemanticDiff

Copy link

github-actions bot commented Dec 11, 2024

PR #36801: Size comparison from 425e5bd to 196bf00

Full report (80 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 425e5bd 196bf00 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353340 1353340 0 0.0
RAM 104112 104112 0 0.0
bl702 lighting-app bl702+eth FLASH 651826 651826 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829154 829154 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057626 1057626 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 979000 979000 0 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839760 839760 0 0.0
RAM 123664 123664 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825308 825308 0 0.0
RAM 125552 125552 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772096 772096 0 0.0
RAM 114020 114020 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756284 756284 0 0.0
RAM 114228 114228 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 631050 631050 0 0.0
RAM 205824 205824 0 0.0
lock CC3235SF_LAUNCHXL FLASH 669646 669646 0 0.0
RAM 205968 205968 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681505 681505 0 0.0
RAM 78724 78724 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701349 701349 0 0.0
RAM 81364 81364 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701349 701349 0 0.0
RAM 81364 81364 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658293 658293 0 0.0
RAM 73792 73792 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618065 618065 0 0.0
RAM 71708 71708 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637693 637693 0 0.0
RAM 74252 74252 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637693 637693 0 0.0
RAM 74252 74252 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637465 637465 0 0.0
RAM 74724 74724 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657173 657173 0 0.0
RAM 77268 77268 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657173 657173 0 0.0
RAM 77268 77268 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613925 613925 0 0.0
RAM 68812 68812 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633777 633777 0 0.0
RAM 71444 71444 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633777 633777 0 0.0
RAM 71444 71444 0 0.0
efr32 lock-app BRD4187C FLASH 932340 932340 0 0.0
RAM 160192 160192 0 0.0
BRD4338a FLASH 746144 746136 -8 -0.0
RAM 233320 233320 0 0.0
window-app BRD4187C FLASH 1024784 1024784 0 0.0
RAM 128296 128296 0 0.0
esp32 all-clusters-app c3devkit DRAM 95360 95360 0 0.0
FLASH 1543480 1543480 0 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116312 116312 0 0.0
FLASH 1550134 1550134 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2715063 2715063 0 0.0
RAM 129800 129800 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6007064 6007064 0 0.0
RAM 523544 523544 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5344804 5344804 0 0.0
RAM 242600 242600 0 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4684372 4684372 0 0.0
RAM 218416 218416 0 0.0
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12847832 12847832 0 0.0
RAM 582474 582474 0 0.0
chip-tool-ipv6only arm64 unknown 21352 21352 0 0.0
FLASH 10982560 10982560 0 0.0
RAM 633392 633392 0 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11254413 11254413 0 0.0
RAM 582850 582850 0 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4509948 4509948 0 0.0
RAM 205600 205600 0 0.0
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5608853 5608853 0 0.0
RAM 472584 472584 0 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5621073 5621073 0 0.0
RAM 228792 228792 0 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4733612 4733612 0 0.0
RAM 204776 204776 0 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4359350 4359350 0 0.0
RAM 198448 198448 0 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4498342 4498342 0 0.0
RAM 203032 203032 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3030077 3030077 0 0.0
RAM 160424 160424 0 0.0
thermostat-no-ble arm64 unknown 9536 9536 0 0.0
FLASH 4103472 4103472 0 0.0
RAM 243040 243040 0 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5958773 5958773 0 0.0
RAM 596016 596016 0 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11054589 11054589 0 0.0
RAM 692184 692184 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917616 911508 -6108 -0.7
RAM 143292 142988 -304 -0.2
nrf7002dk_nrf5340_cpuapp FLASH 890104 885652 -4452 -0.5
RAM 141487 141183 -304 -0.2
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851760 846208 -5552 -0.7
RAM 142200 141896 -304 -0.2
light-switch-app nrf52840dk_nrf52840 FLASH 794948 788836 -6112 -0.8
RAM 132267 131963 -304 -0.2
nrf7002dk_nrf5340_cpuapp FLASH 939336 933000 -6336 -0.7
RAM 130848 130544 -304 -0.2
lighting-app nrf52840dk_nrf52840+rpc FLASH 887260 881156 -6104 -0.7
RAM 146693 146389 -304 -0.2
nrf52840dongle_nrf52840 FLASH 827068 821236 -5832 -0.7
RAM 154555 154251 -304 -0.2
nrf5340dk_nrf5340_cpuapp FLASH 783460 777128 -6332 -0.8
RAM 145703 145399 -304 -0.2
nrf7002dk_nrf5340_cpuapp FLASH 939336 933000 -6336 -0.7
RAM 130848 130544 -304 -0.2
lock-app nrf52840dk_nrf52840 FLASH 810080 803972 -6108 -0.8
RAM 132822 132518 -304 -0.2
nrf5340dk_nrf5340_cpuapp FLASH 735624 729292 -6332 -0.9
RAM 132952 132648 -304 -0.2
nrf7002dk_nrf5340_cpuapp FLASH 955400 949064 -6336 -0.7
RAM 131403 131099 -304 -0.2
pump-app nrf52840dk_nrf52840 FLASH 763056 756944 -6112 -0.8
RAM 131613 131309 -304 -0.2
pump-controller-app nrf52840dk_nrf52840 FLASH 748200 742088 -6112 -0.8
RAM 131372 131068 -304 -0.2
nxp contact k32w0+release FLASH 585440 585440 0 0.0
RAM 71080 71080 0 0.0
mcxw71+release FLASH 600048 600048 0 0.0
RAM 63176 63176 0 0.0
light k32w0+release FLASH 612396 612396 0 0.0
RAM 70472 70472 0 0.0
k32w1+release FLASH 686576 686576 0 0.0
RAM 48808 48808 0 0.0
lock mcxw71+release FLASH 762928 762928 0 0.0
RAM 70844 70844 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646364 1646364 0 0.0
RAM 212104 212104 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554108 1554108 0 0.0
RAM 208904 208904 0 0.0
light cy8ckit_062s2_43012 FLASH 1469436 1469436 0 0.0
RAM 200880 200880 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467164 1467164 0 0.0
RAM 225240 225240 0 0.0
qpg lighting-app qpg6105+debug FLASH 664008 664008 0 0.0
RAM 105424 105424 0 0.0
lock-app qpg6105+debug FLASH 621796 621796 0 0.0
RAM 99868 99868 0 0.0
stm32 light STM32WB5MM-DK FLASH 484720 484720 0 0.0
RAM 144880 144880 0 0.0
telink bridge-app tlsr9258a FLASH 682920 682920 0 0.0
RAM 91208 91208 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623350 623350 0 0.0
RAM 31440 31440 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772180 772180 0 0.0
RAM 49300 49300 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 710774 710774 0 0.0
RAM 73504 73504 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 627794 627794 0 0.0
RAM 142140 142140 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813808 813808 0 0.0
RAM 99684 99684 0 0.0
tizen all-clusters-app arm unknown 4988 4988 0 0.0
FLASH 1732528 1732528 0 0.0
RAM 90744 90744 0 0.0
chip-tool-ubsan arm unknown 10804 10804 0 0.0
FLASH 17969958 17969958 0 0.0
RAM 7840924 7840924 0 0.0

@bauerschwan
Copy link
Contributor

What about src/lib/shell/commands/NFC.cpp? Wouldn't it be good to rename it as well? or is the plan to host all NFC-related commands in here?

Copy link
Contributor

@Damian-Nordic Damian-Nordic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two consistency nits but lgtm

src/include/platform/NFCOnboardingPayloadManager.h Outdated Show resolved Hide resolved
@OlivierGre
Copy link
Contributor Author

OlivierGre commented Dec 12, 2024

Two consistency nits but lgtm

@Damian-Nordic Thank you! I have pushed a commit with the changes that you suggested.

@OlivierGre
Copy link
Contributor Author

What about src/lib/shell/commands/NFC.cpp? Wouldn't it be good to rename it as well? or is the plan to host all NFC-related commands in here?

@bauerschwan I have missed this file. I don't have much a preference. Do you prefer that we keep it like that or rename it?

As indicated on Slack, the code managing "Onboarding Payload" data is for Commissionee side whereas the code adding NFC Commissioning (and using NFC as a new Transport Type) is on Commissioner side. So the classes are completely distinct. In a next PR, you will see the new classes used for NFC Commissioning.

Copy link

github-actions bot commented Dec 12, 2024

PR #36801: Size comparison from 425e5bd to 93d2adf

Full report (80 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 425e5bd 93d2adf change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353340 1353338 -2 -0.0
RAM 104112 104112 0 0.0
bl702 lighting-app bl702+eth FLASH 651826 651826 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829154 829154 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057626 1057624 -2 -0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 979000 978998 -2 -0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839760 839760 0 0.0
RAM 123664 123664 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825308 825308 0 0.0
RAM 125552 125552 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772096 772096 0 0.0
RAM 114020 114020 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756284 756284 0 0.0
RAM 114228 114228 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 631050 631050 0 0.0
RAM 205824 205824 0 0.0
lock CC3235SF_LAUNCHXL FLASH 669646 669646 0 0.0
RAM 205968 205968 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681505 681505 0 0.0
RAM 78724 78724 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701349 701349 0 0.0
RAM 81364 81364 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701349 701349 0 0.0
RAM 81364 81364 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658293 658293 0 0.0
RAM 73792 73792 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618065 618065 0 0.0
RAM 71708 71708 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637693 637693 0 0.0
RAM 74252 74252 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637693 637693 0 0.0
RAM 74252 74252 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637465 637465 0 0.0
RAM 74724 74724 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657173 657173 0 0.0
RAM 77268 77268 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657173 657173 0 0.0
RAM 77268 77268 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613925 613925 0 0.0
RAM 68812 68812 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633777 633777 0 0.0
RAM 71444 71444 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633777 633777 0 0.0
RAM 71444 71444 0 0.0
efr32 lock-app BRD4187C FLASH 932340 932340 0 0.0
RAM 160192 160192 0 0.0
BRD4338a FLASH 746144 746136 -8 -0.0
RAM 233320 233320 0 0.0
window-app BRD4187C FLASH 1024784 1024784 0 0.0
RAM 128296 128296 0 0.0
esp32 all-clusters-app c3devkit DRAM 95360 95360 0 0.0
FLASH 1543480 1543480 0 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116312 116312 0 0.0
FLASH 1550134 1550134 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2715063 2715063 0 0.0
RAM 129800 129800 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6007064 6007064 0 0.0
RAM 523544 523544 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5344804 5344804 0 0.0
RAM 242600 242600 0 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4684372 4684372 0 0.0
RAM 218416 218416 0 0.0
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12847832 12847958 126 0.0
RAM 582474 582474 0 0.0
chip-tool-ipv6only arm64 unknown 21352 21352 0 0.0
FLASH 10982560 10982688 128 0.0
RAM 633392 633392 0 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11254413 11255283 870 0.0
RAM 582850 582850 0 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4509948 4509948 0 0.0
RAM 205600 205600 0 0.0
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5608853 5610053 1200 0.0
RAM 472584 472584 0 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5621073 5621073 0 0.0
RAM 228792 228792 0 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4733612 4733612 0 0.0
RAM 204776 204776 0 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4359350 4359350 0 0.0
RAM 198448 198448 0 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4498342 4498342 0 0.0
RAM 203032 203032 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3030077 3030077 0 0.0
RAM 160424 160424 0 0.0
thermostat-no-ble arm64 unknown 9536 9536 0 0.0
FLASH 4103472 4103472 0 0.0
RAM 243040 243040 0 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5958773 5958901 128 0.0
RAM 596016 596016 0 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11054589 11054589 0 0.0
RAM 692184 692184 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917616 911508 -6108 -0.7
RAM 143292 142988 -304 -0.2
nrf7002dk_nrf5340_cpuapp FLASH 890104 885652 -4452 -0.5
RAM 141487 141183 -304 -0.2
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851760 846208 -5552 -0.7
RAM 142200 141896 -304 -0.2
light-switch-app nrf52840dk_nrf52840 FLASH 794948 788836 -6112 -0.8
RAM 132267 131963 -304 -0.2
nrf7002dk_nrf5340_cpuapp FLASH 939336 933000 -6336 -0.7
RAM 130848 130544 -304 -0.2
lighting-app nrf52840dk_nrf52840+rpc FLASH 887260 881156 -6104 -0.7
RAM 146693 146389 -304 -0.2
nrf52840dongle_nrf52840 FLASH 827068 821236 -5832 -0.7
RAM 154555 154251 -304 -0.2
nrf5340dk_nrf5340_cpuapp FLASH 783460 777128 -6332 -0.8
RAM 145703 145399 -304 -0.2
nrf7002dk_nrf5340_cpuapp FLASH 939336 933000 -6336 -0.7
RAM 130848 130544 -304 -0.2
lock-app nrf52840dk_nrf52840 FLASH 810080 803972 -6108 -0.8
RAM 132822 132518 -304 -0.2
nrf5340dk_nrf5340_cpuapp FLASH 735624 729292 -6332 -0.9
RAM 132952 132648 -304 -0.2
nrf7002dk_nrf5340_cpuapp FLASH 955400 949064 -6336 -0.7
RAM 131403 131099 -304 -0.2
pump-app nrf52840dk_nrf52840 FLASH 763056 756944 -6112 -0.8
RAM 131613 131309 -304 -0.2
pump-controller-app nrf52840dk_nrf52840 FLASH 748200 742088 -6112 -0.8
RAM 131372 131068 -304 -0.2
nxp contact k32w0+release FLASH 585440 585440 0 0.0
RAM 71080 71080 0 0.0
mcxw71+release FLASH 600048 600048 0 0.0
RAM 63176 63176 0 0.0
light k32w0+release FLASH 612396 612396 0 0.0
RAM 70472 70472 0 0.0
k32w1+release FLASH 686576 686576 0 0.0
RAM 48808 48808 0 0.0
lock mcxw71+release FLASH 762928 762928 0 0.0
RAM 70844 70844 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646364 1646364 0 0.0
RAM 212104 212104 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554108 1554108 0 0.0
RAM 208904 208904 0 0.0
light cy8ckit_062s2_43012 FLASH 1469436 1469436 0 0.0
RAM 200880 200880 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467164 1467164 0 0.0
RAM 225240 225240 0 0.0
qpg lighting-app qpg6105+debug FLASH 664008 664008 0 0.0
RAM 105424 105424 0 0.0
lock-app qpg6105+debug FLASH 621796 621796 0 0.0
RAM 99868 99868 0 0.0
stm32 light STM32WB5MM-DK FLASH 484720 484720 0 0.0
RAM 144880 144880 0 0.0
telink bridge-app tlsr9258a FLASH 682920 682920 0 0.0
RAM 91208 91208 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623350 623350 0 0.0
RAM 31440 31440 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772180 772180 0 0.0
RAM 49300 49300 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 710774 710774 0 0.0
RAM 73504 73504 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 627794 627794 0 0.0
RAM 142140 142140 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813808 813808 0 0.0
RAM 99684 99684 0 0.0
tizen all-clusters-app arm unknown 4988 4988 0 0.0
FLASH 1732528 1732528 0 0.0
RAM 90744 90744 0 0.0
chip-tool-ubsan arm unknown 10804 10804 0 0.0
FLASH 17969958 17970638 680 0.0
RAM 7840924 7841352 428 0.0

@OlivierGre
Copy link
Contributor Author

@Damian-Nordic I see that the Zephyr files are used by Nordic:

  • src/platform/Zephyr/BUILD.gn
  • src/platform/Zephyr/NFCOnboardingPayloadManagerImpl.cpp
  • src/platform/Zephyr/NFCOnboardingPayloadManagerImpl.h

Who should give a green light for the modification of those files?

@Damian-Nordic
Copy link
Contributor

@Damian-Nordic I see that the Zephyr files are used by Nordic:

* src/platform/Zephyr/BUILD.gn

* src/platform/Zephyr/NFCOnboardingPayloadManagerImpl.cpp

* src/platform/Zephyr/NFCOnboardingPayloadManagerImpl.h

Who should give a green light for the modification of those files?

I think only Nordic uses these files (we should actually move them to nrfconnect dir) so it's enough for you to get +1 from me.

@OlivierGre
Copy link
Contributor Author

@bauerschwan I see that in the following PR (adding NFC as a new Transport file), I do have some new NFC.cpp and NFC.h files coming in src/transport/raw.

IMO this is not an issue. For BLE this is exactly the same. You've got:

  • src/lib/shell/commands/BLE.cpp
  • src/transport/raw/BLE.cpp

@OlivierGre
Copy link
Contributor Author

@OlivierGre patch with missed changes for Telink & Nordic:

Thank you very much Alex! I have pushed your changes.
I'm going to search if the old names are found in the other files.

Copy link
Contributor

@andy31415 andy31415 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@OlivierGre please add a Testing section to your PR to describe how this PR was tested or is to be tested. If manual please describe in detail how it was tested and also why automated testing is impossible.

Also make sure you clean it up. There is a Make sure you delete these instructions (to prove you have read them). in there still ....

Also requires restyle fixes.

@OlivierGre
Copy link
Contributor Author

@OlivierGre please add a Testing section to your PR to describe how this PR was tested or is to be tested. If manual please describe in detail how it was tested and also why automated testing is impossible.

Also make sure you clean it up. There is a Make sure you delete these instructions (to prove you have read them). in there still ....

Also requires restyle fixes.

@andy31415 Hi,

For the tests, I'm not able to test it because this code is for the Commissionee side for platforms that I don't have (Zephyr, nrfconnect, nxp/k32w0 and telink). I have requested a review and an approval from those companies:

I wanted to do the change about the restyler but, when I look at the details provided, I can see that it ended with an error;
Error: Restyler exited non-zero: 228
The command to apply looks truncated. Do you know how to solve that?

Thanks

@OlivierGre
Copy link
Contributor Author

@andy31415 Also, I don't understand why many CI checks indicate "cancelled after 1m" (ex: "
Build example - Ameba / Ameba (pull_request) ", "
Build example - EFR32 / EFR32 (pull_request)"...etc).

@andy31415
Copy link
Contributor

@OlivierGre please add a Testing section to your PR to describe how this PR was tested or is to be tested. If manual please describe in detail how it was tested and also why automated testing is impossible.
Also make sure you clean it up. There is a Make sure you delete these instructions (to prove you have read them). in there still ....
Also requires restyle fixes.

@andy31415 Hi,

For the tests, I'm not able to test it because this code is for the Commissionee side for platforms that I don't have (Zephyr, nrfconnect, nxp/k32w0 and telink). I have requested a review and an approval from those companies:

I wanted to do the change about the restyler but, when I look at the details provided, I can see that it ended with an error; Error: Restyler exited non-zero: 228 The command to apply looks truncated. Do you know how to solve that?

Thanks

So how do we know that this code is good? There has to be some way to test it?
is it compile only then? We need details in the PR summary to understand.

@andy31415
Copy link
Contributor

@OlivierGre please add a Testing section even if it is describing the uncomfortable truth of "This was not actually tested, not even manually, except it compiles".

Then reviewers can make an informed decision about the code. Maybe details about how testing will follow eventualy, because code that will never be tested/executed sounds wrong.

@andy31415
Copy link
Contributor

@andy31415 Also, I don't understand why many CI checks indicate "cancelled after 1m" (ex: " Build example - Ameba / Ameba (pull_request) ", " Build example - EFR32 / EFR32 (pull_request)"...etc).

We have a fast-cancel in case some fast required checks fail, so we free up CI resources. In this case Restyle failed so all other CI runs were cancelled. Once you fix restyle things should not get cancelled.

@andy31415
Copy link
Contributor

@OlivierGre for the restyle, the restyler task contains the command needed to restyle, generally ready for copy & paste (I hope it is generally visible)

image

Copy link

github-actions bot commented Jan 3, 2025

PR #36801: Size comparison from 1b4c56c to 009b64a

Full report (66 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 1b4c56c 009b64a change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1354914 1354914 0 0.0
RAM 104160 104160 0 0.0
bl702 lighting-app bl702+eth FLASH 652136 652136 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829740 829740 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1058212 1058212 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 979330 979330 0 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 840208 840208 0 0.0
RAM 123696 123696 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825748 825748 0 0.0
RAM 125584 125584 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772568 772568 0 0.0
RAM 114060 114060 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756748 756748 0 0.0
RAM 114260 114260 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 540049 540049 0 0.0
RAM 205800 205800 0 0.0
lock CC3235SF_LAUNCHXL FLASH 574217 574217 0 0.0
RAM 205944 205944 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681745 681745 0 0.0
RAM 78756 78756 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701597 701597 0 0.0
RAM 81396 81396 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701597 701597 0 0.0
RAM 81396 81396 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658525 658525 0 0.0
RAM 73824 73824 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618369 618369 0 0.0
RAM 71748 71748 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637997 637997 0 0.0
RAM 74292 74292 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637997 637997 0 0.0
RAM 74292 74292 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637769 637769 0 0.0
RAM 74756 74756 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657477 657477 0 0.0
RAM 77300 77300 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657477 657477 0 0.0
RAM 77300 77300 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614389 614389 0 0.0
RAM 68844 68844 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634241 634241 0 0.0
RAM 71476 71476 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634241 634241 0 0.0
RAM 71476 71476 0 0.0
efr32 lock-app BRD4187C FLASH 932676 932676 0 0.0
RAM 160228 160228 0 0.0
BRD4338a FLASH 747160 747152 -8 -0.0
RAM 233356 233356 0 0.0
window-app BRD4187C FLASH 1025592 1025592 0 0.0
RAM 128332 128332 0 0.0
esp32 all-clusters-app c3devkit DRAM 95352 95352 0 0.0
FLASH 1541940 1541940 0 0.0
IRAM 82552 82552 0 0.0
m5stack DRAM 116332 116332 0 0.0
FLASH 1548142 1548142 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4752 4752 0 0.0
FLASH 2730137 2730137 0 0.0
RAM 133096 133096 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6018726 6018726 0 0.0
RAM 524024 524024 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5355204 5355204 0 0.0
RAM 243008 243008 0 0.0
bridge-app debug unknown 5472 5472 0 0.0
FLASH 4703618 4703618 0 0.0
RAM 221760 221760 0 0.0
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12868552 12868552 0 0.0
RAM 582650 582650 0 0.0
chip-tool-ipv6only arm64 unknown 21408 21408 0 0.0
FLASH 10997296 10997296 0 0.0
RAM 633664 633664 0 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11274263 11274263 0 0.0
RAM 582994 582994 0 0.0
fabric-bridge-app debug unknown 4728 4728 0 0.0
FLASH 4528852 4528852 0 0.0
RAM 208880 208880 0 0.0
fabric-sync debug unknown 4968 4968 0 0.0
FLASH 5639429 5639429 0 0.0
RAM 475912 475912 0 0.0
lighting-app debug+rpc+ui unknown 6136 6136 0 0.0
FLASH 5639409 5639409 0 0.0
RAM 232008 232008 0 0.0
lock-app debug unknown 5408 5408 0 0.0
FLASH 4751986 4751986 0 0.0
RAM 208008 208008 0 0.0
ota-provider-app debug unknown 4768 4768 0 0.0
FLASH 4378612 4378612 0 0.0
RAM 201696 201696 0 0.0
ota-requestor-app debug unknown 4720 4720 0 0.0
FLASH 4517520 4517520 0 0.0
RAM 206280 206280 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3036685 3036685 0 0.0
RAM 160736 160736 0 0.0
thermostat-no-ble arm64 unknown 9584 9584 0 0.0
FLASH 4118968 4118968 0 0.0
RAM 246296 246296 0 0.0
tv-app debug unknown 5736 5736 0 0.0
FLASH 5988693 5988693 0 0.0
RAM 599344 599344 0 0.0
tv-casting-app debug unknown 5320 5320 0 0.0
FLASH 11094621 11094621 0 0.0
RAM 695608 695608 0 0.0
nxp contact k32w0+release FLASH 585952 585952 0 0.0
RAM 71112 71112 0 0.0
mcxw71+release FLASH 600512 600512 0 0.0
RAM 63208 63208 0 0.0
light k32w0+release FLASH 612716 612716 0 0.0
RAM 70504 70504 0 0.0
k32w1+release FLASH 686920 686920 0 0.0
RAM 48840 48840 0 0.0
lock mcxw71+release FLASH 763264 763264 0 0.0
RAM 70876 70876 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647500 1647500 0 0.0
RAM 212128 212128 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1555132 1555132 0 0.0
RAM 208944 208944 0 0.0
light cy8ckit_062s2_43012 FLASH 1470236 1470236 0 0.0
RAM 200912 200912 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467956 1467956 0 0.0
RAM 225272 225272 0 0.0
qpg lighting-app qpg6105+debug FLASH 664328 664328 0 0.0
RAM 105456 105456 0 0.0
lock-app qpg6105+debug FLASH 622156 622156 0 0.0
RAM 99908 99908 0 0.0
stm32 light STM32WB5MM-DK FLASH 485080 485080 0 0.0
RAM 144912 144912 0 0.0
telink bridge-app tlsr9258a FLASH 683636 683636 0 0.0
RAM 91248 91248 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623876 623876 0 0.0
RAM 31488 31488 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772786 772786 0 0.0
RAM 49348 49348 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711318 711318 0 0.0
RAM 73544 73544 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 628322 628322 0 0.0
RAM 142180 142180 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814340 814340 0 0.0
RAM 99724 99724 0 0.0
tizen all-clusters-app arm unknown 5160 5160 0 0.0
FLASH 1780984 1780984 0 0.0
RAM 93684 93684 0 0.0
chip-tool-ubsan arm unknown 10848 10848 0 0.0
FLASH 18003494 18003494 0 0.0
RAM 7858000 7858000 0 0.0

@OlivierGre
Copy link
Contributor Author

@Damian-Nordic
Hi Damian,
In config/nrfconnect/chip-module/Kconfig.defaults, I have renamed CHIP_NFC_COMMISSIONING into CHIP_NFC_ONBOARDING_PAYLOAD. I have probably missed a file still containing CHIP_NFC_COMMISSIONING because the build on Nordic platform is failing:

warning: CHIP_NFC_ONBOARDING_PAYLOAD (defined at /__w/connectedhomeip/connectedhomeip/examples/lock-app/nrfconnect/../../../config/nrfconnect/chip-module/Kconfig.defaults:184) defined without a type

error: Aborting due to Kconfig warnings

For the moment I don't find the clue. Would you know where CHIP_NFC_COMMISSIONING could be defined?

Thanks

@Damian-Nordic
Copy link
Contributor

@OlivierGre you seem to have missed config/nrfconnect/chip-module/Kconfig. The Kconfig.defaults file just overrides certain Kconfigs, but the original Kconfig has to updated as well.

@OlivierGre
Copy link
Contributor Author

@OlivierGre you seem to have missed config/nrfconnect/chip-module/Kconfig. The Kconfig.defaults file just overrides certain Kconfigs, but the original Kconfig has to updated as well.

Oh, thank you Damian. I can see that I have missed this file because my editor did not include the files without extension.

Copy link

github-actions bot commented Jan 7, 2025

PR #36801: Size comparison from 1b4c56c to 5af2efa

Full report (81 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 1b4c56c 5af2efa change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1354914 1354914 0 0.0
RAM 104160 104160 0 0.0
bl702 lighting-app bl702+eth FLASH 652136 652136 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829740 829740 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1058212 1058212 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 979330 979330 0 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 840208 840208 0 0.0
RAM 123696 123696 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825748 825748 0 0.0
RAM 125584 125584 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772568 772568 0 0.0
RAM 114060 114060 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756748 756748 0 0.0
RAM 114260 114260 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 540049 540049 0 0.0
RAM 205800 205800 0 0.0
lock CC3235SF_LAUNCHXL FLASH 574217 574217 0 0.0
RAM 205944 205944 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681745 681745 0 0.0
RAM 78756 78756 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701597 701597 0 0.0
RAM 81396 81396 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701597 701597 0 0.0
RAM 81396 81396 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658525 658525 0 0.0
RAM 73824 73824 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618369 618369 0 0.0
RAM 71748 71748 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637997 637997 0 0.0
RAM 74292 74292 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637997 637997 0 0.0
RAM 74292 74292 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637769 637769 0 0.0
RAM 74756 74756 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657477 657477 0 0.0
RAM 77300 77300 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657477 657477 0 0.0
RAM 77300 77300 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614389 614389 0 0.0
RAM 68844 68844 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634241 634241 0 0.0
RAM 71476 71476 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634241 634241 0 0.0
RAM 71476 71476 0 0.0
efr32 lock-app BRD4187C FLASH 932676 932676 0 0.0
RAM 160228 160228 0 0.0
BRD4338a FLASH 747160 747152 -8 -0.0
RAM 233356 233356 0 0.0
window-app BRD4187C FLASH 1025592 1025592 0 0.0
RAM 128332 128332 0 0.0
esp32 all-clusters-app c3devkit DRAM 95352 95352 0 0.0
FLASH 1541940 1541956 16 0.0
IRAM 82552 82552 0 0.0
m5stack DRAM 116332 116332 0 0.0
FLASH 1548142 1548162 20 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4752 4752 0 0.0
FLASH 2730137 2730137 0 0.0
RAM 133096 133096 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6018726 6018726 0 0.0
RAM 524024 524024 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5355204 5355204 0 0.0
RAM 243008 243008 0 0.0
bridge-app debug unknown 5472 5472 0 0.0
FLASH 4703618 4703618 0 0.0
RAM 221760 221760 0 0.0
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12868552 12868552 0 0.0
RAM 582650 582650 0 0.0
chip-tool-ipv6only arm64 unknown 21408 21408 0 0.0
FLASH 10997296 10997296 0 0.0
RAM 633664 633664 0 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11274263 11274263 0 0.0
RAM 582994 582994 0 0.0
fabric-bridge-app debug unknown 4728 4728 0 0.0
FLASH 4528852 4528852 0 0.0
RAM 208880 208880 0 0.0
fabric-sync debug unknown 4968 4968 0 0.0
FLASH 5639429 5639429 0 0.0
RAM 475912 475912 0 0.0
lighting-app debug+rpc+ui unknown 6136 6136 0 0.0
FLASH 5639409 5639409 0 0.0
RAM 232008 232008 0 0.0
lock-app debug unknown 5408 5408 0 0.0
FLASH 4751986 4751986 0 0.0
RAM 208008 208008 0 0.0
ota-provider-app debug unknown 4768 4768 0 0.0
FLASH 4378612 4378612 0 0.0
RAM 201696 201696 0 0.0
ota-requestor-app debug unknown 4720 4720 0 0.0
FLASH 4517520 4517520 0 0.0
RAM 206280 206280 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3036685 3036685 0 0.0
RAM 160736 160736 0 0.0
thermostat-no-ble arm64 unknown 9584 9584 0 0.0
FLASH 4118968 4118968 0 0.0
RAM 246296 246296 0 0.0
tv-app debug unknown 5736 5736 0 0.0
FLASH 5988693 5988693 0 0.0
RAM 599344 599344 0 0.0
tv-casting-app debug unknown 5320 5320 0 0.0
FLASH 11094621 11094621 0 0.0
RAM 695608 695608 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 918100 918116 16 0.0
RAM 143332 143332 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890592 890592 0 0.0
RAM 141519 141519 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852164 852184 20 0.0
RAM 142244 142244 0 0.0
light-switch-app nrf52840dk_nrf52840 FLASH 795320 795340 20 0.0
RAM 132311 132311 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 939612 939632 20 0.0
RAM 130884 130884 0 0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 887548 887568 20 0.0
RAM 146737 146737 0 0.0
nrf52840dongle_nrf52840 FLASH 827360 827376 16 0.0
RAM 154599 154599 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 783744 783764 20 0.0
RAM 145747 145747 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 939612 939632 20 0.0
RAM 130884 130884 0 0.0
lock-app nrf52840dk_nrf52840 FLASH 810456 810476 20 0.0
RAM 132866 132866 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 736000 736020 20 0.0
RAM 132996 132996 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 955684 955704 20 0.0
RAM 131439 131439 0 0.0
pump-app nrf52840dk_nrf52840 FLASH 763456 763476 20 0.0
RAM 131657 131657 0 0.0
pump-controller-app nrf52840dk_nrf52840 FLASH 748596 748616 20 0.0
RAM 131416 131416 0 0.0
shell nrf52840dk_nrf52840 FLASH 557728 557728 0 0.0
RAM 117699 117699 0 0.0
nxp contact k32w0+release FLASH 585952 585952 0 0.0
RAM 71112 71112 0 0.0
mcxw71+release FLASH 600512 600512 0 0.0
RAM 63208 63208 0 0.0
light k32w0+release FLASH 612716 612716 0 0.0
RAM 70504 70504 0 0.0
k32w1+release FLASH 686920 686920 0 0.0
RAM 48840 48840 0 0.0
lock mcxw71+release FLASH 763264 763264 0 0.0
RAM 70876 70876 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647500 1647500 0 0.0
RAM 212128 212128 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1555132 1555132 0 0.0
RAM 208944 208944 0 0.0
light cy8ckit_062s2_43012 FLASH 1470236 1470236 0 0.0
RAM 200912 200912 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467956 1467956 0 0.0
RAM 225272 225272 0 0.0
qpg lighting-app qpg6105+debug FLASH 664328 664328 0 0.0
RAM 105456 105456 0 0.0
lock-app qpg6105+debug FLASH 622156 622156 0 0.0
RAM 99908 99908 0 0.0
stm32 light STM32WB5MM-DK FLASH 485080 485080 0 0.0
RAM 144912 144912 0 0.0
telink bridge-app tlsr9258a FLASH 683636 683636 0 0.0
RAM 91248 91248 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623876 623876 0 0.0
RAM 31488 31488 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772786 772786 0 0.0
RAM 49348 49348 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711318 711318 0 0.0
RAM 73544 73544 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 628322 628322 0 0.0
RAM 142180 142180 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814340 814340 0 0.0
RAM 99724 99724 0 0.0
tizen all-clusters-app arm unknown 5160 5160 0 0.0
FLASH 1780984 1780980 -4 -0.0
RAM 93684 93684 0 0.0
chip-tool-ubsan arm unknown 10848 10848 0 0.0
FLASH 18003494 18003494 0 0.0
RAM 7858000 7858000 0 0.0

@andy31415 andy31415 dismissed their stale review January 16, 2025 14:01

Test details added in PR summary.

Copy link

github-actions bot commented Jan 16, 2025

PR #36801: Size comparison from c6a68c6 to 4a41f22

Full report (83 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section c6a68c6 4a41f22 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1094560 1094560 0 0.0
RAM 103346 103346 0 0.0
bl702 lighting-app bl702+eth FLASH 652366 652366 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 830546 830546 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057832 1057832 0 0.0
RAM 23949 23949 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 890856 890856 0 0.0
RAM 18624 18624 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 973816 973816 0 0.0
RAM 16472 16472 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 840084 840084 0 0.0
RAM 123536 123536 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825600 825600 0 0.0
RAM 125424 125424 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772528 772528 0 0.0
RAM 113900 113900 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756724 756724 0 0.0
RAM 114100 114100 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 540021 540021 0 0.0
RAM 205288 205288 0 0.0
lock CC3235SF_LAUNCHXL FLASH 574189 574189 0 0.0
RAM 205432 205432 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681569 681569 0 0.0
RAM 78596 78596 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701413 701413 0 0.0
RAM 81236 81236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701413 701413 0 0.0
RAM 81236 81236 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658357 658357 0 0.0
RAM 73664 73664 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618153 618153 0 0.0
RAM 71588 71588 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637789 637789 0 0.0
RAM 74132 74132 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637789 637789 0 0.0
RAM 74132 74132 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637601 637601 0 0.0
RAM 74596 74596 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657317 657317 0 0.0
RAM 77140 77140 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657317 657317 0 0.0
RAM 77140 77140 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614213 614213 0 0.0
RAM 68684 68684 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634065 634065 0 0.0
RAM 71316 71316 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634065 634065 0 0.0
RAM 71316 71316 0 0.0
efr32 lock-app BRD4187C FLASH 936952 936952 0 0.0
RAM 160004 160004 0 0.0
BRD4338a FLASH 733292 733292 0 0.0
RAM 218884 218884 0 0.0
window-app BRD4187C FLASH 1032664 1032664 0 0.0
RAM 128112 128112 0 0.0
esp32 all-clusters-app c3devkit DRAM 95192 95192 0 0.0
FLASH 1541922 1541922 0 0.0
IRAM 82552 82552 0 0.0
m5stack DRAM 116172 116172 0 0.0
FLASH 1548454 1548454 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4752 4752 0 0.0
FLASH 2722537 2722537 0 0.0
RAM 133096 133096 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 5997694 5997694 0 0.0
RAM 531832 531832 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5341310 5341310 0 0.0
RAM 243008 243008 0 0.0
bridge-app debug unknown 5472 5472 0 0.0
FLASH 4696466 4696466 0 0.0
RAM 221760 221760 0 0.0
chip-tool debug unknown 5984 5984 0 0.0
FLASH 13046468 13046468 0 0.0
RAM 596634 596634 0 0.0
chip-tool-ipv6only arm64 unknown 21816 21816 0 0.0
FLASH 11126384 11126384 0 0.0
RAM 648168 648168 0 0.0
fabric-admin debug unknown 5808 5808 0 0.0
FLASH 11393443 11393443 0 0.0
RAM 596978 596978 0 0.0
fabric-bridge-app debug unknown 4728 4728 0 0.0
FLASH 4521496 4521496 0 0.0
RAM 208880 208880 0 0.0
fabric-sync debug unknown 4968 4968 0 0.0
FLASH 5623813 5623813 0 0.0
RAM 483656 483656 0 0.0
lighting-app debug+rpc+ui unknown 6136 6136 0 0.0
FLASH 5630641 5630641 0 0.0
RAM 232008 232008 0 0.0
lock-app debug unknown 5408 5408 0 0.0
FLASH 4744228 4744228 0 0.0
RAM 208008 208008 0 0.0
ota-provider-app debug unknown 4768 4768 0 0.0
FLASH 4371848 4371848 0 0.0
RAM 201696 201696 0 0.0
ota-requestor-app debug unknown 4720 4720 0 0.0
FLASH 4509860 4509860 0 0.0
RAM 206280 206280 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3022861 3022861 0 0.0
RAM 160736 160736 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4109944 4109944 0 0.0
RAM 246304 246304 0 0.0
tv-app debug unknown 5736 5736 0 0.0
FLASH 5967333 5967333 0 0.0
RAM 607088 607088 0 0.0
tv-casting-app debug unknown 5312 5312 0 0.0
FLASH 11286077 11286077 0 0.0
RAM 711064 711064 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917804 917824 20 0.0
RAM 143172 143172 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890868 890868 0 0.0
RAM 141359 141359 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851932 851952 20 0.0
RAM 142084 142084 0 0.0
light-switch-app nrf52840dk_nrf52840 FLASH 795140 795160 20 0.0
RAM 132151 132151 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 939444 939464 20 0.0
RAM 130724 130724 0 0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 887408 887424 16 0.0
RAM 146577 146577 0 0.0
nrf52840dongle_nrf52840 FLASH 827212 827232 20 0.0
RAM 154439 154439 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 783600 783620 20 0.0
RAM 145587 145587 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 939444 939464 20 0.0
RAM 130724 130724 0 0.0
lock-app nrf52840dk_nrf52840 FLASH 810300 810316 16 0.0
RAM 132706 132706 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 735844 735864 20 0.0
RAM 132836 132836 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 955540 955556 16 0.0
RAM 131279 131279 0 0.0
pump-app nrf52840dk_nrf52840 FLASH 763308 763328 20 0.0
RAM 131497 131497 0 0.0
pump-controller-app nrf52840dk_nrf52840 FLASH 748448 748464 16 0.0
RAM 131256 131256 0 0.0
shell nrf52840dk_nrf52840 FLASH 557712 557712 0 0.0
RAM 117699 117699 0 0.0
nxp contact k32w0+release FLASH 585968 585968 0 0.0
RAM 70952 70952 0 0.0
mcxw71+release FLASH 601488 601488 0 0.0
RAM 63168 63168 0 0.0
light k32w0+release FLASH 612588 612588 0 0.0
RAM 70344 70344 0 0.0
k32w1+release FLASH 687152 687152 0 0.0
RAM 48760 48760 0 0.0
lock mcxw71+release FLASH 763464 763464 0 0.0
RAM 70796 70796 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1652092 1652092 0 0.0
RAM 211624 211624 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1557860 1557860 0 0.0
RAM 208440 208440 0 0.0
light cy8ckit_062s2_43012 FLASH 1472460 1472460 0 0.0
RAM 200408 200408 0 0.0
lock cy8ckit_062s2_43012 FLASH 1470244 1470244 0 0.0
RAM 224760 224760 0 0.0
qpg lighting-app qpg6105+debug FLASH 664144 664144 0 0.0
RAM 105296 105296 0 0.0
lock-app qpg6105+debug FLASH 622004 622004 0 0.0
RAM 99748 99748 0 0.0
stm32 light STM32WB5MM-DK FLASH 484976 484976 0 0.0
RAM 144752 144752 0 0.0
telink bridge-app tlsr9258a FLASH 683552 683552 0 0.0
RAM 91088 91088 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623810 623810 0 0.0
RAM 31488 31488 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772652 772652 0 0.0
RAM 49348 49348 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 777256 777256 0 0.0
RAM 99652 99652 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711250 711250 0 0.0
RAM 73384 73384 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 628264 628264 0 0.0
RAM 142020 142020 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814266 814266 0 0.0
RAM 99564 99564 0 0.0
tizen all-clusters-app arm unknown 5120 5120 0 0.0
FLASH 1766984 1766984 0 0.0
RAM 93672 93672 0 0.0
chip-tool-ubsan arm unknown 11044 11044 0 0.0
FLASH 18218934 18218934 0 0.0
RAM 7959432 7959432 0 0.0

@mergify mergify bot merged commit c3c2a0e into project-chip:master Jan 16, 2025
71 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants