Skip to content

Commit c9dac81

Browse files
[TI] Remove TI CC13x2 Platform Support (project-chip#32877)
* Removal of TI CC13x2 Platform Support * Restyled by clang-format * Restyled by gn * Restyled by prettier-markdown * Restyled by autopep8 * updated index.md --------- Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 696ae98 commit c9dac81

File tree

229 files changed

+86
-21905
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+86
-21905
lines changed

.github/workflows/examples-cc13x2x7_26x2x7.yaml .github/workflows/examples-cc13xx_26xx.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
name: Build example - TI CC26X2X7
15+
name: Build example - TI CC13XX_26XX
1616

1717
on:
1818
push:
@@ -26,11 +26,11 @@ env:
2626
CHIP_NO_LOG_TIMESTAMPS: true
2727

2828
jobs:
29-
cc26x2x7:
30-
name: cc26x2x7
29+
cc13xx_26xx:
30+
name: cc13xx_26xx
3131

3232
env:
33-
BUILD_TYPE: gn_cc26x2x7
33+
BUILD_TYPE: gn_cc13xx_26xx
3434

3535
runs-on: ubuntu-latest
3636
if: github.actor != 'restyled-io[bot]'
@@ -97,11 +97,6 @@ jobs:
9797
cc13x4_26x4 LP_EM_CC1354P10_6 lighting-app \
9898
out/artifacts/ti-cc13x4_26x4-lighting-mtd/chip-LP_EM_CC1354P10_6-lighting-example.out \
9999
/tmp/bloat_reports/
100-
- name: Uploading Size Reports
101-
uses: ./.github/actions/upload-size-reports
102-
if: ${{ !env.ACT }}
103-
with:
104-
platform-name: cc13x2x7_26x2x7
105100
- name: Uploading Size Reports
106101
uses: ./.github/actions/upload-size-reports
107102
if: ${{ !env.ACT }}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![ASR](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20ASR/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-asr.yaml)
1010
[![BouffaloLab](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20BouffaloLab/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-bouffalolab.yaml)
1111
[![Darwin](https://github.com/project-chip/connectedhomeip/workflows/Darwin/badge.svg)](https://github.com/project-chip/connectedhomeip/blob/master/.github/workflows/darwin.yaml)
12-
[![TI CC26X2X7](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC26X2X7/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc13x2x7_26x2x7.yaml)
12+
[![TI CC26X2X7](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC13XX_26XX/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc13xx_26xx.yaml)
1313
[![TI CC32XX](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC32XX/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc32xx.yaml)
1414
[![EFR32](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20EFR32/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-efr32.yaml)
1515
[![ESP32](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20ESP32/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-esp32.yaml)

config/cc13x2_26x2/toolchain/BUILD.gn

-31
This file was deleted.

docs/examples/index.md

-2
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ pigweed-app/**/README
213213
:maxdepth: 1
214214
215215
pump-app/**/README
216-
pump-app/cc13x2x7_26x2x7/doc/programming*
217216
```
218217

219218
## Pump controller example
@@ -223,7 +222,6 @@ pump-app/cc13x2x7_26x2x7/doc/programming*
223222
:maxdepth: 1
224223
225224
pump-controller-app/**/README
226-
pump-controller-app/cc13x2x7_26x2x7/doc/programming*
227225
```
228226

229227
## Refrigerator example

docs/guides/BUILDING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ gn desc out/unified '//src/controller(//build/toolchain/host:linux_x64_clang)'
470470
> **Note:** Some platforms that can be built as part of the unified build
471471
> require downloading additional tools. To add these to the build, the location
472472
> must be provided as a build argument. For example, to add the Simplelink
473-
> cc13x2_26x2 examples to the unified build, install
473+
> cc13xx_26xx examples to the unified build, install
474474
> [SysConfig](https://www.ti.com/tool/SYSCONFIG) and add the following build
475475
> arguments:
476476
>
-15.5 KB
Binary file not shown.

docs/guides/ti/ti_factory_data_user_guide.md

+14-25
Original file line numberDiff line numberDiff line change
@@ -33,43 +33,40 @@ Each element is described in more detail below:
3333
Developers can configure this per device. Elements in this file are from the
3434
specification.
3535
2. Matter Application with dummy factory data: Any TI Matter example application
36-
3. `BIM`/MCUBoot: Boot Image Manager/MCUBoot image used for OTA. This is built
37-
with the Matter application and does not require additional build steps from
38-
developers.
36+
3. MCUBoot: MCUBoot image used for OTA. This is built with the Matter
37+
application and does not require additional build steps from developers.
3938
4. create_factory_data.py: Processes a factory data JSON file and generates a
4039
hex file with the unique factory data values configured in the JSON file.
4140
5. factory_data_trim.py: When using the custom factory data option, this script
4241
removes the dummy factory data which is required to be able to successfully
4342
compile the application.
4443
6. `oad`\_and_factory_data_merge_tool.py: Merges the factory data hex, Matter
45-
application without factory data and `BIM`/MCUBoot image to generate a
46-
functional hex that can be programmed onto the device.
44+
application without factory data and MCUBoot image to generate a functional
45+
hex that can be programmed onto the device.
4746

4847
## Flash memory layout
4948

50-
![Memory Layout 1](images/cc13x2_memmap.png)
51-
5249
![Memory Layout 2](images/cc13x4_memmap.png)
5350

5451
## How to use
5552

5653
Out of box factory data location is configured to be on second last page of
57-
flash. For CC13x2, the starting address is `0xAC000`. For CC13x4, the starting
58-
address is `0xFE800`. This can be configured in the linker file.
54+
flash. For CC13x4, the starting address is `0xFE800`. This can be configured in
55+
the linker file.
5956

6057
To configure:
6158

6259
1. Linker file: Set the start address for factory data in the linker file being
6360
used by the application
6461

6562
```
66-
FLASH_FACTORY_DATA (R) : ORIGIN = 0x000ac000, LENGTH = 0x00000900
63+
FLASH_FACTORY_DATA (R) : ORIGIN = 0x000fe800, LENGTH = 0x00000900
6764
```
6865

6966
```
7067
/* Define base address for the DAC arrays and struct */
7168
PROVIDE (_factory_data_base_address =
72-
DEFINED(_factory_data_base_address) ? _factory_data_base_address : 0xAC000);
69+
DEFINED(_factory_data_base_address) ? _factory_data_base_address : 0xFE800);
7370
```
7471

7572
2. create_factory_data.py: Set the address of the start of the factory data
@@ -78,7 +75,7 @@ FLASH_FACTORY_DATA (R) : ORIGIN = 0x000ac000, LENGTH = 0x00000900
7875
```
7976
# there are 17 elements, each element will need 8 bytes in the struct
8077
# 4 for length of the element, and 4 for the pointer to the element
81-
# factory data starts at 0xAC000 or 0xFE800, so the elements will
78+
# factory data starts at 0xFE800, so the elements will
8279
# start 136 bytes after the start address
8380
factory_data_dict = json.load(args.factory_data_json_file[0])
8481
factory_data_schema = json.load(args.factory_data_schema[0])
@@ -88,23 +85,16 @@ FLASH_FACTORY_DATA (R) : ORIGIN = 0x000ac000, LENGTH = 0x00000900
8885
8986
struct_idx = 0
9087
values_idx = 0
91-
if device_family == 'cc13x2_26x2':
92-
value_address = 0xAC088
93-
else:
94-
value_address = 0xFE888
88+
value_address = 0xFE888
9589
```
9690

9791
```
98-
if device_family == 'cc13x2_26x2':
99-
subprocess.call(['objcopy', 'temp.bin','--input-target','binary','--output-target', 'ihex', args.factory_data_hex_file, '--change-addresses=0xac000'])
100-
else:
101-
subprocess.call(['objcopy', 'temp.bin','--input-target','binary','--output-target', 'ihex', args.factory_data_hex_file, '--change-addresses=0xfe800'])
92+
subprocess.call(['objcopy', 'temp.bin','--input-target','binary','--output-target', 'ihex', args.factory_data_hex_file, '--change-addresses=0xfe800'])
10293
```
10394

10495
3. In the example's args.gni file, set 'custom_factory_data' to true
10596

106-
It is recommended to keep a dedicated page (2 pages for CC13x4) for factory
107-
data.
97+
It is recommended to keep 2 dedicated pages for CC13x4 for factory data.
10898

10999
### Formatting certs and keys for JSON file
110100

@@ -121,7 +111,6 @@ being copied into the JSON file.
121111
The example application can be built using the instructions in the example's
122112
README. The factory data from the JSON file will be formatted into a hex file
123113
that will then be merged into the final executable. The final executable will be
124-
named _{example-application}-`bim`.hex_ for CC13x2 and
125-
_{example-application}-mcuboot.hex_ for CC13x4, and the factory data that was
126-
inputted into the JSON file will be named
114+
named _{example-application}-mcuboot.hex_ for CC13x4, and the factory data that
115+
was inputted into the JSON file will be named
127116
_{example-application}-factory-data.hex_.

docs/guides/ti/ti_platform_overview.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ In the TI example applications the Bluetooth Low Energy protocol is used to
4848
provision the Thread protocol to enable Matter communication. Then Thread is
4949
used for IP communication with other Matter devices.
5050

51-
The TI applications leverage the Bluetooth Low Energy stack on the CC13X2 and
52-
CC26X2 families. This BLE software is distributed in binary form within the TI
51+
The TI applications leverage the Bluetooth Low Energy stack on the CC13XX and
52+
CC26XX families. This BLE software is distributed in binary form within the TI
5353
SimpleLink SDK. The BLE stack leverages code that is present in the device ROM
5454
for certain common BLE operations.
5555

@@ -103,9 +103,9 @@ handled by the platform implementation files.
103103
Sample Matter applications are provided for the TI platform. These can be used
104104
as reference for your own application.
105105

106-
- [lock-app](../../../examples/lock-app/cc13x2x7_26x2x7/README.md)
107-
- [pump-app](../../../examples/pump-app/cc13x2x7_26x2x7/README.md)
108-
- [pump-controller-app](../../../examples/pump-controller-app/cc13x2x7_26x2x7/README.md)
106+
- [lock-app](../../../examples/lock-app/cc13x4_26x4/README.md)
107+
- [pump-app](../../../examples/pump-app/cc13x4_26x4/README.md)
108+
- [pump-controller-app](../../../examples/pump-controller-app/cc13x4_26x4/README.md)
109109

110110
<hr>
111111

examples/all-clusters-app/cc13x2x7_26x2x7/.gn

-30
This file was deleted.

examples/all-clusters-app/cc13x2x7_26x2x7/BUILD.gn

-143
This file was deleted.

0 commit comments

Comments
 (0)