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

[Realtek] First porting Bee4 #37005

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

Conversation

pankore
Copy link
Contributor

@pankore pankore commented Jan 9, 2025

Bee4 is the codename for Realtek RTL87X2G series IC
We have added support for several matter applications on our SoC board-RTL8777G SOC board, including: lighting,switch,window,lock

Testing

We conducted thorough testing on local RTL8777G SOC boards. This included building the applications, performing commissioning processes, and verifying the basic functionality of the sample-lighting, switch, window, and lock applications.
There is no test added at present. We will temporarily ensure that there are no problems with the version compilation before uploading it. We will push it to be added in future

Copy link

semanticdiff-com bot commented Jan 9, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  .github/.wordlist.txt Unsupported file format
  .gitmodules Unsupported file format
  build_overrides/bee_sdk.gni Unsupported file format
  config/realtek_bee/.gn Unsupported file format
  config/realtek_bee/BUILD.gn Unsupported file format
  config/realtek_bee/args.gni Unsupported file format
  config/realtek_bee/bee_arm.gni Unsupported file format
  config/realtek_bee/build  0% smaller
  config/realtek_bee/build_overrides  0% smaller
  config/realtek_bee/chip.cmake Unsupported file format
  config/realtek_bee/lib/pw_rpc/BUILD.gn Unsupported file format
  config/realtek_bee/mbedtls/BUILD.gn Unsupported file format
  config/realtek_bee/third_party/connectedhomeip  0% smaller
  config/realtek_bee/toolchain/BUILD.gn Unsupported file format
  examples/common/pigweed/realtek_bee/PigweedLoggerMutex.cpp Unsupported file format
  examples/common/pigweed/realtek_bee/PigweedLoggerMutex.h Unsupported file format
  examples/light-switch-app/realtek_bee/README.md Unsupported file format
  examples/light-switch-app/realtek_bee/chip_main.cmake Unsupported file format
  examples/light-switch-app/realtek_bee/data_model/light-switch-app-1_to_11.matter Unsupported file format
  examples/light-switch-app/realtek_bee/data_model/light-switch-app-1_to_11.zap Unsupported file format
  examples/light-switch-app/realtek_bee/data_model/light-switch-app-1_to_2.matter Unsupported file format
  examples/light-switch-app/realtek_bee/data_model/light-switch-app-1_to_2.zap Unsupported file format
  examples/light-switch-app/realtek_bee/data_model/light-switch-app-1_to_8.matter Unsupported file format
  examples/light-switch-app/realtek_bee/data_model/light-switch-app-1_to_8.zap Unsupported file format
  examples/light-switch-app/realtek_bee/main/AppTask.cpp Unsupported file format
  examples/light-switch-app/realtek_bee/main/BindingHandler.cpp Unsupported file format
  examples/light-switch-app/realtek_bee/main/CHIPDeviceManager.cpp Unsupported file format
  examples/light-switch-app/realtek_bee/main/DeviceCallbacks.cpp Unsupported file format
  examples/light-switch-app/realtek_bee/main/Globals.cpp Unsupported file format
  examples/light-switch-app/realtek_bee/main/LightSwitch.cpp Unsupported file format
  examples/light-switch-app/realtek_bee/main/chipinterface.cpp Unsupported file format
  examples/light-switch-app/realtek_bee/main/include/AppConfig.h Unsupported file format
  examples/light-switch-app/realtek_bee/main/include/AppEvent.h Unsupported file format
  examples/light-switch-app/realtek_bee/main/include/AppTask.h Unsupported file format
  examples/light-switch-app/realtek_bee/main/include/BindingHandler.h Unsupported file format
  examples/light-switch-app/realtek_bee/main/include/CHIPDeviceManager.h Unsupported file format
  examples/light-switch-app/realtek_bee/main/include/CHIPProjectConfig.h Unsupported file format
  examples/light-switch-app/realtek_bee/main/include/DeviceCallbacks.h Unsupported file format
  examples/light-switch-app/realtek_bee/main/include/Globals.h Unsupported file format
  examples/light-switch-app/realtek_bee/main/include/LightSwitch.h Unsupported file format
  examples/lighting-app/realtek_bee/README.md Unsupported file format
  examples/lighting-app/realtek_bee/chip_main.cmake Unsupported file format
  examples/lighting-app/realtek_bee/data_model/lighting-app.matter Unsupported file format
  examples/lighting-app/realtek_bee/data_model/lighting-app.zap Unsupported file format
  examples/lighting-app/realtek_bee/main/AppTask.cpp Unsupported file format
  examples/lighting-app/realtek_bee/main/CHIPDeviceManager.cpp Unsupported file format
  examples/lighting-app/realtek_bee/main/DeviceCallbacks.cpp Unsupported file format
  examples/lighting-app/realtek_bee/main/Globals.cpp Unsupported file format
  examples/lighting-app/realtek_bee/main/LightingManager.cpp Unsupported file format
  examples/lighting-app/realtek_bee/main/chipinterface.cpp Unsupported file format
  examples/lighting-app/realtek_bee/main/include/AppConfig.h Unsupported file format
  examples/lighting-app/realtek_bee/main/include/AppEvent.h Unsupported file format
  examples/lighting-app/realtek_bee/main/include/AppTask.h Unsupported file format
  examples/lighting-app/realtek_bee/main/include/CHIPDeviceManager.h Unsupported file format
  examples/lighting-app/realtek_bee/main/include/CHIPProjectConfig.h Unsupported file format
  examples/lighting-app/realtek_bee/main/include/DeviceCallbacks.h Unsupported file format
  examples/lighting-app/realtek_bee/main/include/Globals.h Unsupported file format
  examples/lighting-app/realtek_bee/main/include/LightingManager.h Unsupported file format
  examples/lock-app/realtek_bee/README.md Unsupported file format
  examples/lock-app/realtek_bee/chip_main.cmake Unsupported file format
  examples/lock-app/realtek_bee/main/AppTask.cpp Unsupported file format
  examples/lock-app/realtek_bee/main/BoltLockManager.cpp Unsupported file format
  examples/lock-app/realtek_bee/main/CHIPDeviceManager.cpp Unsupported file format
  examples/lock-app/realtek_bee/main/DeviceCallbacks.cpp Unsupported file format
  examples/lock-app/realtek_bee/main/Globals.cpp Unsupported file format
  examples/lock-app/realtek_bee/main/chipinterface.cpp Unsupported file format
  examples/lock-app/realtek_bee/main/include/AppConfig.h Unsupported file format
  examples/lock-app/realtek_bee/main/include/AppEvent.h Unsupported file format
  examples/lock-app/realtek_bee/main/include/AppTask.h Unsupported file format
  examples/lock-app/realtek_bee/main/include/BoltLockManager.h Unsupported file format
  examples/lock-app/realtek_bee/main/include/CHIPDeviceManager.h Unsupported file format
  examples/lock-app/realtek_bee/main/include/CHIPProjectConfig.h Unsupported file format
  examples/lock-app/realtek_bee/main/include/DeviceCallbacks.h Unsupported file format
  examples/lock-app/realtek_bee/main/include/Globals.h Unsupported file format
  examples/ota-requestor-app/realtek_bee/README.md Unsupported file format
  examples/ota-requestor-app/realtek_bee/chip_main.cmake Unsupported file format
  examples/ota-requestor-app/realtek_bee/main/AppTask.cpp Unsupported file format
  examples/ota-requestor-app/realtek_bee/main/CHIPDeviceManager.cpp Unsupported file format
  examples/ota-requestor-app/realtek_bee/main/DeviceCallbacks.cpp Unsupported file format
  examples/ota-requestor-app/realtek_bee/main/chipinterface.cpp Unsupported file format
  examples/ota-requestor-app/realtek_bee/main/include/AppConfig.h Unsupported file format
  examples/ota-requestor-app/realtek_bee/main/include/AppEvent.h Unsupported file format
  examples/ota-requestor-app/realtek_bee/main/include/AppTask.h Unsupported file format
  examples/ota-requestor-app/realtek_bee/main/include/CHIPDeviceManager.h Unsupported file format
  examples/ota-requestor-app/realtek_bee/main/include/CHIPProjectConfig.h Unsupported file format
  examples/ota-requestor-app/realtek_bee/main/include/DeviceCallbacks.h Unsupported file format
  examples/platform/realtek_bee/PigweedLogger.cpp Unsupported file format
  examples/platform/realtek_bee/PigweedLogger.h Unsupported file format
  examples/platform/realtek_bee/Rpc.cpp Unsupported file format
  examples/platform/realtek_bee/Rpc.h Unsupported file format
  examples/platform/realtek_bee/ota/OTAInitializer.cpp Unsupported file format
  examples/platform/realtek_bee/ota/OTAInitializer.h Unsupported file format
  examples/platform/realtek_bee/pw_sys_io/BUILD.gn Unsupported file format
  examples/platform/realtek_bee/pw_sys_io/CMakeLists.txt Unsupported file format
  examples/platform/realtek_bee/pw_sys_io/public/pw_sys_io_bee/init.h Unsupported file format
  examples/platform/realtek_bee/pw_sys_io/sys_io_bee.cc Unsupported file format
  examples/platform/realtek_bee/route_hook/ameba_route_hook.c Unsupported file format
  examples/platform/realtek_bee/route_hook/ameba_route_hook.h Unsupported file format
  examples/platform/realtek_bee/route_hook/ameba_route_table.c Unsupported file format
  examples/platform/realtek_bee/route_hook/ameba_route_table.h Unsupported file format
  examples/platform/realtek_bee/shell/launch_shell.cpp Unsupported file format
  examples/platform/realtek_bee/shell/launch_shell.h Unsupported file format
  examples/platform/realtek_bee/util/LEDWidget.cpp Unsupported file format
  examples/platform/realtek_bee/util/LEDWidget.h Unsupported file format
  examples/window-app/realtek_bee/README.md Unsupported file format
  examples/window-app/realtek_bee/chip_main.cmake Unsupported file format
  examples/window-app/realtek_bee/main/AppTask.cpp Unsupported file format
  examples/window-app/realtek_bee/main/CHIPDeviceManager.cpp Unsupported file format
  examples/window-app/realtek_bee/main/DeviceCallbacks.cpp Unsupported file format
  examples/window-app/realtek_bee/main/WindowCovering.cpp Unsupported file format
  examples/window-app/realtek_bee/main/chipinterface.cpp Unsupported file format
  examples/window-app/realtek_bee/main/include/AppConfig.h Unsupported file format
  examples/window-app/realtek_bee/main/include/AppEvent.h Unsupported file format
  examples/window-app/realtek_bee/main/include/AppTask.h Unsupported file format
  examples/window-app/realtek_bee/main/include/CHIPDeviceManager.h Unsupported file format
  examples/window-app/realtek_bee/main/include/CHIPProjectConfig.h Unsupported file format
  examples/window-app/realtek_bee/main/include/DeviceCallbacks.h Unsupported file format
  examples/window-app/realtek_bee/main/include/WindowCovering.h Unsupported file format
  scripts/checkout_submodules.py  0% smaller
  src/BUILD.gn Unsupported file format
  src/lib/shell/BUILD.gn Unsupported file format
  src/lib/shell/MainLoopBee.cpp Unsupported file format
  src/lib/shell/streamer_bee.cpp Unsupported file format
  src/platform/BUILD.gn Unsupported file format
  src/platform/Realtek_bee/BLEManagerImpl.cpp Unsupported file format
  src/platform/Realtek_bee/BLEManagerImpl.h Unsupported file format
  src/platform/Realtek_bee/BUILD.gn Unsupported file format
  src/platform/Realtek_bee/BeeConfig.cpp Unsupported file format
  src/platform/Realtek_bee/BeeConfig.h Unsupported file format
  src/platform/Realtek_bee/BlePlatformConfig.h Unsupported file format
  src/platform/Realtek_bee/CHIPDevicePlatformConfig.h Unsupported file format
  src/platform/Realtek_bee/CHIPDevicePlatformEvent.h Unsupported file format
  src/platform/Realtek_bee/CHIPPlatformConfig.h Unsupported file format
  src/platform/Realtek_bee/ConfigurationManagerImpl.cpp Unsupported file format
  src/platform/Realtek_bee/ConfigurationManagerImpl.h Unsupported file format
  src/platform/Realtek_bee/ConnectivityManagerImpl.cpp Unsupported file format
  src/platform/Realtek_bee/ConnectivityManagerImpl.h Unsupported file format
  src/platform/Realtek_bee/DiagnosticDataProviderImpl.cpp Unsupported file format
  src/platform/Realtek_bee/DiagnosticDataProviderImpl.h Unsupported file format
  src/platform/Realtek_bee/FactoryDataDecoder.cpp Unsupported file format
  src/platform/Realtek_bee/FactoryDataDecoder.h Unsupported file format
  src/platform/Realtek_bee/FactoryDataProvider.cpp Unsupported file format
  src/platform/Realtek_bee/FactoryDataProvider.h Unsupported file format
  src/platform/Realtek_bee/InetPlatformConfig.h Unsupported file format
  src/platform/Realtek_bee/KeyValueStoreManagerImpl.cpp Unsupported file format
  src/platform/Realtek_bee/KeyValueStoreManagerImpl.h Unsupported file format
  src/platform/Realtek_bee/Logging.cpp Unsupported file format
  src/platform/Realtek_bee/OTAImageProcessorImpl.cpp Unsupported file format
  src/platform/Realtek_bee/OTAImageProcessorImpl.h Unsupported file format
  src/platform/Realtek_bee/PlatformManagerImpl.cpp Unsupported file format
  src/platform/Realtek_bee/PlatformManagerImpl.h Unsupported file format
  src/platform/Realtek_bee/README.md Unsupported file format
  src/platform/Realtek_bee/SystemPlatformConfig.h Unsupported file format
  src/platform/Realtek_bee/ThreadStackManagerImpl.cpp Unsupported file format
  src/platform/Realtek_bee/ThreadStackManagerImpl.h Unsupported file format
  src/platform/Realtek_bee/args.gni Unsupported file format
  src/platform/device.gni Unsupported file format
  src/platform/logging/BUILD.gn Unsupported file format
  third_party/openthread/ot-realtek  0% smaller

@github-actions github-actions bot added the github label Jan 9, 2025
Copy link

github-actions bot commented Jan 9, 2025

PR #37005: Size comparison from f25f635 to c90548e

Full report (3 builds for cc32xx, stm32)
platform target config section f25f635 c90548e change % change
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
stm32 light STM32WB5MM-DK FLASH 485080 485080 0 0.0
RAM 144912 144912 0 0.0

Copy link

github-actions bot commented Jan 9, 2025

PR #37005: Size comparison from f25f635 to d4bb589

Full report (3 builds for cc32xx, stm32)
platform target config section f25f635 d4bb589 change % change
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
stm32 light STM32WB5MM-DK FLASH 485080 485080 0 0.0
RAM 144912 144912 0 0.0

Copy link

github-actions bot commented Jan 9, 2025

PR #37005: Size comparison from f25f635 to a274c97

Full report (3 builds for cc32xx, stm32)
platform target config section f25f635 a274c97 change % change
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
stm32 light STM32WB5MM-DK FLASH 485080 485080 0 0.0
RAM 144912 144912 0 0.0

@andy31415 andy31415 added the changing-submodules-on-purpose Marker that this PR is changing submodules (and it is not a "commit all" typo/mistake) label Jan 9, 2025
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.

This is a very large change. Please make sure CI passes and also expand the Summary with details:

  • what is Bee4
  • what examples were added/general TLDR on changes
  • add a ### Testing section: how did you check that the things you added work correctly (and how can others in the future do the same?). Were there any tests added/updated? There are no CI changes so how will "this compiles" be enforced over time? if you add CI how much overhead is added for it?

Copy link

github-actions bot commented Jan 10, 2025

PR #37005: Size comparison from f25f635 to bd8c910

Increases above 0.2%:

platform target config section f25f635 bd8c910 change % change
linux chip-tool-ipv6only arm64 unknown 21400 21560 160 0.7
FLASH 10995728 11053856 58128 0.5
RAM 633584 638064 4480 0.7
tizen chip-tool-ubsan arm unknown 10844 10924 80 0.7
FLASH 17999086 18121646 122560 0.7
RAM 7855832 7909212 53380 0.7
Full report (55 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section f25f635 bd8c910 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1354956 1354946 -10 -0.0
RAM 104152 104152 0 0.0
bl702 lighting-app bl702+eth FLASH 726256 726512 256 0.0
RAM 25361 25361 0 0.0
bl702+wifi FLASH 913126 913126 0 0.0
RAM 14101 14101 0 0.0
bl706+mfd+rpc+littlefs FLASH 1173960 1173960 0 0.0
RAM 23941 23941 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 1083028 1083028 0 0.0
RAM 16612 16612 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 840208 840400 192 0.0
RAM 123696 123712 16 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825748 825932 184 0.0
RAM 125584 125600 16 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772568 772836 268 0.0
RAM 114060 114076 16 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756748 757016 268 0.0
RAM 114260 114276 16 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 540049 540285 236 0.0
RAM 205800 205816 16 0.0
lock CC3235SF_LAUNCHXL FLASH 574217 574453 236 0.0
RAM 205944 205960 16 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681745 681809 64 0.0
RAM 78756 78756 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701597 701653 56 0.0
RAM 81396 81396 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701597 701653 56 0.0
RAM 81396 81396 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658525 658589 64 0.0
RAM 73824 73824 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618369 618425 56 0.0
RAM 71748 71748 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637997 638053 56 0.0
RAM 74292 74292 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637997 638053 56 0.0
RAM 74292 74292 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637769 637825 56 0.0
RAM 74756 74756 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657477 657533 56 0.0
RAM 77300 77300 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657477 657533 56 0.0
RAM 77300 77300 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614389 614445 56 0.0
RAM 68844 68844 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634241 634297 56 0.0
RAM 71476 71476 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634241 634297 56 0.0
RAM 71476 71476 0 0.0
efr32 lock-app BRD4187C FLASH 932676 932740 64 0.0
RAM 160228 160228 0 0.0
BRD4338a FLASH 747160 747200 40 0.0
RAM 233356 233356 0 0.0
window-app BRD4187C FLASH 1025592 1025656 64 0.0
RAM 128332 128332 0 0.0
esp32 all-clusters-app c3devkit DRAM 95352 95352 0 0.0
FLASH 1541956 1541996 40 0.0
IRAM 82552 82552 0 0.0
m5stack DRAM 116332 116332 0 0.0
FLASH 1548154 1548246 92 0.0
IRAM 117039 117039 0 0.0
linux chip-tool-ipv6only arm64 unknown 21400 21560 160 0.7
FLASH 10995728 11053856 58128 0.5
RAM 633584 638064 4480 0.7
thermostat-no-ble arm64 unknown 9584 9584 0 0.0
FLASH 4118968 4120104 1136 0.0
RAM 246296 246384 88 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 918100 918156 56 0.0
RAM 143332 143332 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890592 890664 72 0.0
RAM 141519 141519 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852164 852220 56 0.0
RAM 142244 142244 0 0.0
nxp contact k32w0+release FLASH 586048 586112 64 0.0
RAM 71112 71112 0 0.0
mcxw71+release FLASH 601576 601624 48 0.0
RAM 63328 63328 0 0.0
light k32w0+release FLASH 612700 612748 48 0.0
RAM 70504 70504 0 0.0
k32w1+release FLASH 687320 687384 64 0.0
RAM 48920 48920 0 0.0
lock mcxw71+release FLASH 763656 763704 48 0.0
RAM 70956 70956 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647500 1647684 184 0.0
RAM 212128 212144 16 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1555132 1555316 184 0.0
RAM 208944 208960 16 0.0
light cy8ckit_062s2_43012 FLASH 1470236 1470420 184 0.0
RAM 200912 200928 16 0.0
lock cy8ckit_062s2_43012 FLASH 1467956 1468156 200 0.0
RAM 225272 225280 8 0.0
qpg lighting-app qpg6105+debug FLASH 664328 664392 64 0.0
RAM 105456 105456 0 0.0
lock-app qpg6105+debug FLASH 622156 622204 48 0.0
RAM 99908 99908 0 0.0
stm32 light STM32WB5MM-DK FLASH 485080 485136 56 0.0
RAM 144912 144912 0 0.0
telink bridge-app tlsr9258a FLASH 683634 683698 64 0.0
RAM 91248 91248 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623874 623938 64 0.0
RAM 31488 31488 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772708 772772 64 0.0
RAM 49348 49348 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 777324 777388 64 0.0
RAM 99812 99812 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711316 711380 64 0.0
RAM 73544 73544 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 628320 628384 64 0.0
RAM 142180 142180 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814334 814398 64 0.0
RAM 99724 99724 0 0.0
tizen all-clusters-app arm unknown 5160 5160 0 0.0
FLASH 1780980 1781748 768 0.0
RAM 93684 93720 36 0.0
chip-tool-ubsan arm unknown 10844 10924 80 0.7
FLASH 17999086 18121646 122560 0.7
RAM 7855832 7909212 53380 0.7

Copy link

github-actions bot commented Jan 13, 2025

PR #37005: Size comparison from d5e9829 to 953fa57

Full report (70 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section d5e9829 953fa57 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1355350 1355350 0 0.0
RAM 103952 103952 0 0.0
bl702 lighting-app bl702+eth FLASH 726034 726034 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 912904 912904 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1173762 1173762 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 1082790 1082790 0 0.0
RAM 16604 16604 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 840224 840224 0 0.0
RAM 123552 123552 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825724 825724 0 0.0
RAM 125440 125440 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772620 772620 0 0.0
RAM 113916 113916 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756816 756816 0 0.0
RAM 114116 114116 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 540041 540041 0 0.0
RAM 205304 205304 0 0.0
lock CC3235SF_LAUNCHXL FLASH 574209 574209 0 0.0
RAM 205448 205448 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681601 681601 0 0.0
RAM 78596 78596 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701453 701453 0 0.0
RAM 81236 81236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701453 701453 0 0.0
RAM 81236 81236 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658389 658389 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 932500 932500 0 0.0
RAM 160068 160068 0 0.0
BRD4338a FLASH 749232 749224 -8 -0.0
RAM 233196 233196 0 0.0
window-app BRD4187C FLASH 1026896 1026888 -8 -0.0
RAM 128172 128172 0 0.0
esp32 all-clusters-app c3devkit DRAM 95192 95192 0 0.0
FLASH 1541904 1541904 0 0.0
IRAM 82552 82552 0 0.0
m5stack DRAM 116172 116172 0 0.0
FLASH 1548458 1548458 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4752 4752 0 0.0
FLASH 2723229 2723229 0 0.0
RAM 133160 133160 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 5996466 5996466 0 0.0
RAM 526072 526072 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5341652 5341652 0 0.0
RAM 243072 243072 0 0.0
bridge-app debug unknown 5472 5472 0 0.0
FLASH 4696806 4696806 0 0.0
RAM 221824 221824 0 0.0
chip-tool debug unknown 5984 5984 0 0.0
FLASH 12867152 12867152 0 0.0
RAM 587002 587002 0 0.0
chip-tool-ipv6only arm64 unknown 21536 21536 0 0.0
FLASH 10989440 10989440 0 0.0
RAM 638048 638048 0 0.0
fabric-admin debug unknown 5808 5808 0 0.0
FLASH 11274263 11274263 0 0.0
RAM 587346 587346 0 0.0
fabric-bridge-app debug unknown 4728 4728 0 0.0
FLASH 4521756 4521756 0 0.0
RAM 208928 208928 0 0.0
fabric-sync debug unknown 4968 4968 0 0.0
FLASH 5622981 5622981 0 0.0
RAM 477880 477880 0 0.0
lighting-app debug+rpc+ui unknown 6136 6136 0 0.0
FLASH 5631329 5631329 0 0.0
RAM 232072 232072 0 0.0
lock-app debug unknown 5408 5408 0 0.0
FLASH 4744568 4744568 0 0.0
RAM 208072 208072 0 0.0
ota-provider-app debug unknown 4768 4768 0 0.0
FLASH 4372108 4372108 0 0.0
RAM 201744 201744 0 0.0
ota-requestor-app debug unknown 4720 4720 0 0.0
FLASH 4510120 4510120 0 0.0
RAM 206312 206312 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3023197 3023197 0 0.0
RAM 160792 160792 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4110296 4110296 0 0.0
RAM 246368 246368 0 0.0
tv-app debug unknown 5736 5736 0 0.0
FLASH 5966741 5966741 0 0.0
RAM 601312 601312 0 0.0
tv-casting-app debug unknown 5312 5312 0 0.0
FLASH 11102349 11102349 0 0.0
RAM 700496 700496 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917804 917804 0 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 851932 0 0.0
RAM 142084 142084 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 687184 687184 0 0.0
RAM 48760 48760 0 0.0
lock mcxw71+release FLASH 763456 763456 0 0.0
RAM 70796 70796 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1652124 1652124 0 0.0
RAM 211632 211632 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1557884 1557884 0 0.0
RAM 208448 208448 0 0.0
light cy8ckit_062s2_43012 FLASH 1472492 1472492 0 0.0
RAM 200416 200416 0 0.0
lock cy8ckit_062s2_43012 FLASH 1470276 1470276 0 0.0
RAM 224768 224768 0 0.0
qpg lighting-app qpg6105+debug FLASH 664176 664176 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 683564 683564 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 772664 772664 0 0.0
RAM 49348 49348 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 777268 777268 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 814278 814278 0 0.0
RAM 99564 99564 0 0.0
tizen all-clusters-app arm unknown 5120 5120 0 0.0
FLASH 1767272 1767272 0 0.0
RAM 93708 93708 0 0.0
chip-tool-ubsan arm unknown 10904 10904 0 0.0
FLASH 17949774 17949774 0 0.0
RAM 7842672 7842672 0 0.0

@pankore
Copy link
Contributor Author

pankore commented Jan 13, 2025

Please help to check again

import("//build_overrides/bee_sdk.gni")
declare_args() {
# Location of the BEE SDK.
bee_sdk_root = "${chip_root}/third_party/bee_sdk"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this supposed to contain a submodule? How is this compiled?

## Realtek SDK

More detailed information on the Bee4 SDK can be found in the
[Realtek Matter SDK](https://github.com/rtkconnectivity/rtl87x2g_sdk).
Copy link
Contributor

Choose a reason for hiding this comment

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

There should be some instructions on how to compile in the SDK itself. likely some build-examples.py line.

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.

CI seems to pass. We still need to have this integrated in our build system:

  • add build_examples.py compile support
  • update README.md to describe how to build if anything is required

I would like to ensure we can easily get the SDK and it is not under some login/NDA/other agreement link.

${CHIP_ROOT}/src/app
${CHIP_ROOT}/src/platform/Realtek_bee
${CHIP_ROOT}/src/platform/OpenThread
# ${CHIP_ROOT}/src/lwip/bee
Copy link
Contributor

Choose a reason for hiding this comment

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

remove commented out lines

@pankore
Copy link
Contributor Author

pankore commented Jan 16, 2025

I have updated the README file for each sample to include detailed build instructions. Please help to check again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changing-submodules-on-purpose Marker that this PR is changing submodules (and it is not a "commit all" typo/mistake) config examples github gn lib platform review - pending scripts shell
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants