Skip to content

Commit 1798570

Browse files
committed
changes to allow LP_EM_CC1354P10_1 build
1 parent 686e73b commit 1798570

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

examples/lock-app/cc13x4_26x4/README.md

+13
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,19 @@ Ninja to build the executable.
8585
8686
```
8787
88+
- If your target Launchpad is the cc1354P10_1, then you will need to update the
89+
args.gni accordingly:
90+
```
91+
--- a/examples/lock-app/cc13x4_26x4/args.gni
92+
+++ b/examples/lock-app/cc13x4_26x4/args.gni
93+
@@ -20,7 +20,7 @@ ti_simplelink_sdk_target = get_label_info(":sdk", "label_no_toolchain")
94+
ti_simplelink_sysconfig_target =
95+
get_label_info(":sysconfig", "label_no_toolchain")
96+
97+
-ti_simplelink_board = "LP_EM_CC1354P10_6"
98+
+ti_simplelink_board = "LP_EM_CC1354P10_1"
99+
```
100+
88101
- Run the build to produce a default executable. By default on Linux both the
89102
TI SimpleLink SDK and Sysconfig are located in a `ti` folder in the user's
90103
home directory, and you must provide the absolute path to them. For example

examples/lock-app/cc13x4_26x4/chip.syscfg

+3-2
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,16 @@ ble.numOfAdvSets = 1;
191191
ble.lockProject = true;
192192
ble.oneLibSizeOpt = true;
193193
ble.maxPDUSize = 255;
194-
ble.radioConfig.codeExportConfig.$name = "ti_devices_radioconfig_code_export_param1";
194+
ble.radioConfig.codeExportConfig.$name = "ti_devices_radioconfig_code_export_param0";
195195
ble.connUpdateParamsPeripheral.$name = "ti_ble5stack_general_ble_conn_update_params0";
196196
ble.connUpdateParamsPeripheral.reqMinConnInt = 30;
197197
ble.connUpdateParamsPeripheral.reqMaxConnInt = 50;
198198

199199
ble.advSet1.$name = "ti_ble5stack_broadcaster_advertisement_set0";
200200
ble.advSet1.advParam1.$name = "ti_ble5stack_broadcaster_advertisement_params0";
201201

202-
ble.rfDesign = "LP_EM_CC1354P10_6";
202+
const boardName = system.deviceData.board.name;
203+
ble.rfDesign = boardName;
203204

204205
ble.thorPg = 2;
205206
/* DMM */

0 commit comments

Comments
 (0)