From 1798570bee00567469b4c1a9a195e03839b55eaf Mon Sep 17 00:00:00 2001 From: Tony Cave Date: Tue, 25 Jun 2024 10:52:21 +0100 Subject: [PATCH 1/2] changes to allow LP_EM_CC1354P10_1 build --- examples/lock-app/cc13x4_26x4/README.md | 13 +++++++++++++ examples/lock-app/cc13x4_26x4/chip.syscfg | 5 +++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/examples/lock-app/cc13x4_26x4/README.md b/examples/lock-app/cc13x4_26x4/README.md index b8b43d6ec6a218..8ab59aace81322 100644 --- a/examples/lock-app/cc13x4_26x4/README.md +++ b/examples/lock-app/cc13x4_26x4/README.md @@ -85,6 +85,19 @@ Ninja to build the executable. ``` +- If your target Launchpad is the cc1354P10_1, then you will need to update the + args.gni accordingly: + ``` + --- a/examples/lock-app/cc13x4_26x4/args.gni + +++ b/examples/lock-app/cc13x4_26x4/args.gni + @@ -20,7 +20,7 @@ ti_simplelink_sdk_target = get_label_info(":sdk", "label_no_toolchain") + ti_simplelink_sysconfig_target = + get_label_info(":sysconfig", "label_no_toolchain") + + -ti_simplelink_board = "LP_EM_CC1354P10_6" + +ti_simplelink_board = "LP_EM_CC1354P10_1" + ``` + - Run the build to produce a default executable. By default on Linux both the TI SimpleLink SDK and Sysconfig are located in a `ti` folder in the user's home directory, and you must provide the absolute path to them. For example diff --git a/examples/lock-app/cc13x4_26x4/chip.syscfg b/examples/lock-app/cc13x4_26x4/chip.syscfg index e4ae2b6acfbbd2..b32a5af65ac63b 100644 --- a/examples/lock-app/cc13x4_26x4/chip.syscfg +++ b/examples/lock-app/cc13x4_26x4/chip.syscfg @@ -191,7 +191,7 @@ 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"; ble.connUpdateParamsPeripheral.$name = "ti_ble5stack_general_ble_conn_update_params0"; ble.connUpdateParamsPeripheral.reqMinConnInt = 30; ble.connUpdateParamsPeripheral.reqMaxConnInt = 50; @@ -199,7 +199,8 @@ ble.connUpdateParamsPeripheral.reqMaxConnInt = 50; ble.advSet1.$name = "ti_ble5stack_broadcaster_advertisement_set0"; ble.advSet1.advParam1.$name = "ti_ble5stack_broadcaster_advertisement_params0"; -ble.rfDesign = "LP_EM_CC1354P10_6"; +const boardName = system.deviceData.board.name; +ble.rfDesign = boardName; ble.thorPg = 2; /* DMM */ From b221c9c7165f1d8fd2518fc549d62730ff27a4c1 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Tue, 25 Jun 2024 09:56:05 +0000 Subject: [PATCH 2/2] Restyled by prettier-markdown --- examples/lock-app/cc13x4_26x4/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/lock-app/cc13x4_26x4/README.md b/examples/lock-app/cc13x4_26x4/README.md index 8ab59aace81322..05c61bc3f4e3a6 100644 --- a/examples/lock-app/cc13x4_26x4/README.md +++ b/examples/lock-app/cc13x4_26x4/README.md @@ -85,8 +85,9 @@ Ninja to build the executable. ``` -- If your target Launchpad is the cc1354P10_1, then you will need to update the - args.gni accordingly: +- If your target Launchpad is the cc1354P10_1, then you will need to update + the args.gni accordingly: + ``` --- a/examples/lock-app/cc13x4_26x4/args.gni +++ b/examples/lock-app/cc13x4_26x4/args.gni