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

Add possibility to build Tizen apps with various options #16701

Merged
merged 4 commits into from
Apr 5, 2022

Conversation

arkq
Copy link
Contributor

@arkq arkq commented Mar 28, 2022

Problem

Possibility to build Tizen applications with sanitizers like ASAN, UBSAN, etc. Build Tizen apps with no WiFi and/or BT enabled.

Change overview

  • add more options to TizenBuilder class
  • fix warnings reported by flake8 in the scripts/build directory (by default Python line length limit set to 132 characters which is consistent with clang-tidy configuration, however, Python coding standard says that line length shall not exceed 80 characters, so IMHO wherever possible this line limit shall be respected)

Testing

Building Tizen app locally with e.g. ./scripts/build/build_examples.py --target tizen-arm-light-asan build.

@github-actions
Copy link

github-actions bot commented Mar 28, 2022

PR #16701: Size comparison from 58cd5fb to 8b3404f

Full report (13 builds for cyw30739, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 58cd5fb 8b3404f change % change
cyw30739 light cyw930739m2evb_01 (read/write) 604818 604818 0 0.0
.app_xip_area 511988 511988 0 0.0
.bss 75576 75576 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 562630 562630 0 0.0
.app_xip_area 471328 471328 0 0.0
.bss 74080 74080 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574890 574890 0 0.0
.app_xip_area 473940 473940 0 0.0
.bss 83408 83408 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
k32w light k32w061+release (read/write) 703320 703320 0 0.0
.bss 77568 77568 0 0.0
.data 1876 1876 0 0.0
.text 618076 618076 0 0.0
lock k32w061+release (read/write) 702436 702436 0 0.0
.bss 77544 77544 0 0.0
.data 1916 1916 0 0.0
.text 617176 617176 0 0.0
linux chip-tool-ipv6only arm64 (read only) 9813772 9813772 0 0.0
(read/write) 473697 473697 0 0.0
.bss 40737 40737 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 372656 372656 0 0.0
.dynamic 560 560 0 0.0
.got 55352 55352 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 493972 493972 0 0.0
.text 8266628 8266628 0 0.0
thermostat-no-ble arm64 (read only) 2273828 2273828 0 0.0
(read/write) 148353 148353 0 0.0
.bss 62801 62801 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 77000 77000 0 0.0
.dynamic 560 560 0 0.0
.got 4504 4504 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 139780 139780 0 0.0
.text 1910688 1910688 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2354996 2354996 0 0.0
.bss 184620 184620 0 0.0
.data 5760 5760 0 0.0
.text 1317596 1317596 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1141091 1141091 0 0.0
bss 142500 142500 0 0.0
rodata 142060 142060 0 0.0
text 781660 781660 0 0.0
p6 all-clusters-app default (read/write) 2497544 2497544 0 0.0
.bss 118040 118040 0 0.0
.data 2640 2640 0 0.0
.text 1455808 1455808 0 0.0
light-app default (read/write) 2399976 2399976 0 0.0
.bss 111512 111512 0 0.0
.data 2496 2496 0 0.0
.text 1358240 1358240 0 0.0
lock-app default (read/write) 2363512 2363512 0 0.0
.bss 111256 111256 0 0.0
.data 2456 2456 0 0.0
.text 1321776 1321776 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 897670 897670 0 0.0
bss 87356 87356 0 0.0
noinit 37160 37160 0 0.0
text 635054 635054 0 0.0

@arkq arkq force-pushed the tizen-sanitizers branch from 8b3404f to a718424 Compare March 28, 2022 07:53
@github-actions
Copy link

github-actions bot commented Mar 28, 2022

PR #16701: Size comparison from 58cd5fb to a718424

Full report (13 builds for cyw30739, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 58cd5fb a718424 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 604818 604818 0 0.0
.app_xip_area 511988 511988 0 0.0
.bss 75576 75576 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 562630 562630 0 0.0
.app_xip_area 471328 471328 0 0.0
.bss 74080 74080 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574890 574890 0 0.0
.app_xip_area 473940 473940 0 0.0
.bss 83408 83408 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
k32w light k32w061+release (read/write) 703320 703320 0 0.0
.bss 77568 77568 0 0.0
.data 1876 1876 0 0.0
.text 618076 618076 0 0.0
lock k32w061+release (read/write) 702436 702436 0 0.0
.bss 77544 77544 0 0.0
.data 1916 1916 0 0.0
.text 617176 617176 0 0.0
linux chip-tool-ipv6only arm64 (read only) 9813772 9813772 0 0.0
(read/write) 473697 473697 0 0.0
.bss 40737 40737 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 372656 372656 0 0.0
.dynamic 560 560 0 0.0
.got 55352 55352 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 493972 493972 0 0.0
.text 8266628 8266628 0 0.0
thermostat-no-ble arm64 (read only) 2273828 2273828 0 0.0
(read/write) 148353 148353 0 0.0
.bss 62801 62801 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 77000 77000 0 0.0
.dynamic 560 560 0 0.0
.got 4504 4504 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 139780 139780 0 0.0
.text 1910688 1910688 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2354996 2354996 0 0.0
.bss 184620 184620 0 0.0
.data 5760 5760 0 0.0
.text 1317596 1317596 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1141091 1141091 0 0.0
bss 142500 142500 0 0.0
rodata 142060 142060 0 0.0
text 781660 781660 0 0.0
p6 all-clusters-app default (read/write) 2497544 2497544 0 0.0
.bss 118040 118040 0 0.0
.data 2640 2640 0 0.0
.text 1455808 1455808 0 0.0
light-app default (read/write) 2399976 2399976 0 0.0
.bss 111512 111512 0 0.0
.data 2496 2496 0 0.0
.text 1358240 1358240 0 0.0
lock-app default (read/write) 2363512 2363512 0 0.0
.bss 111256 111256 0 0.0
.data 2456 2456 0 0.0
.text 1321776 1321776 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 897670 897670 0 0.0
bss 87356 87356 0 0.0
noinit 37160 37160 0 0.0
text 635054 635054 0 0.0

@arkq arkq force-pushed the tizen-sanitizers branch from a718424 to ed2e5f9 Compare March 28, 2022 08:41
@github-actions
Copy link

github-actions bot commented Mar 28, 2022

PR #16701: Size comparison from 467c696 to ed2e5f9

Full report (16 builds for cyw30739, efr32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 467c696 ed2e5f9 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 604818 604818 0 0.0
.app_xip_area 511988 511988 0 0.0
.bss 75576 75576 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 562630 562630 0 0.0
.app_xip_area 471328 471328 0 0.0
.bss 74080 74080 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574890 574890 0 0.0
.app_xip_area 473940 473940 0 0.0
.bss 83408 83408 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 925760 925760 0 0.0
(read/write) 128712 128712 0 0.0
.bss 126712 126712 0 0.0
.data 1996 1996 0 0.0
.text 925752 925752 0 0.0
BRD4161A+rpc (read only) 954576 954576 0 0.0
(read/write) 144664 144664 0 0.0
.bss 142488 142488 0 0.0
.data 2176 2176 0 0.0
.text 954568 954568 0 0.0
window-app BRD4161A (read only) 855180 855180 0 0.0
(read/write) 126672 126672 0 0.0
.bss 124800 124800 0 0.0
.data 1872 1872 0 0.0
.text 855172 855172 0 0.0
k32w light k32w061+release (read/write) 703320 703320 0 0.0
.bss 77568 77568 0 0.0
.data 1876 1876 0 0.0
.text 618076 618076 0 0.0
lock k32w061+release (read/write) 702436 702436 0 0.0
.bss 77544 77544 0 0.0
.data 1916 1916 0 0.0
.text 617176 617176 0 0.0
linux chip-tool-ipv6only arm64 (read only) 9814188 9814188 0 0.0
(read/write) 473697 473697 0 0.0
.bss 40737 40737 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 372656 372656 0 0.0
.dynamic 560 560 0 0.0
.got 55352 55352 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 493956 493956 0 0.0
.text 8267060 8267060 0 0.0
thermostat-no-ble arm64 (read only) 2273828 2273828 0 0.0
(read/write) 148353 148353 0 0.0
.bss 62801 62801 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 77000 77000 0 0.0
.dynamic 560 560 0 0.0
.got 4504 4504 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 139780 139780 0 0.0
.text 1910688 1910688 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2354996 2354996 0 0.0
.bss 184620 184620 0 0.0
.data 5760 5760 0 0.0
.text 1317596 1317596 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1142451 1142451 0 0.0
bss 142652 142652 0 0.0
rodata 142108 142108 0 0.0
text 782820 782820 0 0.0
p6 all-clusters-app default (read/write) 2497544 2497544 0 0.0
.bss 118040 118040 0 0.0
.data 2640 2640 0 0.0
.text 1455808 1455808 0 0.0
light-app default (read/write) 2399976 2399976 0 0.0
.bss 111512 111512 0 0.0
.data 2496 2496 0 0.0
.text 1358240 1358240 0 0.0
lock-app default (read/write) 2363512 2363512 0 0.0
.bss 111256 111256 0 0.0
.data 2456 2456 0 0.0
.text 1321776 1321776 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 897670 897670 0 0.0
bss 87356 87356 0 0.0
noinit 37160 37160 0 0.0
text 635054 635054 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 29, 2022

PR #16701: Size comparison from a19de20 to 471a870

Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a19de20 471a870 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 605498 605498 0 0.0
.app_xip_area 512428 512428 0 0.0
.bss 75816 75816 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 563286 563286 0 0.0
.app_xip_area 471744 471744 0 0.0
.bss 74320 74320 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 575546 575546 0 0.0
.app_xip_area 474356 474356 0 0.0
.bss 83648 83648 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 926664 926664 0 0.0
(read/write) 128952 128952 0 0.0
.bss 126952 126952 0 0.0
.data 1996 1996 0 0.0
.text 926656 926656 0 0.0
BRD4161A+rpc (read only) 955480 955480 0 0.0
(read/write) 144904 144904 0 0.0
.bss 142728 142728 0 0.0
.data 2176 2176 0 0.0
.text 955472 955472 0 0.0
window-app BRD4161A (read only) 856052 856052 0 0.0
(read/write) 126912 126912 0 0.0
.bss 125040 125040 0 0.0
.data 1872 1872 0 0.0
.text 856044 856044 0 0.0
esp32 all-clusters-app c3devkit (read only) 966788 966788 0 0.0
(read/write) 1394810 1394810 0 0.0
.dram0.bss 62240 62240 0 0.0
.dram0.data 14204 14204 0 0.0
.flash.rodata 199456 199456 0 0.0
.flash.text 966788 966788 0 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1023211 1023211 0 0.0
(read/write) 462572 462572 0 0.0
.dram0.bss 67768 67768 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 228944 228944 0 0.0
.flash.text 1017827 1017827 0 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 704320 704320 0 0.0
.bss 77808 77808 0 0.0
.data 1876 1876 0 0.0
.text 618836 618836 0 0.0
lock k32w061+release (read/write) 703428 703428 0 0.0
.bss 77784 77784 0 0.0
.data 1916 1916 0 0.0
.text 617928 617928 0 0.0
linux all-clusters-app debug (read only) 2526169 2526169 0 0.0
(read/write) 143352 143352 0 0.0
.bss 57408 57408 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 78920 78920 0 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 216549 216549 0 0.0
.text 2145794 2145794 0 0.0
bridge-app debug+rpc (read only) 1765389 1765389 0 0.0
(read/write) 89520 89520 0 0.0
.bss 44520 44520 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 37936 37936 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 144684 144684 0 0.0
.text 1505349 1505349 0 0.0
chip-tool debug (read only) 10228469 10228469 0 0.0
(read/write) 355656 355656 0 0.0
.bss 22464 22464 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 326008 326008 0 0.0
.dynamic 608 608 0 0.0
.got 4824 4824 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 519125 519125 0 0.0
.text 8924805 8924805 0 0.0
chip-tool-ipv6only arm64 (read only) 9849660 9849660 0 0.0
(read/write) 473713 473713 0 0.0
.bss 40737 40737 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 372656 372656 0 0.0
.dynamic 560 560 0 0.0
.got 55368 55368 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 494468 494468 0 0.0
.text 8301972 8301972 0 0.0
door-lock-app debug (read only) 2017217 2017217 0 0.0
(read/write) 116896 116896 0 0.0
.bss 47648 47648 0 0.0
.data 992 992 0 0.0
.data.rel.ro 62840 62840 0 0.0
.dynamic 592 592 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 181276 181276 0 0.0
.text 1686130 1686130 0 0.0
lighting-app debug+rpc (read only) 2191665 2191665 0 0.0
(read/write) 123888 123888 0 0.0
.bss 48928 48928 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 67928 67928 0 0.0
.dynamic 608 608 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 175356 175356 0 0.0
.text 1857138 1857138 0 0.0
ota-provider-app debug (read only) 1958057 1958057 0 0.0
(read/write) 112688 112688 0 0.0
.bss 47584 47584 0 0.0
.data 1256 1256 0 0.0
.data.rel.ro 58184 58184 0 0.0
.dynamic 608 608 0 0.0
.got 4384 4384 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 167115 167115 0 0.0
.text 1639074 1639074 0 0.0
ota-requestor-app debug (read only) 1985649 1985649 0 0.0
(read/write) 115912 115912 0 0.0
.bss 48512 48512 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 60440 60440 0 0.0
.dynamic 592 592 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 163236 163236 0 0.0
.text 1669538 1669538 0 0.0
shell debug (read only) 2441801 2441801 0 0.0
(read/write) 147368 147368 0 0.0
.bss 67304 67304 0 0.0
.data 800 800 0 0.0
.data.rel.ro 73568 73568 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 210034 210034 0 0.0
.text 2074818 2074818 0 0.0
thermostat-no-ble arm64 (read only) 2275348 2275348 0 0.0
(read/write) 148369 148369 0 0.0
.bss 62817 62817 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 77000 77000 0 0.0
.dynamic 560 560 0 0.0
.got 4504 4504 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 140036 140036 0 0.0
.text 1911952 1911952 0 0.0
tv-app debug (read only) 2691473 2691473 0 0.0
(read/write) 247520 247520 0 0.0
.bss 164288 164288 0 0.0
.data 3136 3136 0 0.0
.data.rel.ro 74048 74048 0 0.0
.dynamic 592 592 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 206059 206059 0 0.0
.text 2310786 2310786 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2355708 2355708 0 0.0
.bss 184860 184860 0 0.0
.data 5760 5760 0 0.0
.text 1318308 1318308 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1143459 1143459 0 0.0
bss 142892 142892 0 0.0
rodata 142364 142364 0 0.0
text 783316 783316 0 0.0
p6 all-clusters-app default (read/write) 2498448 2498448 0 0.0
.bss 118280 118280 0 0.0
.data 2640 2640 0 0.0
.text 1456712 1456712 0 0.0
light-app default (read/write) 2400896 2400896 0 0.0
.bss 111752 111752 0 0.0
.data 2496 2496 0 0.0
.text 1359160 1359160 0 0.0
lock-app default (read/write) 2364400 2364400 0 0.0
.bss 111496 111496 0 0.0
.data 2456 2456 0 0.0
.text 1322664 1322664 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 787556 787556 0 0.0
bss 70092 70092 0 0.0
noinit 40416 40416 0 0.0
text 557952 557952 0 0.0

Copy link
Contributor

@dh79pyun dh79pyun left a comment

Choose a reason for hiding this comment

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

For '[build] Allow to build Tizen apps with variants] commit(471a870)', it can be useful for tizen.

@wootak-jung
Copy link
Contributor

How about split this PR for the changes of flake8? I think that is not for only Tizen.

Copy link
Contributor

@woody-apple woody-apple left a comment

Choose a reason for hiding this comment

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

Fast tracking, given this has had enough time for review (> 3 days)

@arkq arkq force-pushed the tizen-sanitizers branch from 471a870 to 2a1e2a2 Compare April 4, 2022 06:38
@github-actions
Copy link

github-actions bot commented Apr 4, 2022

PR #16701: Size comparison from 41a431d to 2a1e2a2

Full report (22 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 41a431d 2a1e2a2 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668091 668091 0 0.0
(read/write) 183604 183604 0 0.0
.bss 81736 81736 0 0.0
.data 3128 3128 0 0.0
.rodata 79683 79683 0 0.0
.text 587928 587928 0 0.0
lock-mtd LP_CC2652R7 (read only) 617211 617211 0 0.0
(read/write) 154448 154448 0 0.0
.bss 77464 77464 0 0.0
.data 3128 3128 0 0.0
.rodata 79563 79563 0 0.0
.text 537160 537160 0 0.0
pump-app LP_CC2652R7 (read only) 687543 687543 0 0.0
(read/write) 165312 165312 0 0.0
.bss 82128 82128 0 0.0
.data 3160 3160 0 0.0
.rodata 81759 81759 0 0.0
.text 605300 605300 0 0.0
pump-controller-app LP_CC2652R7 (read only) 669775 669775 0 0.0
(read/write) 182824 182824 0 0.0
.bss 81872 81872 0 0.0
.data 3124 3124 0 0.0
.rodata 78095 78095 0 0.0
.text 591196 591196 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610682 610682 0 0.0
.app_xip_area 517456 517456 0 0.0
.bss 75980 75980 0 0.0
.data 596 596 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 568202 568202 0 0.0
.app_xip_area 476504 476504 0 0.0
.bss 74484 74484 0 0.0
.data 560 560 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579790 579790 0 0.0
.app_xip_area 478460 478460 0 0.0
.bss 83796 83796 0 0.0
.data 500 500 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 916168 916168 0 0.0
(read/write) 129728 129728 0 0.0
.bss 127768 127768 0 0.0
.data 1956 1956 0 0.0
.text 916160 916160 0 0.0
BRD4161A+rpc (read only) 944048 944048 0 0.0
(read/write) 145680 145680 0 0.0
.bss 143544 143544 0 0.0
.data 2136 2136 0 0.0
.text 944040 944040 0 0.0
window-app BRD4161A (read only) 851480 851480 0 0.0
(read/write) 127752 127752 0 0.0
.bss 125912 125912 0 0.0
.data 1836 1836 0 0.0
.text 851472 851472 0 0.0
esp32 all-clusters-app c3devkit (read only) 985940 985940 0 0.0
(read/write) 1460530 1460530 0 0.0
.dram0.bss 62920 62920 0 0.0
.dram0.data 14164 14164 0 0.0
.flash.rodata 197960 197960 0 0.0
.flash.text 985940 985940 0 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1038339 1038339 0 0.0
(read/write) 461544 461544 0 0.0
.dram0.bss 68448 68448 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 226928 226928 0 0.0
.flash.text 1032955 1032955 0 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 707908 707908 0 0.0
.bss 77944 77944 0 0.0
.data 1868 1868 0 0.0
.text 622296 622296 0 0.0
lock k32w061+release (read/write) 707316 707316 0 0.0
.bss 77928 77928 0 0.0
.data 1908 1908 0 0.0
.text 621680 621680 0 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 10035356 10035356 0 0.0
(read/write) 478177 478177 0 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 376144 376144 0 0.0
.dynamic 560 560 0 0.0
.got 56768 56768 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 506476 506476 0 0.0
.text 8464356 8464356 0 0.0
thermostat-no-ble arm64 (read only) 2311068 2311068 0 0.0
(read/write) 149057 149057 0 0.0
.bss 62913 62913 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 77488 77488 0 0.0
.dynamic 560 560 0 0.0
.got 4568 4568 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 142908 142908 0 0.0
.text 1943040 1943040 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360020 2360020 0 0.0
.bss 185020 185020 0 0.0
.data 5752 5752 0 0.0
.text 1322620 1322620 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148763 1148763 0 0.0
bss 143044 143044 0 0.0
rodata 143292 143292 0 0.0
text 787572 787572 0 0.0
p6 all-clusters-app default (read/write) 2504592 2504592 0 0.0
.bss 118456 118456 0 0.0
.data 2632 2632 0 0.0
.text 1462856 1462856 0 0.0
light-app default (read/write) 2405752 2405752 0 0.0
.bss 111912 111912 0 0.0
.data 2488 2488 0 0.0
.text 1364016 1364016 0 0.0
lock-app default (read/write) 2369384 2369384 0 0.0
.bss 111656 111656 0 0.0
.data 2448 2448 0 0.0
.text 1327648 1327648 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 792300 792300 0 0.0
bss 70264 70264 0 0.0
noinit 40416 40416 0 0.0
text 562216 562216 0 0.0

This change adds a possibility to build Tizen applications with e.g.
ASAN sanitizer enabled. Please note, that with current Tizen SDK there
is no TSAN library (TSAN for ARMv7) provided, so it's not possible to
enable this sanitizer.
@arkq arkq force-pushed the tizen-sanitizers branch from 2a1e2a2 to 72c76f4 Compare April 4, 2022 07:48
@github-actions
Copy link

github-actions bot commented Apr 4, 2022

PR #16701: Size comparison from 41a431d to 72c76f4

Full report (22 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 41a431d 72c76f4 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668091 668091 0 0.0
(read/write) 183604 183604 0 0.0
.bss 81736 81736 0 0.0
.data 3128 3128 0 0.0
.rodata 79683 79683 0 0.0
.text 587928 587928 0 0.0
lock-mtd LP_CC2652R7 (read only) 617211 617211 0 0.0
(read/write) 154448 154448 0 0.0
.bss 77464 77464 0 0.0
.data 3128 3128 0 0.0
.rodata 79563 79563 0 0.0
.text 537160 537160 0 0.0
pump-app LP_CC2652R7 (read only) 687543 687543 0 0.0
(read/write) 165312 165312 0 0.0
.bss 82128 82128 0 0.0
.data 3160 3160 0 0.0
.rodata 81759 81759 0 0.0
.text 605300 605300 0 0.0
pump-controller-app LP_CC2652R7 (read only) 669775 669775 0 0.0
(read/write) 182824 182824 0 0.0
.bss 81872 81872 0 0.0
.data 3124 3124 0 0.0
.rodata 78095 78095 0 0.0
.text 591196 591196 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610682 610682 0 0.0
.app_xip_area 517456 517456 0 0.0
.bss 75980 75980 0 0.0
.data 596 596 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 568202 568202 0 0.0
.app_xip_area 476504 476504 0 0.0
.bss 74484 74484 0 0.0
.data 560 560 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579790 579790 0 0.0
.app_xip_area 478460 478460 0 0.0
.bss 83796 83796 0 0.0
.data 500 500 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 916168 916168 0 0.0
(read/write) 129728 129728 0 0.0
.bss 127768 127768 0 0.0
.data 1956 1956 0 0.0
.text 916160 916160 0 0.0
BRD4161A+rpc (read only) 944048 944048 0 0.0
(read/write) 145680 145680 0 0.0
.bss 143544 143544 0 0.0
.data 2136 2136 0 0.0
.text 944040 944040 0 0.0
window-app BRD4161A (read only) 851480 851480 0 0.0
(read/write) 127752 127752 0 0.0
.bss 125912 125912 0 0.0
.data 1836 1836 0 0.0
.text 851472 851472 0 0.0
esp32 all-clusters-app c3devkit (read only) 985940 985940 0 0.0
(read/write) 1460530 1460530 0 0.0
.dram0.bss 62920 62920 0 0.0
.dram0.data 14164 14164 0 0.0
.flash.rodata 197960 197960 0 0.0
.flash.text 985940 985940 0 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1038339 1038339 0 0.0
(read/write) 461544 461544 0 0.0
.dram0.bss 68448 68448 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 226928 226928 0 0.0
.flash.text 1032955 1032955 0 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 707908 707908 0 0.0
.bss 77944 77944 0 0.0
.data 1868 1868 0 0.0
.text 622296 622296 0 0.0
lock k32w061+release (read/write) 707316 707316 0 0.0
.bss 77928 77928 0 0.0
.data 1908 1908 0 0.0
.text 621680 621680 0 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 10035356 10035356 0 0.0
(read/write) 478177 478177 0 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 376144 376144 0 0.0
.dynamic 560 560 0 0.0
.got 56768 56768 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 506476 506476 0 0.0
.text 8464356 8464356 0 0.0
thermostat-no-ble arm64 (read only) 2311068 2311068 0 0.0
(read/write) 149057 149057 0 0.0
.bss 62913 62913 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 77488 77488 0 0.0
.dynamic 560 560 0 0.0
.got 4568 4568 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 142908 142908 0 0.0
.text 1943040 1943040 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360020 2360020 0 0.0
.bss 185020 185020 0 0.0
.data 5752 5752 0 0.0
.text 1322620 1322620 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148763 1148763 0 0.0
bss 143044 143044 0 0.0
rodata 143292 143292 0 0.0
text 787572 787572 0 0.0
p6 all-clusters-app default (read/write) 2504592 2504592 0 0.0
.bss 118456 118456 0 0.0
.data 2632 2632 0 0.0
.text 1462856 1462856 0 0.0
light-app default (read/write) 2405752 2405752 0 0.0
.bss 111912 111912 0 0.0
.data 2488 2488 0 0.0
.text 1364016 1364016 0 0.0
lock-app default (read/write) 2369384 2369384 0 0.0
.bss 111656 111656 0 0.0
.data 2448 2448 0 0.0
.text 1327648 1327648 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 792300 792300 0 0.0
bss 70264 70264 0 0.0
noinit 40416 40416 0 0.0
text 562216 562216 0 0.0

@woody-apple
Copy link
Contributor

/rebase

@github-actions
Copy link

github-actions bot commented Apr 5, 2022

PR #16701: Size comparison from 913aca0 to d37b083

Full report (19 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 913aca0 d37b083 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670511 670511 0 0.0
(read/write) 181200 181200 0 0.0
.bss 81752 81752 0 0.0
.data 3164 3164 0 0.0
.rodata 79975 79975 0 0.0
.text 590056 590056 0 0.0
lock-mtd LP_CC2652R7 (read only) 619639 619639 0 0.0
(read/write) 154500 154500 0 0.0
.bss 77480 77480 0 0.0
.data 3164 3164 0 0.0
.rodata 79863 79863 0 0.0
.text 539288 539288 0 0.0
pump-app LP_CC2652R7 (read only) 689983 689983 0 0.0
(read/write) 162896 162896 0 0.0
.bss 82152 82152 0 0.0
.data 3196 3196 0 0.0
.rodata 82063 82063 0 0.0
.text 607436 607436 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672207 672207 0 0.0
(read/write) 180408 180408 0 0.0
.bss 81888 81888 0 0.0
.data 3160 3160 0 0.0
.rodata 78399 78399 0 0.0
.text 593324 593324 0 0.0
efr32 lighting-app BRD4161A (read only) 919164 919164 0 0.0
(read/write) 129784 129784 0 0.0
.bss 127792 127792 0 0.0
.data 1992 1992 0 0.0
.text 919156 919156 0 0.0
BRD4161A+rpc (read only) 947060 947060 0 0.0
(read/write) 145732 145732 0 0.0
.bss 143560 143560 0 0.0
.data 2172 2172 0 0.0
.text 947052 947052 0 0.0
window-app BRD4161A (read only) 854380 854380 0 0.0
(read/write) 127808 127808 0 0.0
.bss 125936 125936 0 0.0
.data 1872 1872 0 0.0
.text 854372 854372 0 0.0
esp32 all-clusters-app c3devkit (read only) 988094 988094 0 0.0
(read/write) 1460842 1460842 0 0.0
.dram0.bss 62944 62944 0 0.0
.dram0.data 14196 14196 0 0.0
.flash.rodata 198224 198224 0 0.0
.flash.text 988094 988094 0 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1040455 1040455 0 0.0
(read/write) 461840 461840 0 0.0
.dram0.bss 68472 68472 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 227168 227168 0 0.0
.flash.text 1035071 1035071 0 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 710388 710388 0 0.0
.bss 77952 77952 0 0.0
.data 1904 1904 0 0.0
.text 624732 624732 0 0.0
lock k32w061+release (read/write) 709784 709784 0 0.0
.bss 77952 77952 0 0.0
.data 1944 1944 0 0.0
.text 624088 624088 0 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 10083572 10083572 0 0.0
(read/write) 486977 486977 0 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 384712 384712 0 0.0
.dynamic 560 560 0 0.0
.got 57008 57008 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 508404 508404 0 0.0
.text 8484324 8484324 0 0.0
thermostat-no-ble arm64 (read only) 2324428 2324428 0 0.0
(read/write) 149441 149441 0 0.0
.bss 62945 62945 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 77704 77704 0 0.0
.dynamic 560 560 0 0.0
.got 4632 4632 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 143308 143308 0 0.0
.text 1955408 1955408 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2362700 2362700 0 0.0
.bss 185036 185036 0 0.0
.data 5784 5784 0 0.0
.text 1325300 1325300 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151231 1151231 0 0.0
bss 143060 143060 0 0.0
rodata 143592 143592 0 0.0
text 789708 789708 0 0.0
p6 all-clusters-app default (read/write) 2507528 2507528 0 0.0
.bss 118472 118472 0 0.0
.data 2672 2672 0 0.0
.text 1465792 1465792 0 0.0
light-app default (read/write) 2408704 2408704 0 0.0
.bss 111928 111928 0 0.0
.data 2528 2528 0 0.0
.text 1366968 1366968 0 0.0
lock-app default (read/write) 2372352 2372352 0 0.0
.bss 111672 111672 0 0.0
.data 2488 2488 0 0.0
.text 1330616 1330616 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 794808 794808 0 0.0
bss 70288 70288 0 0.0
noinit 40416 40416 0 0.0
text 564354 564354 0 0.0

@woody-apple woody-apple merged commit 4e67392 into project-chip:master Apr 5, 2022
chencheung pushed a commit to chencheung/connectedhomeip that referenced this pull request Apr 6, 2022
…p#16701)

* [build] Fix warnings reported by flake8 checker

* [build] Allow to build Tizen apps with variants

This change adds a possibility to build Tizen applications with e.g.
ASAN sanitizer enabled. Please note, that with current Tizen SDK there
is no TSAN library (TSAN for ARMv7) provided, so it's not possible to
enable this sanitizer.

* Restyled by autopep8

Co-authored-by: Justin Wood <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
chencheung pushed a commit to chencheung/connectedhomeip that referenced this pull request Apr 6, 2022
…p#16701)

* [build] Fix warnings reported by flake8 checker

* [build] Allow to build Tizen apps with variants

This change adds a possibility to build Tizen applications with e.g.
ASAN sanitizer enabled. Please note, that with current Tizen SDK there
is no TSAN library (TSAN for ARMv7) provided, so it's not possible to
enable this sanitizer.

* Restyled by autopep8

Co-authored-by: Justin Wood <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
…p#16701)

* [build] Fix warnings reported by flake8 checker

* [build] Allow to build Tizen apps with variants

This change adds a possibility to build Tizen applications with e.g.
ASAN sanitizer enabled. Please note, that with current Tizen SDK there
is no TSAN library (TSAN for ARMv7) provided, so it's not possible to
enable this sanitizer.

* Restyled by autopep8

Co-authored-by: Justin Wood <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 132
Copy link
Contributor

Choose a reason for hiding this comment

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

we use autopep8. Are they not conflicting?

I see a lot of changes of style in this PR that are unlikely to be maintained as others just use restyle-diff (i.e. autopep8).

In hindsight, restyle changes should have been separated from code changes.

@arkq arkq deleted the tizen-sanitizers branch May 17, 2022 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants