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

ESP32: avoid installing gdbgui when not needed #26542

Merged
merged 1 commit into from
May 12, 2023

Conversation

agners
Copy link
Contributor

@agners agners commented May 12, 2023

ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see espressif/esp-idf@3974be7). Avoid installing it when not needed. This allows to boostrap the SDK on systems with Python 3.11.

Fixes: #25385

ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see
espressif/esp-idf@3974be7).
Avoid installing it when not needed.

Fixes: project-chip#25385
@github-actions
Copy link

PR #26542: Size comparison from a3b4005 to 087a555

Increases (2 builds for bl602, cc32xx)
platform target config section a3b4005 087a555 change % change
bl602 lighting-app bl602 (read/write) 1355002 1355010 8 0.0
.text 1035984 1035988 4 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 19678442 19678443 1 0.0
Decreases (4 builds for bl702, nrfconnect, qpg)
platform target config section a3b4005 087a555 change % change
bl702 lighting-app bl702 .debug_info 40947053 40947051 -2 -0.0
.text 965482 965478 -4 -0.0
bl702+rpc .debug_info 45852868 45852867 -1 -0.0
.text 1038106 1038104 -2 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 807284 807280 -4 -0.0
qpg lock-app qpg6105+debug (read/write) 1139500 1139492 -8 -0.0
.text 586600 586592 -8 -0.0
Full report (16 builds for bl602, bl702, cc32xx, k32w, linux, mbed, nrfconnect, qpg)
platform target config section a3b4005 087a555 change % change
bl602 lighting-app bl602 (read/write) 1355002 1355010 8 0.0
.bss 87886 87886 0 0.0
.data 9648 9648 0 0.0
.text 1035984 1035988 4 0.0
bl602+rpc (read/write) 1401278 1401278 0 0.0
.bss 95934 95934 0 0.0
.data 10040 10040 0 0.0
.text 1067342 1067342 0 0.0
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3358 3358 0 0.0
(read/write) 1185791 1185791 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 67585 67585 0 0.0
.bss_psram 24368 24368 0 0.0
.comment 48 48 0 0.0
.data 3952 3952 0 0.0
.debug_abbrev 1551184 1551184 0 0.0
.debug_aranges 132944 132944 0 0.0
.debug_frame 488808 488808 0 0.0
.debug_info 40947053 40947051 -2 -0.0
.debug_line 5303308 5303308 0 0.0
.debug_loc 3424642 3424642 0 0.0
.debug_ranges 372344 372344 0 0.0
.debug_str 3708369 3708369 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 106320 106320 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 580869 580869 0 0.0
.symtab 175264 175264 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 965482 965478 -4 -0.0
bl702+rpc 0 0 0 0.0
(read only) 3358 3358 0 0.0
(read/write) 1273571 1273571 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 75633 75633 0 0.0
.bss_psram 24768 24768 0 0.0
.comment 48 48 0 0.0
.data 4504 4504 0 0.0
.debug_abbrev 1707934 1707934 0 0.0
.debug_aranges 141224 141224 0 0.0
.debug_frame 516780 516780 0 0.0
.debug_info 45852868 45852867 -1 -0.0
.debug_line 5718212 5718212 0 0.0
.debug_loc 3626890 3626890 0 0.0
.debug_ranges 397648 397648 0 0.0
.debug_str 4133474 4133474 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 120144 120144 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 641539 641539 0 0.0
.symtab 193600 193600 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 1038106 1038104 -2 -0.0
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 605018 605018 0 0.0
(read/write) 204164 204164 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197576 197576 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 958615 958615 0 0.0
.debug_aranges 101232 101232 0 0.0
.debug_frame 342084 342084 0 0.0
.debug_info 19678442 19678443 1 0.0
.debug_line 2673606 2673606 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1491157 1491157 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 94412 94412 0 0.0
.debug_str 3131974 3131974 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104322 104322 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 483172 483172 0 0.0
.symtab 287232 287232 0 0.0
.text 498572 498572 0 0.0
k32w contact k32w0+release (read only) 583460 583460 0 0.0
(read/write) 82704 82704 0 0.0
.bss 65888 65888 0 0.0
.data 2192 2192 0 0.0
.text 582924 582924 0 0.0
light k32w0+release (read only) 582316 582316 0 0.0
(read/write) 82356 82356 0 0.0
.bss 65552 65552 0 0.0
.data 2180 2180 0 0.0
.text 581780 581780 0 0.0
lock k32w0+release (read only) 555836 555836 0 0.0
(read/write) 80352 80352 0 0.0
.bss 63624 63624 0 0.0
.data 2104 2104 0 0.0
.text 555300 555300 0 0.0
linux chip-tool-ipv6only arm64 (read only) 12259740 12259740 0 0.0
(read/write) 746696 746696 0 0.0
.bss 34392 34392 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 688336 688336 0 0.0
.dynamic 560 560 0 0.0
.got 15752 15752 0 0.0
.init 24 24 0 0.0
.init_array 216 216 0 0.0
.rodata 570208 570208 0 0.0
.text 9916788 9916788 0 0.0
thermostat-no-ble arm64 (read only) 2528372 2528372 0 0.0
(read/write) 145816 145816 0 0.0
.bss 56392 56392 0 0.0
.data 1784 1784 0 0.0
.data.rel.ro 78048 78048 0 0.0
.dynamic 560 560 0 0.0
.got 5472 5472 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 130184 130184 0 0.0
.text 2133456 2133456 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2495064 2495064 0 0.0
.bss 216304 216304 0 0.0
.data 5144 5144 0 0.0
.text 1457748 1457748 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1176356 1176356 0 0.0
bss 155563 155563 0 0.0
rodata 132756 132756 0 0.0
text 807284 807280 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1123464 1123464 0 0.0
bss 154757 154757 0 0.0
rodata 109752 109752 0 0.0
text 778220 778220 0 0.0
all-clusters-app nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1436084 1436084 0 0.0
bss 135303 135303 0 0.0
rodata 228772 228772 0 0.0
text 777944 777944 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1169632 1169632 0 0.0
.bss 99632 99632 0 0.0
.data 856 856 0 0.0
.text 616732 616732 0 0.0
lock-app qpg6105+debug (read/write) 1139500 1139492 -8 -0.0
.bss 94824 94824 0 0.0
.data 856 856 0 0.0
.text 586600 586592 -8 -0.0

Copy link
Contributor

@bzbarsky-apple bzbarsky-apple left a comment

Choose a reason for hiding this comment

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

Yay!

@andy31415 andy31415 merged commit a6bb718 into project-chip:master May 12, 2023
shubhamdp pushed a commit to shubhamdp/connectedhomeip that referenced this pull request Aug 3, 2023
ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see
espressif/esp-idf@3974be7).
Avoid installing it when not needed.

Fixes: project-chip#25385
shubhamdp pushed a commit to shubhamdp/connectedhomeip that referenced this pull request Aug 4, 2023
ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see
espressif/esp-idf@3974be7).
Avoid installing it when not needed.

Fixes: project-chip#25385
andy31415 added a commit that referenced this pull request Aug 8, 2023
* ESP32: avoid installing gdbgui when not needed (#26542)

ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see
espressif/esp-idf@3974be7).
Avoid installing it when not needed.

Fixes: #25385

* Remove gdbgui requirement for esp32 (#28007)

* Remove gdbgui requirement for esp32

* Fix qemu

* Fix chef as well

---------

Co-authored-by: Stefan Agner <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
ankk-css pushed a commit to ying-css/connectedhomeip that referenced this pull request Aug 8, 2023
…t-chip#28507)

* ESP32: avoid installing gdbgui when not needed (project-chip#26542)

ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see
espressif/esp-idf@3974be7).
Avoid installing it when not needed.

Fixes: project-chip#25385

* Remove gdbgui requirement for esp32 (project-chip#28007)

* Remove gdbgui requirement for esp32

* Fix qemu

* Fix chef as well

---------

Co-authored-by: Stefan Agner <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
andy31415 added a commit that referenced this pull request Aug 25, 2023
#28397)

* Added support for Optiga Trust M.

* * Added no warning flag when applying patch for optiga-trust-m.
* Add the optiga_lib_config_mtb.h

* 1)Updated README.md for psoc6 lock-app example

2)Added infineon_trustm_provisioning.md

* 1)Updated README.md for psoc6 lock-app

* 1)Updated README.md for psoc6 lock-app

* 1)Updated optiga-trust-m submodule

2)Updated README.md for psoc6 lock-app

* 1)Updated DeviceAttestationCredsExampleTrustM.cpp

2)Updated the argument with infineon added

* 1)Updated CHIPCryptoPALHsm_HKDF_trustm.cpp and CHIPCryptoPALHsm_HMAC_trustm.cpp

* Merging with v1.1-branch

* Resolve merge conflicts with v1.1-branch

* * Updated the copyright dates.
* Updated README.

* Removed PersistentStorage File.

* 1)Changes to enable build door-lock example with Trust M using python script
2)Fixed the bug for CHIPCryptoPALHsm_HMAC_trustm.cpp

* Restyled by whitespace

* Restyled by clang-format

* [Cherrypick] CI: Fix for v1.1-branch CI, broken due to gdbgui (#28507)

* ESP32: avoid installing gdbgui when not needed (#26542)

ESP-IDF v4.4.4 requires gdbgui only when Python before 3.11 is used (see
espressif/esp-idf@3974be7).
Avoid installing it when not needed.

Fixes: #25385

* Remove gdbgui requirement for esp32 (#28007)

* Remove gdbgui requirement for esp32

* Fix qemu

* Fix chef as well

---------

Co-authored-by: Stefan Agner <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>

* Fix CI/CD issues:
- Misspell
- restyling
- infineon build

* Resolve CI/CD Build issues for  "Build on Linux"

---------

Co-authored-by: Ank Khandelwal <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Shubham Patil <[email protected]>
Co-authored-by: Stefan Agner <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
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.

[BUG] source scripts/bootstrap.sh fails when using Python 3.11 (Debian Bookworm)
3 participants