Skip to content

Commit

Permalink
[TI] Sysconfig updates for v1.18.1 (project-chip#32777)
Browse files Browse the repository at this point in the history
* readme and sysconfig updates for v1.18.1

* change docker img version
  • Loading branch information
abiradarti authored Apr 3, 2024
1 parent 824ba6d commit 409e89c
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/examples-cc13x2x7_26x2x7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: github.actor != 'restyled-io[bot]'

container:
image: ghcr.io/project-chip/chip-build-ti:41
image: ghcr.io/project-chip/chip-build-ti:46
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-cc32xx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
if: github.actor != 'restyled-io[bot]'

container:
image: ghcr.io/project-chip/chip-build-ti:41
image: ghcr.io/project-chip/chip-build-ti:46
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
Expand Down
12 changes: 6 additions & 6 deletions examples/all-clusters-app/cc13x4_26x4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ guide assumes that the environment is linux based, and recommends Ubuntu 20.04.

```
$ cd ~
$ `wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.16.2.3028/sysconfig-1.16.2_3028-setup.run`
$ chmod +x sysconfig-1.16.2_3028-setup.run
$ ./sysconfig-1.16.2_3028-setup.run
$ wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.18.1.3343/sysconfig-1.18.1_3343-setup.run
$ chmod +x sysconfig-1.18.1_3343-setup.run
$ ./sysconfig-1.18.1_3343-setup.run
```
- Run the bootstrap script to setup the build environment.
Expand All @@ -88,15 +88,15 @@ Ninja to build the executable.
- 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
`/home/username/ti/sysconfig_1.16.2`. On Windows the default directory is
`/home/username/ti/sysconfig_1.18.1`. On Windows the default directory is
`C:\ti`. Take note of this install path, as it will be used in the next
step.
```
$ cd ~/connectedhomeip/examples/all-clusters-app/cc13x2x7_26x2x7
OR
$ cd ~/connectedhomeip/examples/all-clusters-minimal-app/cc13x4_26x4
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2\""
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1\""
$ ninja -C out/debug
```
Expand All @@ -105,7 +105,7 @@ Ninja to build the executable.
to the GN call.
```
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2\" target_defines=[\"CC13X4_26X4_ATTESTATION_CREDENTIALS=1\"]"
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1\" target_defines=[\"CC13X4_26X4_ATTESTATION_CREDENTIALS=1\"]"
```
## Programming
Expand Down
2 changes: 0 additions & 2 deletions examples/all-clusters-app/cc13x4_26x4/chip.syscfg
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,12 @@ LED1.$name = "CONFIG_LED_RED";
LED1.$hardware = system.deviceData.board.components.LED_RED;
LED1.gpioPin.$name = "CONFIG_GPIO_RLED";
LED1.gpioPin.mode = "Output";
LED1.gpioPin.callbackFunction = "";

/* Green LED */
LED2.$name = "CONFIG_LED_GREEN";
LED2.$hardware = system.deviceData.board.components.LED_GREEN;
LED2.gpioPin.$name = "CONFIG_GPIO_GLED";
LED2.gpioPin.mode = "Output";
LED2.gpioPin.callbackFunction = "";

/* Debug UART */
UART2.$hardware = system.deviceData.board.components.XDS110UART;
Expand Down
12 changes: 6 additions & 6 deletions examples/lighting-app/cc13x4_26x4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ guide assumes that the environment is linux based, and recommends Ubuntu 20.04.

```
$ cd ~
$ `wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.16.2.3028/sysconfig-1.16.2_3028-setup.run`
$ chmod +x sysconfig-1.16.2_3028-setup.run
$ ./sysconfig-1.16.2_3028-setup.run
$ wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.18.1.3343/sysconfig-1.18.1_3343-setup.run
$ chmod +x sysconfig-1.18.1_3343-setup.run
$ ./sysconfig-1.18.1_3343-setup.run
```
- Run the bootstrap script to setup the build environment.
Expand All @@ -87,13 +87,13 @@ Ninja to build the executable.
- 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
`/home/username/ti/sysconfig_1.16.2`. On Windows the default directory is
`/home/username/ti/sysconfig_1.18.1`. On Windows the default directory is
`C:\ti`. Take note of this install path, as it will be used in the next
step.
```
$ cd ~/connectedhomeip/examples/lock-app/cc13x4_26x4
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2\""
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1\""
$ ninja -C out/debug
```
Expand All @@ -103,7 +103,7 @@ Ninja to build the executable.
```
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2\""
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1\" target_defines=[\"CC13X4_26X4_ATTESTATION_CREDENTIALS=1\"]"
```
## Programming
Expand Down
2 changes: 0 additions & 2 deletions examples/lighting-app/cc13x4_26x4/chip.syscfg
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,12 @@ LED1.$name = "CONFIG_LED_RED";
LED1.$hardware = system.deviceData.board.components.LED_RED;
LED1.gpioPin.$name = "CONFIG_GPIO_RLED";
LED1.gpioPin.mode = "Output";
LED1.gpioPin.callbackFunction = "";

/* Green LED */
LED2.$name = "CONFIG_LED_GREEN";
LED2.$hardware = system.deviceData.board.components.LED_GREEN;
LED2.gpioPin.$name = "CONFIG_GPIO_GLED";
LED2.gpioPin.mode = "Output";
LED2.gpioPin.callbackFunction = "";

/* Debug UART */
UART2.$hardware = system.deviceData.board.components.XDS110UART;
Expand Down
12 changes: 6 additions & 6 deletions examples/lock-app/cc13x4_26x4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ guide assumes that the environment is linux based, and recommends Ubuntu 20.04.

```
$ cd ~
$ `wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.16.2.3028/sysconfig-1.16.2_3028-setup.run`
$ chmod +x sysconfig-1.16.2_3028-setup.run
$ ./sysconfig-1.16.2_3028-setup.run
$ wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.18.1.3343/sysconfig-1.18.1_3343-setup.run
$ chmod +x sysconfig-1.18.1_3343-setup.run
$ ./sysconfig-1.18.1_3343-setup.run
```
- Run the bootstrap script to setup the build environment.
Expand All @@ -88,15 +88,15 @@ Ninja to build the executable.
- 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
`/home/username/ti/sysconfig_1.16.2`. On Windows the default directory is
`/home/username/ti/sysconfig_1.18.1`. On Windows the default directory is
`C:\ti`. Take note of this install path, as it will be used in the next
step.
```
$ cd ~/connectedhomeip/examples/lock-app/cc13x2x7_26x2x7
OR
$ cd ~/connectedhomeip/examples/lock-app/cc13x4_26x4
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2\""
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1\""
$ ninja -C out/debug
```
Expand All @@ -106,7 +106,7 @@ Ninja to build the executable.
```
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2\" target_defines=[\"CC13X4_26X4_ATTESTATION_CREDENTIALS=1\"]"
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1\" target_defines=[\"CC13X4_26X4_ATTESTATION_CREDENTIALS=1\"]"
```
## Programming
Expand Down
2 changes: 0 additions & 2 deletions examples/lock-app/cc13x4_26x4/chip.syscfg
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,12 @@ LED1.$name = "CONFIG_LED_RED";
LED1.$hardware = system.deviceData.board.components.LED_RED;
LED1.gpioPin.$name = "CONFIG_GPIO_RLED";
LED1.gpioPin.mode = "Output";
LED1.gpioPin.callbackFunction = "";

/* Green LED */
LED2.$name = "CONFIG_LED_GREEN";
LED2.$hardware = system.deviceData.board.components.LED_GREEN;
LED2.gpioPin.$name = "CONFIG_GPIO_GLED";
LED2.gpioPin.mode = "Output";
LED2.gpioPin.callbackFunction = "";

/* Debug UART */
UART2.$hardware = system.deviceData.board.components.XDS110UART;
Expand Down
12 changes: 6 additions & 6 deletions examples/pump-app/cc13x4_26x4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ guide assumes that the environment is linux based, and recommends Ubuntu 20.04.

```
$ cd ~
$ `wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.16.2.3028/sysconfig-1.16.2_3028-setup.run`
$ chmod +x sysconfig-1.16.2_3028-setup.run
$ ./sysconfig-1.16.2_3028-setup.run
$ wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.18.1.3343/sysconfig-1.18.1_3343-setup.run
$ chmod +x sysconfig-1.18.1_3343-setup.run
$ ./sysconfig-1.18.1_3343-setup.run
```
- Run the bootstrap script to setup the build environment.
Expand All @@ -87,15 +87,15 @@ Ninja to build the executable.
- 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
`/home/username/ti/sysconfig_1.16.2`. On Windows the default directory is
`/home/username/ti/sysconfig_1.18.1`. On Windows the default directory is
`C:\ti`. Take note of this install path, as it will be used in the next
step.
```
$ cd ~/connectedhomeip/examples/pump-app/cc13x2x7_26x2x7
OR
$ cd ~/connectedhomeip/examples/pump-app/cc13x4_26x4
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2\""
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1\""
$ ninja -C out/debug
```
Expand All @@ -104,7 +104,7 @@ Ninja to build the executable.
to the GN call.
```
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2\" target_defines=[\"CC13X4_26X4_ATTESTATION_CREDENTIALS=1\"]"
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1\" target_defines=[\"CC13X4_26X4_ATTESTATION_CREDENTIALS=1\"]"
```
## Programming
Expand Down
2 changes: 0 additions & 2 deletions examples/pump-app/cc13x4_26x4/chip.syscfg
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,12 @@ LED1.$name = "CONFIG_LED_RED";
LED1.$hardware = system.deviceData.board.components.LED_RED;
LED1.gpioPin.$name = "CONFIG_GPIO_RLED";
LED1.gpioPin.mode = "Output";
LED1.gpioPin.callbackFunction = "";

/* Green LED */
LED2.$name = "CONFIG_LED_GREEN";
LED2.$hardware = system.deviceData.board.components.LED_GREEN;
LED2.gpioPin.$name = "CONFIG_GPIO_GLED";
LED2.gpioPin.mode = "Output";
LED2.gpioPin.callbackFunction = "";

/* Debug UART */
UART2.$hardware = system.deviceData.board.components.XDS110UART;
Expand Down
12 changes: 6 additions & 6 deletions examples/pump-controller-app/cc13x4_26x4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ guide assumes that the environment is linux based, and recommends Ubuntu 20.04.

```
$ cd ~
$ `wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.16.2.3028/sysconfig-1.16.2_3028-setup.run`
$ chmod +x sysconfig-1.16.2_3028-setup.run
$ ./sysconfig-1.16.2_3028-setup.run
$ wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.18.1.3343/sysconfig-1.18.1_3343-setup.run
$ chmod +x sysconfig-1.18.1_3343-setup.run
$ ./sysconfig-1.18.1_3343-setup.run
```
- Run the bootstrap script to setup the build environment.
Expand All @@ -88,15 +88,15 @@ Ninja to build the executable.
- 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
`/home/username/ti/sysconfig_1.16.2`. On Windows the default directory is
`/home/username/ti/sysconfig_1.18.1`. On Windows the default directory is
`C:\ti`. Take note of this install path, as it will be used in the next
step.
```
$ cd ~/connectedhomeip/examples/pump-controller-app/cc13x2x7_26x2x7
OR
$ cd ~/connectedhomeip/examples/pump-controller-app/cc13x4_26x4
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2\""
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1\""
$ ninja -C out/debug
```
Expand All @@ -105,7 +105,7 @@ Ninja to build the executable.
to the GN call.
```
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2\" target_defines=[\"CC13X4_26X4_ATTESTATION_CREDENTIALS=1\"]"
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1\" target_defines=[\"CC13X4_26X4_ATTESTATION_CREDENTIALS=1\"]"
```
## Programming
Expand Down
2 changes: 0 additions & 2 deletions examples/pump-controller-app/cc13x4_26x4/chip.syscfg
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,12 @@ LED1.$name = "CONFIG_LED_RED";
LED1.$hardware = system.deviceData.board.components.LED_RED;
LED1.gpioPin.$name = "CONFIG_GPIO_RLED";
LED1.gpioPin.mode = "Output";
LED1.gpioPin.callbackFunction = "";

/* Green LED */
LED2.$name = "CONFIG_LED_GREEN";
LED2.$hardware = system.deviceData.board.components.LED_GREEN;
LED2.gpioPin.$name = "CONFIG_GPIO_GLED";
LED2.gpioPin.mode = "Output";
LED2.gpioPin.callbackFunction = "";

/* Debug UART */
UART2.$hardware = system.deviceData.board.components.XDS110UART;
Expand Down
12 changes: 6 additions & 6 deletions examples/shell/cc13x4_26x4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ guide assumes that the environment is linux based, and recommends Ubuntu 20.04.

```
$ cd ~
$ `wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.16.2.3028/sysconfig-1.16.2_3028-setup.run`
$ chmod +x sysconfig-1.16.2_3028-setup.run
$ ./sysconfig-1.16.2_3028-setup.run
$ wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-nsUM6f7Vvb/1.18.1.3343/sysconfig-1.18.1_3343-setup.run
$ chmod +x sysconfig-1.18.1_3343-setup.run
$ ./sysconfig-1.18.1_3343-setup.run
```
- Run the bootstrap script to setup the build environment.
Expand All @@ -45,15 +45,15 @@ Ninja to build the executable.
- 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
`/home/username/ti/sysconfig_1.16.2`. On Windows the default directory is
`/home/username/ti/sysconfig_1.18.1`. On Windows the default directory is
`C:\ti`. Take note of this install path, as it will be used in the next
step.
```
$ cd ~/connectedhomeip/examples/shell/cc13x2x7_26x2x7
OR
$ cd ~/connectedhomeip/examples/shell/cc13x4_26x4
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2"
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1"
$ ninja -C out/debug
```
Expand All @@ -62,7 +62,7 @@ Ninja to build the executable.
to the GN call.
```
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.16.2\" target_defines=[\"CC13X4_26X4_ATTESTATION_CREDENTIALS=1\"]"
gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.18.1\" target_defines=[\"CC13X4_26X4_ATTESTATION_CREDENTIALS=1\"]"
```
## Programming
Expand Down
2 changes: 0 additions & 2 deletions examples/shell/cc13x4_26x4/chip.syscfg
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,12 @@ LED1.$name = "CONFIG_LED_RED";
LED1.$hardware = system.deviceData.board.components.LED_RED;
LED1.gpioPin.$name = "CONFIG_GPIO_RLED";
LED1.gpioPin.mode = "Output";
LED1.gpioPin.callbackFunction = "";

/* Green LED */
LED2.$name = "CONFIG_LED_GREEN";
LED2.$hardware = system.deviceData.board.components.LED_GREEN;
LED2.gpioPin.$name = "CONFIG_GPIO_GLED";
LED2.gpioPin.mode = "Output";
LED2.gpioPin.callbackFunction = "";

/* Debug UART */
UART2.$hardware = system.deviceData.board.components.XDS110UART;
Expand Down

0 comments on commit 409e89c

Please sign in to comment.