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

[Chef] Create a ContactSensor to support LIT ICD (Linux Only) #37123

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

erwinpan1
Copy link
Contributor

@erwinpan1 erwinpan1 commented Jan 20, 2025

Description

Create a Chef ContactSensor to support LIT ICD .

Testing

  • Build Chef

For example: the following command are setting ICD:

  • IdleModeDuration (seconds): 15
  • ActiveModeDuration (ms): 20000
  • ActiveModeThreshold (ms): 10000

And it will send Check-In message every 15 seconds

$  source scripts/activate.sh
$  cd examples/chef
$ $ ./chef.py -zbrI -d rootnode_contactsensor_ed3b19ec55 -t linux --icd_idle_duration_sec=15 --icd_active_duration_ms=20000 --icd_active_threshold_ms=10000

  • Register-Client
$ chip-tool icdmanagement register-client 112233 0x11 hex:abcdef1234567890abcdef1234567890 0 0x11 0

The extra I is for enabling ICD

This Chef device rootnode_contactsensor_ed3b19ec55 is excluded from the build all script integrations/cloudbuild/chef.yaml since it requires additional compilation argument to enable ICD features.

@erwinpan1 erwinpan1 requested a review from a team as a code owner January 20, 2025 11:23
Copy link

semanticdiff-com bot commented Jan 20, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  examples/chef/chef.py  6% smaller
  examples/chef/devices/rootnode_contactsensor_ed3b19ec55.matter Unsupported file format
  examples/chef/devices/rootnode_contactsensor_ed3b19ec55.zap Unsupported file format
  examples/chef/linux/include/CHIPProjectAppConfig.h Unsupported file format
  examples/chef/linux/main.cpp Unsupported file format
  integrations/cloudbuild/chef.yaml  0% smaller

Copy link

github-actions bot commented Jan 20, 2025

PR #37123: Size comparison from b02badf to 91317d1

Full report (20 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, qpg, stm32, tizen)
platform target config section b02badf 91317d1 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1092532 1092532 0 0.0
RAM 103386 103386 0 0.0
bl702 lighting-app bl702+eth FLASH 650750 650750 0 0.0
RAM 25365 25365 0 0.0
bl702+wifi FLASH 828618 828618 0 0.0
RAM 14097 14097 0 0.0
bl706+mfd+rpc+littlefs FLASH 1055648 1055648 0 0.0
RAM 23949 23949 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 888646 888646 0 0.0
RAM 18628 18628 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 971632 971632 0 0.0
RAM 16484 16484 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 838196 838196 0 0.0
RAM 123560 123560 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823632 823632 0 0.0
RAM 125432 125432 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770800 770800 0 0.0
RAM 113916 113916 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 755060 755060 0 0.0
RAM 114132 114132 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 538509 538509 0 0.0
RAM 205304 205304 0 0.0
lock CC3235SF_LAUNCHXL FLASH 572421 572421 0 0.0
RAM 205440 205440 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 913764 913764 0 0.0
RAM 143196 143196 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 888984 888984 0 0.0
RAM 141383 141383 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 848636 848636 0 0.0
RAM 142108 142108 0 0.0
qpg lighting-app qpg6105+debug FLASH 662112 662112 0 0.0
RAM 105312 105312 0 0.0
lock-app qpg6105+debug FLASH 619892 619892 0 0.0
RAM 99772 99772 0 0.0
stm32 light STM32WB5MM-DK FLASH 482752 482752 0 0.0
RAM 144768 144768 0 0.0
tizen all-clusters-app arm unknown 5132 5132 0 0.0
FLASH 1755408 1755408 0 0.0
RAM 93732 93732 0 0.0
chip-tool-ubsan arm unknown 11044 11044 0 0.0
FLASH 18216942 18216942 0 0.0
RAM 7958632 7958632 0 0.0

Copy link

github-actions bot commented Jan 20, 2025

PR #37123: Size comparison from b02badf to ef66372

Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section b02badf ef66372 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1092532 1092532 0 0.0
RAM 103386 103386 0 0.0
bl702 lighting-app bl702+eth FLASH 650750 650750 0 0.0
RAM 25365 25365 0 0.0
bl702+wifi FLASH 828618 828618 0 0.0
RAM 14097 14097 0 0.0
bl706+mfd+rpc+littlefs FLASH 1055648 1055648 0 0.0
RAM 23949 23949 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 888646 888646 0 0.0
RAM 18628 18628 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 971632 971632 0 0.0
RAM 16484 16484 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 838196 838196 0 0.0
RAM 123560 123560 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823632 823632 0 0.0
RAM 125432 125432 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770800 770800 0 0.0
RAM 113916 113916 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 755060 755060 0 0.0
RAM 114132 114132 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 538509 538509 0 0.0
RAM 205304 205304 0 0.0
lock CC3235SF_LAUNCHXL FLASH 572421 572421 0 0.0
RAM 205440 205440 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679577 679577 0 0.0
RAM 78628 78628 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699429 699429 0 0.0
RAM 81260 81260 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699429 699429 0 0.0
RAM 81260 81260 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656357 656357 0 0.0
RAM 73696 73696 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 615977 615977 0 0.0
RAM 71604 71604 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635605 635605 0 0.0
RAM 74156 74156 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635605 635605 0 0.0
RAM 74156 74156 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635473 635473 0 0.0
RAM 74612 74612 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 655181 655181 0 0.0
RAM 77164 77164 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 655181 655181 0 0.0
RAM 77164 77164 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611949 611949 0 0.0
RAM 68700 68700 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631809 631809 0 0.0
RAM 71340 71340 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631809 631809 0 0.0
RAM 71340 71340 0 0.0
efr32 lock-app BRD4187C FLASH 934760 934760 0 0.0
RAM 160000 160000 0 0.0
BRD4338a FLASH 730580 730580 0 0.0
RAM 234848 234848 0 0.0
window-app BRD4187C FLASH 1030328 1030320 -8 -0.0
RAM 128108 128108 0 0.0
esp32 all-clusters-app c3devkit DRAM 95208 95208 0 0.0
FLASH 1537224 1537224 0 0.0
IRAM 82552 82552 0 0.0
m5stack DRAM 116196 116196 0 0.0
FLASH 1544862 1544862 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4752 4752 0 0.0
FLASH 2710247 2710247 0 0.0
RAM 133240 133240 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 5975792 5975792 0 0.0
RAM 531960 531960 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5323840 5323840 0 0.0
RAM 243104 243104 0 0.0
bridge-app debug unknown 5472 5472 0 0.0
FLASH 4682566 4682566 0 0.0
RAM 221824 221824 0 0.0
chip-tool debug unknown 5984 5984 0 0.0
FLASH 13045286 13045286 0 0.0
RAM 596634 596634 0 0.0
chip-tool-ipv6only arm64 unknown 21816 21816 0 0.0
FLASH 11125792 11125792 0 0.0
RAM 648168 648168 0 0.0
fabric-admin debug unknown 5808 5808 0 0.0
FLASH 11392261 11392261 0 0.0
RAM 596978 596978 0 0.0
fabric-bridge-app debug unknown 4728 4728 0 0.0
FLASH 4507710 4507710 0 0.0
RAM 209008 209008 0 0.0
fabric-sync debug unknown 4968 4968 0 0.0
FLASH 5610517 5610517 0 0.0
RAM 483768 483768 0 0.0
lighting-app debug+rpc+ui unknown 6136 6136 0 0.0
FLASH 5617665 5617665 0 0.0
RAM 232072 232072 0 0.0
lock-app debug unknown 5408 5408 0 0.0
FLASH 4732450 4732450 0 0.0
RAM 208056 208056 0 0.0
ota-provider-app debug unknown 4768 4768 0 0.0
FLASH 4361302 4361302 0 0.0
RAM 201808 201808 0 0.0
ota-requestor-app debug unknown 4720 4720 0 0.0
FLASH 4498772 4498772 0 0.0
RAM 206392 206392 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3006173 3006173 0 0.0
RAM 160832 160832 0 0.0
thermostat-no-ble arm64 unknown 9576 9576 0 0.0
FLASH 4102584 4102584 0 0.0
RAM 246336 246336 0 0.0
tv-app debug unknown 5736 5736 0 0.0
FLASH 5950037 5950037 0 0.0
RAM 607200 607200 0 0.0
tv-casting-app debug unknown 5312 5312 0 0.0
FLASH 11273005 11273005 0 0.0
RAM 711192 711192 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 913764 913764 0 0.0
RAM 143196 143196 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 888984 888984 0 0.0
RAM 141383 141383 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 848636 848636 0 0.0
RAM 142108 142108 0 0.0
nxp contact k32w0+release FLASH 584448 584448 0 0.0
RAM 70976 70976 0 0.0
mcxw71+release FLASH 599816 599816 0 0.0
RAM 63192 63192 0 0.0
light k32w0+release FLASH 610844 610844 0 0.0
RAM 70376 70376 0 0.0
k32w1+release FLASH 685376 685376 0 0.0
RAM 48784 48784 0 0.0
lock mcxw71+release FLASH 761456 761456 0 0.0
RAM 70812 70812 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647236 1647236 0 0.0
RAM 211640 211640 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1553836 1553836 0 0.0
RAM 208456 208456 0 0.0
light cy8ckit_062s2_43012 FLASH 1469788 1469788 0 0.0
RAM 200440 200440 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467740 1467740 0 0.0
RAM 224776 224776 0 0.0
qpg lighting-app qpg6105+debug FLASH 662112 662112 0 0.0
RAM 105312 105312 0 0.0
lock-app qpg6105+debug FLASH 619892 619892 0 0.0
RAM 99772 99772 0 0.0
stm32 light STM32WB5MM-DK FLASH 482752 482752 0 0.0
RAM 144768 144768 0 0.0
telink bridge-app tlsr9258a FLASH 681742 681742 0 0.0
RAM 91112 91112 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621910 621910 0 0.0
RAM 31512 31512 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 770772 770772 0 0.0
RAM 49372 49372 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 775192 775192 0 0.0
RAM 99676 99676 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 709134 709134 0 0.0
RAM 73404 73404 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 626138 626138 0 0.0
RAM 142044 142044 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 812202 812202 0 0.0
RAM 99588 99588 0 0.0
tizen all-clusters-app arm unknown 5132 5132 0 0.0
FLASH 1755408 1755408 0 0.0
RAM 93732 93732 0 0.0
chip-tool-ubsan arm unknown 11044 11044 0 0.0
FLASH 18216942 18216942 0 0.0
RAM 7958632 7958632 0 0.0

@@ -29,7 +29,7 @@ steps:
args:
- >-
perl -i -pe 's/^gdbgui==/# gdbgui==/' /opt/espressif/esp-idf/requirements.txt &&
./examples/chef/chef.py --build_all --build_exclude "noip|temperaturecontrolledcabinet"
./examples/chef/chef.py --build_all --build_exclude "noip|temperaturecontrolledcabinet|ed3b19ec55"
Copy link
Contributor

Choose a reason for hiding this comment

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

ed3b... is not that friendly for users to read. Could we rename it as ICD maybe or use some different description?

Could we explain in comments why these are excluded?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@andy31415 The icd is an cluster instead of a device type of an endpoint that we put it in the Chef's filename. So I just add some comments in the description. PTAL.

Copy link
Contributor

Choose a reason for hiding this comment

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

The description comment doesn't help understand. I don't understand why we are keeping using the weird hashes in the device names. Nobody has actually done anything to keep track of those.

Copy link
Contributor

Choose a reason for hiding this comment

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

It should not say ed3b19ec55 ... it should look like icd or something like that. An I want to exclude 12acb3d statement for example is not human reviewable and maintainable. It has no meaning as a number/hex code. Please use human readable strings.

Copy link
Contributor

Choose a reason for hiding this comment

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

You can change the naming conventions if need be and mark things for ICD if that is important. However do not use hex "signatures" to identify things.

Comment on lines 33 to 37
void notifyIcdActive(System::Layer * layer, void *)
{
ICDNotifier::GetInstance().NotifyNetworkActivityNotification();
DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Milliseconds32(10000), notifyIcdActive, nullptr);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

10s is not representative of real ICD devices.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, we need clear comments here, and make it runtime configurable. thanks

#define CHIP_CONFIG_SYNCHRONOUS_REPORTS_ENABLED 1

// ICD configurations
#define CHIP_CONFIG_ICD_IDLE_MODE_DURATION_SEC 30
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a very short interval. This should be configurable on the command line to allow flexibility.

Copy link
Contributor

Choose a reason for hiding this comment

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

The method ICDConfigurationData::SetModeDurations allows to do that. It should be overridable from command line parameters beyond the starting default of this config.

Copy link
Contributor

Choose a reason for hiding this comment

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

CHIP_CONFIG_ICD_IDLE_MODE_DURATION_SEC is better to be handled with runtime configuration. thanks

Copy link

github-actions bot commented Feb 5, 2025

PR #37123: Size comparison from 577b3f2 to 0cc62c4

Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 577b3f2 0cc62c4 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1093988 1093988 0 0.0
RAM 103298 103298 0 0.0
bl702 lighting-app bl702+eth FLASH 650600 650600 0 0.0
RAM 25265 25265 0 0.0
bl702+wifi FLASH 828508 828508 0 0.0
RAM 13981 13981 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057068 1057068 0 0.0
RAM 23861 23861 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 888502 888502 0 0.0
RAM 18504 18504 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 971488 971488 0 0.0
RAM 16368 16368 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 838160 838160 0 0.0
RAM 123464 123464 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823564 823564 0 0.0
RAM 125344 125344 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770836 770836 0 0.0
RAM 113804 113804 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 755088 755088 0 0.0
RAM 114012 114012 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 538637 538637 0 0.0
RAM 205192 205192 0 0.0
lock CC3235SF_LAUNCHXL FLASH 572493 572493 0 0.0
RAM 205344 205344 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679601 679601 0 0.0
RAM 78532 78532 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699445 699445 0 0.0
RAM 81172 81172 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699445 699445 0 0.0
RAM 81172 81172 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656389 656389 0 0.0
RAM 73600 73600 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 615977 615977 0 0.0
RAM 71516 71516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635613 635613 0 0.0
RAM 74060 74060 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635613 635613 0 0.0
RAM 74060 74060 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635457 635457 0 0.0
RAM 74524 74524 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 655165 655165 0 0.0
RAM 77068 77068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 655165 655165 0 0.0
RAM 77068 77068 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611893 611893 0 0.0
RAM 68612 68612 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631753 631753 0 0.0
RAM 71252 71252 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631753 631753 0 0.0
RAM 71252 71252 0 0.0
efr32 lock-app BRD4187C FLASH 936440 936440 0 0.0
RAM 159872 159872 0 0.0
BRD4338a FLASH 730356 730348 -8 -0.0
RAM 234700 234700 0 0.0
window-app BRD4187C FLASH 1029712 1029712 0 0.0
RAM 127976 127976 0 0.0
esp32 all-clusters-app c3devkit DRAM 97296 97296 0 0.0
FLASH 1577564 1577564 0 0.0
IRAM 83820 83820 0 0.0
m5stack DRAM 116092 116092 0 0.0
FLASH 1545178 1545178 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4760 4760 0 0.0
FLASH 2710221 2710221 0 0.0
RAM 132816 132816 0 0.0
all-clusters-app debug unknown 5568 5568 0 0.0
FLASH 5976202 5976202 0 0.0
RAM 531632 531632 0 0.0
all-clusters-minimal-app debug unknown 5464 5464 0 0.0
FLASH 5324888 5324888 0 0.0
RAM 242744 242744 0 0.0
bridge-app debug unknown 5480 5480 0 0.0
FLASH 4683142 4683142 0 0.0
RAM 221480 221480 0 0.0
chip-tool debug unknown 6120 6120 0 0.0
FLASH 13099998 13099998 0 0.0
RAM 596770 596770 0 0.0
chip-tool-ipv6only arm64 unknown 21848 21848 0 0.0
FLASH 11163616 11163616 0 0.0
RAM 648448 648448 0 0.0
fabric-admin debug unknown 5808 5808 0 0.0
FLASH 11389471 11389471 0 0.0
RAM 596554 596554 0 0.0
fabric-bridge-app debug unknown 4736 4736 0 0.0
FLASH 4507708 4507708 0 0.0
RAM 208664 208664 0 0.0
fabric-sync debug unknown 4976 4976 0 0.0
FLASH 5614085 5614085 0 0.0
RAM 483536 483536 0 0.0
lighting-app debug+rpc+ui unknown 6144 6144 0 0.0
FLASH 5625841 5625841 0 0.0
RAM 231760 231760 0 0.0
lock-app debug unknown 5416 5416 0 0.0
FLASH 4732256 4732256 0 0.0
RAM 207728 207728 0 0.0
ota-provider-app debug unknown 4776 4776 0 0.0
FLASH 4360768 4360768 0 0.0
RAM 201368 201368 0 0.0
ota-requestor-app debug unknown 4728 4728 0 0.0
FLASH 4498240 4498240 0 0.0
RAM 205952 205952 0 0.0
shell debug unknown 4256 4256 0 0.0
FLASH 3006141 3006141 0 0.0
RAM 160504 160504 0 0.0
thermostat-no-ble arm64 unknown 9536 9536 0 0.0
FLASH 4098176 4098176 0 0.0
RAM 246096 246096 0 0.0
tv-app debug unknown 5744 5744 0 0.0
FLASH 5953717 5953717 0 0.0
RAM 606936 606936 0 0.0
tv-casting-app debug unknown 5320 5320 0 0.0
FLASH 11273581 11273581 0 0.0
RAM 710896 710896 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 907196 907196 0 0.0
RAM 142395 142395 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 901824 901824 0 0.0
RAM 124739 124739 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 845920 845920 0 0.0
RAM 141323 141323 0 0.0
nxp contact k32w0+release FLASH 584496 584496 0 0.0
RAM 70860 70860 0 0.0
mcxw71+release FLASH 599832 599832 0 0.0
RAM 63080 63080 0 0.0
light k32w0+release FLASH 610940 610940 0 0.0
RAM 70252 70252 0 0.0
k32w1+release FLASH 685368 685368 0 0.0
RAM 48664 48664 0 0.0
lock mcxw71+release FLASH 748848 748848 0 0.0
RAM 67476 67476 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646844 1646844 0 0.0
RAM 211560 211560 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1553612 1553612 0 0.0
RAM 208376 208376 0 0.0
light cy8ckit_062s2_43012 FLASH 1469292 1469292 0 0.0
RAM 200352 200352 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467340 1467340 0 0.0
RAM 224688 224688 0 0.0
qpg lighting-app qpg6105+debug FLASH 662232 662232 0 0.0
RAM 105204 105204 0 0.0
lock-app qpg6105+debug FLASH 620004 620004 0 0.0
RAM 99648 99648 0 0.0
stm32 light STM32WB5MM-DK FLASH 482824 482824 0 0.0
RAM 144672 144672 0 0.0
telink bridge-app tl7218x FLASH 665242 665242 0 0.0
RAM 90812 90812 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 622000 622000 0 0.0
RAM 31484 31484 0 0.0
light-app-ota-shell-factory-data tl3218x FLASH 770754 770754 0 0.0
RAM 43552 43552 0 0.0
tl7218x FLASH 779284 779284 0 0.0
RAM 98688 98688 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 680618 680618 0 0.0
RAM 52176 52176 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 709172 709172 0 0.0
RAM 73384 73384 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 626086 626086 0 0.0
RAM 142016 142016 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813468 813468 0 0.0
RAM 99560 99560 0 0.0
tizen all-clusters-app arm unknown 5116 5116 0 0.0
FLASH 1752956 1752956 0 0.0
RAM 93524 93524 0 0.0
chip-tool-ubsan arm unknown 11408 11408 0 0.0
FLASH 18699718 18699718 0 0.0
RAM 8184616 8184616 0 0.0

Copy link

github-actions bot commented Feb 14, 2025

PR #37123: Size comparison from 94a47ad to 387f7f2

Full report (14 builds for cc13x4_26x4, cc32xx, nrfconnect, qpg, stm32, tizen)
platform target config section 94a47ad 387f7f2 change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 815204 815204 0 0.0
RAM 120352 120352 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823832 823832 0 0.0
RAM 125360 125360 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770992 770992 0 0.0
RAM 113820 113820 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 755260 755260 0 0.0
RAM 114028 114028 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 538894 538894 0 0.0
RAM 205208 205208 0 0.0
lock CC3235SF_LAUNCHXL FLASH 572766 572766 0 0.0
RAM 205360 205360 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 907464 907464 0 0.0
RAM 142411 142411 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 901920 901920 0 0.0
RAM 124755 124755 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846084 846084 0 0.0
RAM 141339 141339 0 0.0
qpg lighting-app qpg6105+debug FLASH 662340 662340 0 0.0
RAM 105220 105220 0 0.0
lock-app qpg6105+debug FLASH 620136 620136 0 0.0
RAM 99664 99664 0 0.0
stm32 light STM32WB5MM-DK FLASH 459736 459736 0 0.0
RAM 141568 141568 0 0.0
tizen all-clusters-app arm unknown 5104 5104 0 0.0
FLASH 1751708 1751708 0 0.0
RAM 93508 93508 0 0.0
chip-tool-ubsan arm unknown 11396 11396 0 0.0
FLASH 18683334 18683334 0 0.0
RAM 8181084 8181084 0 0.0

@@ -49,6 +57,10 @@ int main(int argc, char * argv[])
cmd_app_server_init();
#endif

#if CHIP_CONFIG_ENABLE_ICD_CIP
DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Milliseconds32(CHIP_CONFIG_ICD_IDLE_MODE_DURATION_SEC*1000), notifyIcdActive, nullptr);
Copy link
Contributor

Choose a reason for hiding this comment

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

Having this timer here feels 100% wrong. Why is this in main? Why does it notify forever?

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