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

changes to allow LP_EM_CC1354P10_1 build #34069

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

Conversation

tcave-bb
Copy link
Contributor

Changing the default build target from LP_EM_CC1354P10_6 to LP_EM_CC1354P10_1 requires changes in multiple place and is not intuitive.

This PR make it easier to change the build target to LP_EM_CC1354P10_1 and has been documented in the README.

@@ -191,15 +191,16 @@ ble.numOfAdvSets = 1;
ble.lockProject = true;
ble.oneLibSizeOpt = true;
ble.maxPDUSize = 255;
ble.radioConfig.codeExportConfig.$name = "ti_devices_radioconfig_code_export_param1";
ble.radioConfig.codeExportConfig.$name = "ti_devices_radioconfig_code_export_param0";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change is required to avoid the following build error.

error: /ti/ble5stack/ble radioConfig.codeExportConfig.$name: Duplicate name: 'ti_devices_radioconfig_code_export_param1' also exists on instance(s) of Code Export Configuration
error: /ti/devices/radioconfig/custom radioConfigieee154.codeExportConfig.$name: Duplicate name: 'ti_devices_radioconfig_code_export_param1' also exists on instance(s) of Code Export Configuration

The build for LP_EM_CC1454P10_6 only worked as something in the redesign of syscfg renamed the ble.radioConfig.codeExportConfig.$name when setting ble.rfDesign to LP_EM_CC1354P10_6.

ti_devices_radioconfig_code_export_param0 seem a more correct name as the ble codeExportConfig is set to this for other ble examples.

Below was used to debug and confirm this.

+console.log("RFCustom.radioConfigieee154p10.codeExportConfig: ", ble.radioConfig.codeExportConfig.$name);
 /* BLE */
 ble.addressMode                                           = "ADDRMODE_RP_WITH_PUBLIC_ID";
 ble.maxConnNum                                            = 1;
@@ -194,6 +195,7 @@ ble.lockProject                                           = true;
 ble.oneLibSizeOpt                                         = true;
 ble.maxPDUSize                                            = 255;
 ble.radioConfig.codeExportConfig.$name                    = "ti_devices_radioconfig_code_export_param1";
+console.log("ble.radioConfig.codeExportConfig.$name         : ", ble.radioConfig.codeExportConfig.$name);
 ble.connUpdateParamsPeripheral.$name                      = "ti_ble5stack_general_ble_conn_update_params0";
 ble.connUpdateParamsPeripheral.reqMinConnInt               = 30;
 ble.connUpdateParamsPeripheral.reqMaxConnInt               = 50;
@@ -202,6 +204,8 @@ ble.advSet1.$name                                         = "ti_ble5stack_broadc
 ble.advSet1.advParam1.$name                               = "ti_ble5stack_broadcaster_advertisement_params0";
 
 ble.rfDesign                                 = "LP_EM_CC1354P10_6";
+console.log("ble.radioConfig.codeExportConfig.$name         : ", ble.radioConfig.codeExportConfig.$name)
+error()

Generating an output of:

RFCustom.radioConfigieee154p10.codeExportConfig:  ti_devices_radioconfig_code_export_param0
ble.radioConfig.codeExportConfig.$name         :  ti_devices_radioconfig_code_export_param1
ble.radioConfig.codeExportConfig.$name         :  ti_devices_radioconfig_code_export_param0

@tcave-bb tcave-bb marked this pull request as draft June 25, 2024 10:00
Copy link

github-actions bot commented Jun 25, 2024

PR #34069: Size comparison from 686e73b to b221c9c

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 686e73b b221c9c change % change
bl602 lighting-app bl602 FLASH 1270548 1270548 0 0.0
RAM 95328 95328 0 0.0
bl602+mfd FLASH 1284806 1284806 0 0.0
RAM 95472 95472 0 0.0
bl602+rpc FLASH 1309764 1309764 0 0.0
RAM 103752 103752 0 0.0
bl702 lighting-app bl702 FLASH 1091444 1091444 0 0.0
RAM 15161 15161 0 0.0
bl702+mfd FLASH 1102138 1102138 0 0.0
RAM 15313 15313 0 0.0
bl702+rpc FLASH 1181254 1181254 0 0.0
RAM 24181 24181 0 0.0
bl706-eth FLASH 874788 874788 0 0.0
RAM 27272 27272 0 0.0
bl706-wifi FLASH 1127088 1127088 0 0.0
RAM 14605 14605 0 0.0
bl702l lighting-app bl702l FLASH 1078330 1078330 0 0.0
RAM 21732 21732 0 0.0
bl702l+mfd FLASH 1089592 1089592 0 0.0
RAM 21892 21892 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798008 798008 0 0.0
RAM 103096 103096 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 813764 813764 0 0.0
RAM 113568 113568 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 803288 803288 0 0.0
RAM 107696 107696 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 756080 756080 0 0.0
RAM 101788 101788 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 741752 741752 0 0.0
RAM 102036 102036 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 605754 605754 0 0.0
RAM 204508 204508 0 0.0
lock CC3235SF_LAUNCHXL FLASH 650782 650782 0 0.0
RAM 204780 204780 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 665785 665785 0 0.0
RAM 75100 75100 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 685637 685637 0 0.0
RAM 77732 77732 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 685637 685637 0 0.0
RAM 77732 77732 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 642565 642565 0 0.0
RAM 70168 70168 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608345 608345 0 0.0
RAM 70804 70804 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 627981 627981 0 0.0
RAM 73356 73356 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 627981 627981 0 0.0
RAM 73356 73356 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 623825 623825 0 0.0
RAM 73820 73820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 643541 643541 0 0.0
RAM 76372 76372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 643541 643541 0 0.0
RAM 76372 76372 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 592397 592397 0 0.0
RAM 67788 67788 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 612249 612249 0 0.0
RAM 70420 70420 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 612249 612249 0 0.0
RAM 70420 70420 0 0.0
efr32 lighting-app BRD4187C FLASH 888140 888140 0 0.0
RAM 183440 183440 0 0.0
lock-app BRD4338a FLASH 699872 699872 0 0.0
RAM 242228 242228 0 0.0
window-app BRD4187C FLASH 969752 969752 0 0.0
RAM 167872 167872 0 0.0
esp32 all-clusters-app c3devkit DRAM 88340 88340 0 0.0
FLASH 1468856 1468856 0 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114796 114796 0 0.0
FLASH 1537975 1537975 0 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4560 4560 0 0.0
FLASH 2528064 2528064 0 0.0
RAM 125048 125048 0 0.0
all-clusters-app debug unknown 5344 5344 0 0.0
FLASH 5577774 5577774 0 0.0
RAM 479320 479320 0 0.0
all-clusters-minimal-app debug unknown 5264 5264 0 0.0
FLASH 5050248 5050248 0 0.0
RAM 232872 232872 0 0.0
bridge-app debug unknown 5232 5232 0 0.0
FLASH 4476248 4476248 0 0.0
RAM 212768 212768 0 0.0
chip-tool debug unknown 5696 5696 0 0.0
FLASH 11548103 11548103 0 0.0
RAM 531386 531386 0 0.0
chip-tool-ipv6only arm64 unknown 19816 19816 0 0.0
FLASH 10680468 10680468 0 0.0
RAM 580120 580120 0 0.0
fabric-admin debug unknown 5576 5576 0 0.0
FLASH 10546967 10546967 0 0.0
RAM 525434 525434 0 0.0
fabric-bridge-app debug unknown 5240 5240 0 0.0
FLASH 4346792 4346792 0 0.0
RAM 204896 204896 0 0.0
lighting-app debug+rpc+ui unknown 5904 5904 0 0.0
FLASH 5371954 5371954 0 0.0
RAM 221576 221576 0 0.0
lock-app debug unknown 5168 5168 0 0.0
FLASH 4539848 4539848 0 0.0
RAM 200184 200184 0 0.0
ota-provider-app debug unknown 4552 4552 0 0.0
FLASH 4195592 4195592 0 0.0
RAM 194448 194448 0 0.0
ota-requestor-app debug unknown 4488 4488 0 0.0
FLASH 4321080 4321080 0 0.0
RAM 199104 199104 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2793693 2793693 0 0.0
RAM 150416 150416 0 0.0
thermostat-no-ble arm64 unknown 9184 9184 0 0.0
FLASH 4167084 4167084 0 0.0
RAM 235800 235800 0 0.0
tv-app debug unknown 5448 5448 0 0.0
FLASH 5593512 5593512 0 0.0
RAM 341688 341688 0 0.0
tv-casting-app debug unknown 5056 5056 0 0.0
FLASH 9595798 9595798 0 0.0
RAM 348792 348792 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1502076 1502076 0 0.0
RAM 226656 226656 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 880800 880800 0 0.0
RAM 139693 139693 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 951612 951612 0 0.0
RAM 138121 138121 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 826356 826356 0 0.0
RAM 138591 138591 0 0.0
nxp contact k32w0+release FLASH 575596 575596 0 0.0
RAM 70024 70024 0 0.0
k32w1+release FLASH 590736 590736 0 0.0
RAM 74056 74056 0 0.0
light k32w0+release FLASH 609680 609680 0 0.0
RAM 69500 69500 0 0.0
k32w1+release FLASH 674248 674248 0 0.0
RAM 82816 82816 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1613356 1613356 0 0.0
RAM 207148 207148 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534108 1534108 0 0.0
RAM 204052 204052 0 0.0
light cy8ckit_062s2_43012 FLASH 1461004 1461004 0 0.0
RAM 197332 197332 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462860 1462860 0 0.0
RAM 224396 224396 0 0.0
qpg lighting-app qpg6105+debug FLASH 650612 650612 0 0.0
RAM 104564 104564 0 0.0
lock-app qpg6105+debug FLASH 610736 610736 0 0.0
RAM 99240 99240 0 0.0
stm32 light STM32WB5MM-DK FLASH 472056 472056 0 0.0
RAM 141652 141652 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 632136 632136 0 0.0
RAM 50528 50528 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 657028 657028 0 0.0
RAM 145872 145872 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 777102 777102 0 0.0
RAM 110684 110684 0 0.0
bridge-app tlsr9258a FLASH 675120 675120 0 0.0
RAM 95304 95304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 633720 633720 0 0.0
RAM 50572 50572 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 719514 719514 0 0.0
RAM 77148 77148 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 612162 612162 0 0.0
RAM 142104 142104 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 799722 799722 0 0.0
RAM 100508 100508 0 0.0
lock-app-dfu tlsr9528a FLASH 665284 665284 0 0.0
RAM 69860 69860 0 0.0
ota-requestor-app tlsr9258a FLASH 694450 694450 0 0.0
RAM 95028 95028 0 0.0
pump-app tlsr9518adk80d FLASH 615984 615984 0 0.0
RAM 56952 56952 0 0.0
pump-controller-app tlsr9518adk80d FLASH 606368 606368 0 0.0
RAM 56752 56752 0 0.0
shell tlsr9518adk80d FLASH 466182 466182 0 0.0
RAM 72484 72484 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 640080 640080 0 0.0
RAM 52200 52200 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 650194 650194 0 0.0
RAM 60388 60388 0 0.0
thermostat tlsr9518adk80d FLASH 625258 625258 0 0.0
RAM 57084 57084 0 0.0
window-covering tlsr9118bdk40d FLASH 518710 518710 0 0.0
RAM 97800 97800 0 0.0
tizen all-clusters-app arm unknown 1568 1568 0 0.0
FLASH 1632632 1632632 0 0.0
RAM 46012 46012 0 0.0
chip-tool-ubsan arm unknown 2368 2368 0 0.0
FLASH 15881274 15881274 0 0.0
RAM 6971876 6971876 0 0.0

@tcave-bb tcave-bb marked this pull request as ready for review June 25, 2024 10:59
@tcave-bb tcave-bb marked this pull request as draft June 25, 2024 10:59
@tcave-bb tcave-bb marked this pull request as ready for review June 26, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants