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

[NXP] Add some common platform changes #34159

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

marius-alex-tache
Copy link
Contributor

@marius-alex-tache marius-alex-tache commented Jul 2, 2024

Changes:

  • Add StoreSoftwareUpdateCompleted API with empty implementation
  • Add ICD flags in common config header
  • Create CHIP_DEVICE_CONFIG_USE_ZEPHYR_BLE flag for BLE Zephry usage
  • Enclose CHIPDevicePlatformEvent header sections under CHIP_DEVICE_CONFIG_USE_ZEPHYR_BLE
  • Enclose lwip specific headers under CHIP_SYSTEM_CONFIG_USE_LWIP
  • Add temporary flag CHIP_DEVICE_CONFIG_INIT_OT_PLAT_ALARM to condition otPlatAlarmInit call. Some platforms are doing this separately and two calls will break things.
  • Add CHIP_DEVICE_CONFIG_PROCESS_BLE_IN_THREAD flag to override ProcessThreadActivity by extending its default implementation. Some platforms opt to do the BLE processing inside the Thread task, to avoid creating a separate BLE app task.
  • Add support of boot reason.

Copy link

github-actions bot commented Jul 2, 2024

PR #34159: Size comparison from 005f1b4 to 01406e2

Full report (6 builds for cc32xx, mbed, stm32, tizen)
platform target config section 005f1b4 01406e2 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606186 606186 0 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651214 651214 0 0.0
RAM 204780 204780 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502428 1502428 0 0.0
RAM 226656 226656 0 0.0
stm32 light STM32WB5MM-DK FLASH 472544 472544 0 0.0
RAM 141652 141652 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1633856 1633856 0 0.0
RAM 46012 46012 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16120290 16120290 0 0.0
RAM 7084980 7084980 0 0.0

Copy link

github-actions bot commented Jul 2, 2024

PR #34159: Size comparison from 005f1b4 to a18a7d2

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 005f1b4 a18a7d2 change % change
bl602 lighting-app bl602 FLASH 1271088 1271088 0 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285602 1285602 0 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1310304 1310304 0 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1092238 1092238 0 0.0
RAM 15161 15161 0 0.0
bl702+mfd FLASH 1102932 1102932 0 0.0
RAM 15313 15313 0 0.0
bl702+rpc FLASH 1182048 1182048 0 0.0
RAM 24181 24181 0 0.0
bl706-eth FLASH 875328 875328 0 0.0
RAM 27272 27272 0 0.0
bl706-wifi FLASH 1127724 1127724 0 0.0
RAM 14605 14605 0 0.0
bl702l lighting-app bl702l FLASH 1079124 1079124 0 0.0
RAM 21732 21732 0 0.0
bl702l+mfd FLASH 1090386 1090386 0 0.0
RAM 21892 21892 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797344 797344 0 0.0
RAM 106636 106636 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816260 816260 0 0.0
RAM 116948 116948 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 807712 807712 0 0.0
RAM 111236 111236 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760552 760552 0 0.0
RAM 105328 105328 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746272 746272 0 0.0
RAM 105576 105576 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606186 606186 0 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651214 651214 0 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 666345 666345 0 0.0
RAM 75100 75100 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 686197 686197 0 0.0
RAM 77732 77732 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 686197 686197 0 0.0
RAM 77732 77732 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 643133 643133 0 0.0
RAM 70168 70168 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608873 608873 0 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628517 628517 0 0.0
RAM 73356 73356 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628517 628517 0 0.0
RAM 73356 73356 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624401 624401 0 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644117 644117 0 0.0
RAM 76372 76372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644117 644117 0 0.0
RAM 76372 76372 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 592973 592973 0 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 612825 612825 0 0.0
RAM 70420 70420 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 612825 612825 0 0.0
RAM 70420 70420 0 0.0
efr32 lighting-app BRD4187C FLASH 923444 923436 -8 -0.0
RAM 134996 134996 0 0.0
lock-app BRD4338a FLASH 762524 762524 0 0.0
RAM 174552 174552 0 0.0
window-app BRD4187C FLASH 1012360 1012352 -8 -0.0
RAM 129616 129616 0 0.0
esp32 all-clusters-app c3devkit DRAM 88396 88396 0 0.0
FLASH 1467888 1467888 0 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114868 114868 0 0.0
FLASH 1536799 1536799 0 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2530112 2530112 0 0.0
RAM 125112 125112 0 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5582158 5582158 0 0.0
RAM 487512 487512 0 0.0
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5052328 5052328 0 0.0
RAM 232936 232936 0 0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4478328 4478328 0 0.0
RAM 212832 212832 0 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11693799 11693799 0 0.0
RAM 542146 542146 0 0.0
chip-tool-ipv6only arm64 unknown 19992 19992 0 0.0
FLASH 10811980 10811980 0 0.0
RAM 591072 591072 0 0.0
fabric-admin debug unknown 5592 5592 0 0.0
FLASH 10658247 10658247 0 0.0
RAM 535786 535786 0 0.0
fabric-bridge-app debug unknown 5264 5264 0 0.0
FLASH 4348856 4348856 0 0.0
RAM 204960 204960 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5373570 5373570 0 0.0
RAM 221640 221640 0 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4541896 4541896 0 0.0
RAM 200248 200248 0 0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4197768 4197768 0 0.0
RAM 194544 194544 0 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4323128 4323128 0 0.0
RAM 199168 199168 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2795373 2795373 0 0.0
RAM 150480 150480 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4168236 4168236 0 0.0
RAM 235864 235864 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5605592 5605592 0 0.0
RAM 341800 341800 0 0.0
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9862958 9862958 0 0.0
RAM 400024 400024 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502428 1502428 0 0.0
RAM 226656 226656 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 881340 881340 0 0.0
RAM 139693 139693 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 951852 951852 0 0.0
RAM 138121 138121 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 826848 826848 0 0.0
RAM 138591 138591 0 0.0
nxp contact k32w0+release FLASH 575996 575996 0 0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 591232 591232 0 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610120 610120 0 0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 674824 674824 0 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1613772 1613772 0 0.0
RAM 207148 207148 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534540 1534540 0 0.0
RAM 204052 204052 0 0.0
light cy8ckit_062s2_43012 FLASH 1461404 1461404 0 0.0
RAM 197332 197332 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463268 1463268 0 0.0
RAM 224396 224396 0 0.0
qpg lighting-app qpg6105+debug FLASH 651156 651156 0 0.0
RAM 104564 104564 0 0.0
lock-app qpg6105+debug FLASH 611280 611280 0 0.0
RAM 99240 99240 0 0.0
stm32 light STM32WB5MM-DK FLASH 472544 472544 0 0.0
RAM 141652 141652 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632646 632646 0 0.0
RAM 50528 50528 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 657320 657320 0 0.0
RAM 145872 145872 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 777624 777624 0 0.0
RAM 110684 110684 0 0.0
bridge-app tlsr9258a FLASH 675642 675642 0 0.0
RAM 95304 95304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634230 634230 0 0.0
RAM 50572 50572 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 720030 720030 0 0.0
RAM 77148 77148 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 612458 612458 0 0.0
RAM 142104 142104 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 800244 800244 0 0.0
RAM 100508 100508 0 0.0
lock-app-dfu tlsr9528a FLASH 665804 665804 0 0.0
RAM 69860 69860 0 0.0
ota-requestor-app tlsr9258a FLASH 694972 694972 0 0.0
RAM 95028 95028 0 0.0
pump-app tlsr9518adk80d FLASH 616504 616504 0 0.0
RAM 56952 56952 0 0.0
pump-controller-app tlsr9518adk80d FLASH 606888 606888 0 0.0
RAM 56752 56752 0 0.0
shell tlsr9518adk80d FLASH 466214 466214 0 0.0
RAM 72484 72484 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 640844 640844 0 0.0
RAM 52200 52200 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650714 650714 0 0.0
RAM 60388 60388 0 0.0
thermostat tlsr9518adk80d FLASH 625778 625778 0 0.0
RAM 57084 57084 0 0.0
window-covering tlsr9118bdk40d FLASH 519004 519004 0 0.0
RAM 97800 97800 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1633856 1633856 0 0.0
RAM 46012 46012 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16120290 16120290 0 0.0
RAM 7084980 7084980 0 0.0

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.

Where are the "legacy" files used?

Adding new files without linking in source code feels off, especially if they are "legacy" (i.e. probably should not be used anymore)?

Why do we do this? If this is to preserve old copies, why is git history not sufficient for that?

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.

I do not understand the "legacy" folder. The comment of Add some files in legacy folder. in the PR summary does not help me understand them either.

@marius-alex-tache
Copy link
Contributor Author

Hi, @andy31415. The folder is called legacy because these files are mainly used by k32w0 (which is based on a legacy SDK). I should have specified that these files will be used by some upcoming changes. I am waiting for @chapongatien's PR related to NXP matter support submodule to be merged. Once that is done, I can clean the k32w0 further and sync what we have internally. So this is just an intermediate step and the files will eventually be used. If it is clunky, I can remove this commit for now and just keep the changes to the common NXP part.

@marius-alex-tache marius-alex-tache force-pushed the nxp-common-platform-changes branch from a18a7d2 to c0894ce Compare July 3, 2024 06:32
@marius-alex-tache
Copy link
Contributor Author

I've removed the commits. Will add them in the future.

Copy link

github-actions bot commented Jul 3, 2024

PR #34159: Size comparison from 4ef104b to c0894ce

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 4ef104b c0894ce change % change
bl602 lighting-app bl602 FLASH 1271088 1271088 0 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285602 1285602 0 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1310304 1310304 0 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1092238 1092238 0 0.0
RAM 15161 15161 0 0.0
bl702+mfd FLASH 1102932 1102932 0 0.0
RAM 15313 15313 0 0.0
bl702+rpc FLASH 1182048 1182048 0 0.0
RAM 24181 24181 0 0.0
bl706-eth FLASH 875328 875328 0 0.0
RAM 27272 27272 0 0.0
bl706-wifi FLASH 1127724 1127724 0 0.0
RAM 14605 14605 0 0.0
bl702l lighting-app bl702l FLASH 1079124 1079124 0 0.0
RAM 21732 21732 0 0.0
bl702l+mfd FLASH 1090386 1090386 0 0.0
RAM 21892 21892 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797344 797344 0 0.0
RAM 106636 106636 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816260 816260 0 0.0
RAM 116948 116948 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 807712 807712 0 0.0
RAM 111236 111236 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760552 760552 0 0.0
RAM 105328 105328 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746272 746272 0 0.0
RAM 105576 105576 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 606186 606186 0 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 651214 651214 0 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 666345 666345 0 0.0
RAM 75100 75100 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 686197 686197 0 0.0
RAM 77732 77732 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 686197 686197 0 0.0
RAM 77732 77732 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 643133 643133 0 0.0
RAM 70168 70168 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608873 608873 0 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628517 628517 0 0.0
RAM 73356 73356 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628517 628517 0 0.0
RAM 73356 73356 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624401 624401 0 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644117 644117 0 0.0
RAM 76372 76372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644117 644117 0 0.0
RAM 76372 76372 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 592973 592973 0 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 612825 612825 0 0.0
RAM 70420 70420 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 612825 612825 0 0.0
RAM 70420 70420 0 0.0
efr32 lighting-app BRD4187C FLASH 923444 923436 -8 -0.0
RAM 134996 134996 0 0.0
lock-app BRD4338a FLASH 740132 740132 0 0.0
RAM 203996 203996 0 0.0
window-app BRD4187C FLASH 1012376 1012368 -8 -0.0
RAM 129632 129632 0 0.0
esp32 all-clusters-app c3devkit DRAM 88396 88396 0 0.0
FLASH 1468016 1468016 0 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114868 114868 0 0.0
FLASH 1537007 1537007 0 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2530144 2530144 0 0.0
RAM 125112 125112 0 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5583934 5583934 0 0.0
RAM 488152 488152 0 0.0
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5053880 5053880 0 0.0
RAM 232968 232968 0 0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4478360 4478360 0 0.0
RAM 212832 212832 0 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11714375 11714375 0 0.0
RAM 543394 543394 0 0.0
chip-tool-ipv6only arm64 unknown 20032 20032 0 0.0
FLASH 10830716 10830716 0 0.0
RAM 592368 592368 0 0.0
fabric-admin debug unknown 5592 5592 0 0.0
FLASH 10693287 10693287 0 0.0
RAM 537458 537458 0 0.0
fabric-bridge-app debug unknown 5264 5264 0 0.0
FLASH 4348904 4348904 0 0.0
RAM 204960 204960 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5373602 5373602 0 0.0
RAM 221640 221640 0 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4541944 4541944 0 0.0
RAM 200248 200248 0 0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4197800 4197800 0 0.0
RAM 194544 194544 0 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4323160 4323160 0 0.0
RAM 199168 199168 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2796957 2796957 0 0.0
RAM 150512 150512 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4168284 4168284 0 0.0
RAM 235864 235864 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5605640 5605640 0 0.0
RAM 341800 341800 0 0.0
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9883886 9883886 0 0.0
RAM 400824 400824 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502428 1502428 0 0.0
RAM 226656 226656 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 881476 881476 0 0.0
RAM 139693 139693 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 951992 951992 0 0.0
RAM 138121 138121 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 826988 826988 0 0.0
RAM 138591 138591 0 0.0
nxp contact k32w0+release FLASH 575996 575996 0 0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 591232 591232 0 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610120 610120 0 0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 674824 674824 0 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1614140 1614140 0 0.0
RAM 207148 207148 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534908 1534908 0 0.0
RAM 204052 204052 0 0.0
light cy8ckit_062s2_43012 FLASH 1461404 1461404 0 0.0
RAM 197332 197332 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463268 1463268 0 0.0
RAM 224396 224396 0 0.0
qpg lighting-app qpg6105+debug FLASH 651156 651156 0 0.0
RAM 104564 104564 0 0.0
lock-app qpg6105+debug FLASH 611280 611280 0 0.0
RAM 99240 99240 0 0.0
stm32 light STM32WB5MM-DK FLASH 472544 472544 0 0.0
RAM 141652 141652 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632646 632646 0 0.0
RAM 50528 50528 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 657414 657414 0 0.0
RAM 145872 145872 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 777718 777718 0 0.0
RAM 110684 110684 0 0.0
bridge-app tlsr9258a FLASH 675642 675642 0 0.0
RAM 95304 95304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634230 634230 0 0.0
RAM 50572 50572 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 720030 720030 0 0.0
RAM 77148 77148 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 612458 612458 0 0.0
RAM 142104 142104 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 800244 800244 0 0.0
RAM 100508 100508 0 0.0
lock-app-dfu tlsr9528a FLASH 665804 665804 0 0.0
RAM 69860 69860 0 0.0
ota-requestor-app tlsr9258a FLASH 694972 694972 0 0.0
RAM 95028 95028 0 0.0
pump-app tlsr9518adk80d FLASH 616504 616504 0 0.0
RAM 56952 56952 0 0.0
pump-controller-app tlsr9518adk80d FLASH 606888 606888 0 0.0
RAM 56752 56752 0 0.0
shell tlsr9518adk80d FLASH 466214 466214 0 0.0
RAM 72484 72484 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 640844 640844 0 0.0
RAM 52200 52200 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650714 650714 0 0.0
RAM 60388 60388 0 0.0
thermostat tlsr9518adk80d FLASH 625778 625778 0 0.0
RAM 57084 57084 0 0.0
window-covering tlsr9118bdk40d FLASH 519004 519004 0 0.0
RAM 97800 97800 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1634664 1634664 0 0.0
RAM 46012 46012 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16156442 16156442 0 0.0
RAM 7097980 7097980 0 0.0

Martin-NXP and others added 2 commits July 8, 2024 10:18
- Add StoreSoftwareUpdateCompleted API with empty implementation
- Add ICD flags in common config header
- Create CHIP_DEVICE_CONFIG_USE_ZEPHYR_BLE flag for BLE Zephry usage
- Enclose CHIPDevicePlatformEvent header sections under CHIP_DEVICE_CONFIG_USE_ZEPHYR_BLE
- Enclose lwip specific headers under CHIP_SYSTEM_CONFIG_USE_LWIP
- Add temporary flag CHIP_DEVICE_CONFIG_INIT_OT_PLAT_ALARM to condition otPlatAlarmInit call.
Some platforms are doing this separately and two calls will break things.
- Add CHIP_DEVICE_CONFIG_PROCESS_BLE_IN_THREAD flag to override ProcessThreadActivity by
extending its default implementation. Some platforms opt to do the BLE processing inside
the Thread task, to avoid creating a separate BLE app task.

Signed-off-by: marius-alex-tache <[email protected]>
@marius-alex-tache marius-alex-tache force-pushed the nxp-common-platform-changes branch from c0894ce to 5f7e16a Compare July 8, 2024 07:18
Copy link

github-actions bot commented Jul 8, 2024

PR #34159: Size comparison from 6e31453 to 5f7e16a

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 6e31453 5f7e16a change % change
bl602 lighting-app bl602 FLASH 1271026 1271026 0 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1285284 1285284 0 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1309986 1309986 0 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1091924 1091924 0 0.0
RAM 15265 15265 0 0.0
bl702+mfd FLASH 1102618 1102618 0 0.0
RAM 15417 15417 0 0.0
bl702+rpc FLASH 1181734 1181734 0 0.0
RAM 24285 24285 0 0.0
bl706-eth FLASH 875196 875196 0 0.0
RAM 27376 27376 0 0.0
bl706-wifi FLASH 1127270 1127270 0 0.0
RAM 14709 14709 0 0.0
bl702l lighting-app bl702l FLASH 1078806 1078806 0 0.0
RAM 21836 21836 0 0.0
bl702l+mfd FLASH 1090068 1090068 0 0.0
RAM 21996 21996 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797972 797972 0 0.0
RAM 109180 109180 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 816000 816000 0 0.0
RAM 116956 116956 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 807452 807452 0 0.0
RAM 111236 111236 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 760308 760308 0 0.0
RAM 105336 105336 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 746036 746036 0 0.0
RAM 105576 105576 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 605706 605706 0 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 650734 650734 0 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 667113 667113 0 0.0
RAM 77644 77644 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 686957 686957 0 0.0
RAM 80276 80276 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 686957 686957 0 0.0
RAM 80276 80276 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 643901 643901 0 0.0
RAM 72712 72712 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608745 608745 0 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 628389 628389 0 0.0
RAM 73348 73348 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 628389 628389 0 0.0
RAM 73348 73348 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624273 624273 0 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 643989 643989 0 0.0
RAM 76364 76364 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 643989 643989 0 0.0
RAM 76364 76364 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 592845 592845 0 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 612689 612689 0 0.0
RAM 70428 70428 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 612689 612689 0 0.0
RAM 70428 70428 0 0.0
efr32 lighting-app BRD4187C FLASH 924208 924208 0 0.0
RAM 137516 137516 0 0.0
lock-app BRD4338a FLASH 733068 733068 0 0.0
RAM 207996 207996 0 0.0
window-app BRD4187C FLASH 1012016 1012016 0 0.0
RAM 129620 129620 0 0.0
esp32 all-clusters-app c3devkit DRAM 90860 90860 0 0.0
FLASH 1468736 1468736 0 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 117412 117412 0 0.0
FLASH 1537631 1537631 0 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4592 4592 0 0.0
FLASH 2529008 2529008 0 0.0
RAM 125072 125072 0 0.0
all-clusters-app debug unknown 5368 5368 0 0.0
FLASH 5588686 5588686 0 0.0
RAM 490864 490864 0 0.0
all-clusters-minimal-app debug unknown 5288 5288 0 0.0
FLASH 5060696 5060696 0 0.0
RAM 235488 235488 0 0.0
bridge-app debug unknown 5256 5256 0 0.0
FLASH 4477208 4477208 0 0.0
RAM 212744 212744 0 0.0
chip-tool debug unknown 5728 5728 0 0.0
FLASH 11720407 11720407 0 0.0
RAM 543610 543610 0 0.0
chip-tool-ipv6only arm64 unknown 20008 20008 0 0.0
FLASH 10835356 10835356 0 0.0
RAM 592416 592416 0 0.0
fabric-admin debug unknown 5616 5616 0 0.0
FLASH 10804871 10804871 0 0.0
RAM 540450 540450 0 0.0
fabric-bridge-app debug unknown 4528 4528 0 0.0
FLASH 4242760 4242760 0 0.0
RAM 198808 198808 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5381570 5381570 0 0.0
RAM 224096 224096 0 0.0
lock-app debug unknown 5192 5192 0 0.0
FLASH 4540776 4540776 0 0.0
RAM 200240 200240 0 0.0
ota-provider-app debug unknown 4576 4576 0 0.0
FLASH 4196616 4196616 0 0.0
RAM 194520 194520 0 0.0
ota-requestor-app debug unknown 4512 4512 0 0.0
FLASH 4322152 4322152 0 0.0
RAM 199176 199176 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2803773 2803773 0 0.0
RAM 153000 153000 0 0.0
thermostat-no-ble arm64 unknown 9144 9144 0 0.0
FLASH 4167132 4167132 0 0.0
RAM 235640 235640 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5604696 5604696 0 0.0
RAM 341760 341760 0 0.0
tv-casting-app debug unknown 5096 5096 0 0.0
FLASH 9889950 9889950 0 0.0
RAM 400816 400816 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502292 1502292 0 0.0
RAM 226640 226640 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 882144 882144 0 0.0
RAM 142109 142109 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 952748 952748 0 0.0
RAM 140537 140537 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 827748 827748 0 0.0
RAM 141023 141023 0 0.0
nxp contact k32w0+release FLASH 575916 575916 0 0.0
RAM 70004 70004 0 0.0
k32w1+release FLASH 591144 591144 0 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 610016 610016 0 0.0
RAM 69480 69480 0 0.0
k32w1+release FLASH 674728 674728 0 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1614804 1614804 0 0.0
RAM 209692 209692 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1535700 1535700 0 0.0
RAM 206580 206580 0 0.0
light cy8ckit_062s2_43012 FLASH 1462348 1462348 0 0.0
RAM 199852 199852 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462828 1462828 0 0.0
RAM 224380 224380 0 0.0
qpg lighting-app qpg6105+debug FLASH 651052 651052 0 0.0
RAM 104560 104560 0 0.0
lock-app qpg6105+debug FLASH 611168 611168 0 0.0
RAM 99228 99228 0 0.0
stm32 light STM32WB5MM-DK FLASH 473376 473376 0 0.0
RAM 144204 144204 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632484 632484 0 0.0
RAM 50424 50424 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 658250 658250 0 0.0
RAM 148296 148296 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 778648 778648 0 0.0
RAM 113116 113116 0 0.0
bridge-app tlsr9258a FLASH 675470 675470 0 0.0
RAM 95200 95200 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 634068 634068 0 0.0
RAM 50468 50468 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 719858 719858 0 0.0
RAM 77044 77044 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613438 613438 0 0.0
RAM 144532 144532 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 801224 801224 0 0.0
RAM 102936 102936 0 0.0
lock-app-dfu tlsr9528a FLASH 665632 665632 0 0.0
RAM 69756 69756 0 0.0
ota-requestor-app tlsr9258a FLASH 694800 694800 0 0.0
RAM 94924 94924 0 0.0
pump-app tlsr9518adk80d FLASH 616332 616332 0 0.0
RAM 56848 56848 0 0.0
pump-controller-app tlsr9518adk80d FLASH 606716 606716 0 0.0
RAM 56648 56648 0 0.0
shell tlsr9518adk80d FLASH 466150 466150 0 0.0
RAM 72460 72460 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 640682 640682 0 0.0
RAM 52096 52096 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650542 650542 0 0.0
RAM 60284 60284 0 0.0
thermostat tlsr9518adk80d FLASH 625606 625606 0 0.0
RAM 56980 56980 0 0.0
window-covering tlsr9118bdk40d FLASH 518832 518832 0 0.0
RAM 97696 97696 0 0.0
tizen all-clusters-app arm unknown 1584 1584 0 0.0
FLASH 1637576 1637576 0 0.0
RAM 48540 48540 0 0.0
chip-tool-ubsan arm unknown 2384 2384 0 0.0
FLASH 16168382 16168382 0 0.0
RAM 7103620 7103620 0 0.0

@mergify mergify bot merged commit 47fee48 into project-chip:master Jul 10, 2024
68 checks passed
lazarkov pushed a commit to lazarkov/connectedhomeip that referenced this pull request Jul 10, 2024
* [NXP][platform][common] Add support of boot reason

Signed-off-by: Martin Girardot <[email protected]>

* [NXP][platform][common] Update some components

- Add StoreSoftwareUpdateCompleted API with empty implementation
- Add ICD flags in common config header
- Create CHIP_DEVICE_CONFIG_USE_ZEPHYR_BLE flag for BLE Zephry usage
- Enclose CHIPDevicePlatformEvent header sections under CHIP_DEVICE_CONFIG_USE_ZEPHYR_BLE
- Enclose lwip specific headers under CHIP_SYSTEM_CONFIG_USE_LWIP
- Add temporary flag CHIP_DEVICE_CONFIG_INIT_OT_PLAT_ALARM to condition otPlatAlarmInit call.
Some platforms are doing this separately and two calls will break things.
- Add CHIP_DEVICE_CONFIG_PROCESS_BLE_IN_THREAD flag to override ProcessThreadActivity by
extending its default implementation. Some platforms opt to do the BLE processing inside
the Thread task, to avoid creating a separate BLE app task.

Signed-off-by: marius-alex-tache <[email protected]>

---------

Signed-off-by: Martin Girardot <[email protected]>
Signed-off-by: marius-alex-tache <[email protected]>
Co-authored-by: Martin Girardot <[email protected]>
austina-csa pushed a commit to austina-csa/connectedhomeip that referenced this pull request Jul 10, 2024
* [NXP][platform][common] Add support of boot reason

Signed-off-by: Martin Girardot <[email protected]>

* [NXP][platform][common] Update some components

- Add StoreSoftwareUpdateCompleted API with empty implementation
- Add ICD flags in common config header
- Create CHIP_DEVICE_CONFIG_USE_ZEPHYR_BLE flag for BLE Zephry usage
- Enclose CHIPDevicePlatformEvent header sections under CHIP_DEVICE_CONFIG_USE_ZEPHYR_BLE
- Enclose lwip specific headers under CHIP_SYSTEM_CONFIG_USE_LWIP
- Add temporary flag CHIP_DEVICE_CONFIG_INIT_OT_PLAT_ALARM to condition otPlatAlarmInit call.
Some platforms are doing this separately and two calls will break things.
- Add CHIP_DEVICE_CONFIG_PROCESS_BLE_IN_THREAD flag to override ProcessThreadActivity by
extending its default implementation. Some platforms opt to do the BLE processing inside
the Thread task, to avoid creating a separate BLE app task.

Signed-off-by: marius-alex-tache <[email protected]>

---------

Signed-off-by: Martin Girardot <[email protected]>
Signed-off-by: marius-alex-tache <[email protected]>
Co-authored-by: Martin Girardot <[email protected]>
j-ororke pushed a commit to j-ororke/connectedhomeip that referenced this pull request Jul 18, 2024
* [NXP][platform][common] Add support of boot reason

Signed-off-by: Martin Girardot <[email protected]>

* [NXP][platform][common] Update some components

- Add StoreSoftwareUpdateCompleted API with empty implementation
- Add ICD flags in common config header
- Create CHIP_DEVICE_CONFIG_USE_ZEPHYR_BLE flag for BLE Zephry usage
- Enclose CHIPDevicePlatformEvent header sections under CHIP_DEVICE_CONFIG_USE_ZEPHYR_BLE
- Enclose lwip specific headers under CHIP_SYSTEM_CONFIG_USE_LWIP
- Add temporary flag CHIP_DEVICE_CONFIG_INIT_OT_PLAT_ALARM to condition otPlatAlarmInit call.
Some platforms are doing this separately and two calls will break things.
- Add CHIP_DEVICE_CONFIG_PROCESS_BLE_IN_THREAD flag to override ProcessThreadActivity by
extending its default implementation. Some platforms opt to do the BLE processing inside
the Thread task, to avoid creating a separate BLE app task.

Signed-off-by: marius-alex-tache <[email protected]>

---------

Signed-off-by: Martin Girardot <[email protected]>
Signed-off-by: marius-alex-tache <[email protected]>
Co-authored-by: Martin Girardot <[email protected]>
@marius-alex-tache marius-alex-tache deleted the nxp-common-platform-changes branch October 1, 2024 14:06
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.

4 participants