Skip to content

Commit

Permalink
Add CC13x4 base Platform Support (#26513)
Browse files Browse the repository at this point in the history
* Add CC13x4 base Platform Support

* Update to generic TI submodule name

* Add new ot-ti submodule

* Update workflow

* Update legacy applications with new platform directory structure

* Update test data

* Revert SDK version for initial Platform support

* resolve UART naming issue

* Temporarily disable TI CI for initial Platform Support. To be re-enabled once 13x4 Applications/Docker image is up-to-date
  • Loading branch information
adabreuti authored and pull[bot] committed Sep 28, 2023
1 parent 012306d commit 0fafb1c
Show file tree
Hide file tree
Showing 157 changed files with 9,528 additions and 1,559 deletions.
74 changes: 2 additions & 72 deletions .github/workflows/examples-cc13x2x7_26x2x7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform cc13x2_26x2
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform cc13xx_26xx
- name: Set up environment for size reports
if: ${{ !env.ACT }}
env:
Expand All @@ -79,75 +79,5 @@ jobs:
path: |
.environment/gn_out/.ninja_log
.environment/pigweed-venv/*.log
- name: Build examples
timeout-minutes: 100
run: |
scripts/run_in_build_env.sh "\
./scripts/build/build_examples.py \
--target cc13x2x7_26x2x7-all-clusters-mtd \
--target cc13x2x7_26x2x7-all-clusters-minimal \
--target cc13x2x7_26x2x7-lock-ftd \
--target cc13x2x7_26x2x7-lock-mtd \
--target cc13x2x7_26x2x7-pump \
--target cc13x2x7_26x2x7-pump-controller \
--target cc13x2x7_26x2x7-shell \
build \
--copy-artifacts-to out/artifacts \
"
- name: Get lock FTD size stats
timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x2_26x2 LP_CC2652R7 lock-ftd \
out/artifacts/cc13x2x7_26x2x7-lock-ftd/chip-LP_CC2652R7-lock-example.out \
/tmp/bloat_reports/
- name: Get lock MTD size stats
timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x2_26x2 LP_CC2652R7 lock-mtd \
out/artifacts/cc13x2x7_26x2x7-lock-mtd/chip-LP_CC2652R7-lock-example.out \
/tmp/bloat_reports/
- name: Get Pump App size stats
timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x2_26x2 LP_CC2652R7 pump-app \
out/artifacts/cc13x2x7_26x2x7-pump/chip-LP_CC2652R7-pump-example.out \
/tmp/bloat_reports/
- name: Get Pump Controller App size stats
timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x2_26x2 LP_CC2652R7 pump-controller-app \
out/artifacts/cc13x2x7_26x2x7-pump-controller/chip-LP_CC2652R7-pump-controller-example.out \
/tmp/bloat_reports/
- name: Get All Clusters App size stats
timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x2_26x2 LP_CC2652R7 all-clusters-app \
out/artifacts/cc13x2x7_26x2x7-all-clusters-mtd/chip-LP_CC2652R7-all-clusters-example.out \
/tmp/bloat_reports/
- name: Get All Clusters Minimal App size stats
timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x2_26x2 LP_CC2652R7 all-clusters-minimal-app \
out/artifacts/cc13x2x7_26x2x7-all-clusters-minimal/chip-LP_CC2652R7-all-clusters-minimal-example.out \
/tmp/bloat_reports/
- name: Get Shell App size stats
timeout-minutes: 5
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
cc13x2_26x2 LP_CC2652R7 shell \
out/artifacts/cc13x2x7_26x2x7-shell/chip-LP_CC2652R7-shell-example.out \
/tmp/bloat_reports/
- name: Uploading Size Reports
uses: actions/upload-artifact@v3
if: ${{ !env.ACT }}
with:
name: Size,cc13x2x7_26x2x7-Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }}
path: |
/tmp/bloat_reports/
9 changes: 7 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
path = third_party/freertos/repo
url = https://github.com/FreeRTOS/FreeRTOS-Kernel.git
branch = V10.3.1-kernel-only
platforms = ameba,cc13x2_26x2,bouffalolab,efr32,esp32,k32w0,infineon,qpg,cc32xx,silabs_docker
platforms = ameba,cc13xx_26xx,bouffalolab,efr32,esp32,k32w0,infineon,qpg,cc32xx,silabs_docker
[submodule "simw-top-mini"]
path = third_party/simw-top-mini/repo
url = https://github.com/NXP/plug-and-trust.git
Expand Down Expand Up @@ -224,12 +224,17 @@
path = third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx
url = https://github.com/TexasInstruments/cc13xx_cc26xx_sdk.git
branch = main
platforms = cc13x2_26x2
platforms = cc13xx_26xx
[submodule "third_party/ti_simplelink_sdk/repo_cc32xx"]
path = third_party/ti_simplelink_sdk/repo_cc32xx
url = https://github.com/TexasInstruments/cc32xx_open_sdk.git
branch = main
platforms = cc32xx
[submodule "third_party/openthread/ot-ti"]
path = third_party/openthread/ot-ti
url = https://github.com/TexasInstruments/ot-ti.git
branch = main
platforms = cc13xx_26xx
[submodule "third_party/nxp/mw320_sdk/repo"]
path = third_party/nxp/mw320_sdk/repo
url = https://github.com/nxptest/mw320_sdk
Expand Down
244 changes: 0 additions & 244 deletions examples/all-clusters-minimal-app/cc13x2x7_26x2x7/README.md

This file was deleted.

Loading

0 comments on commit 0fafb1c

Please sign in to comment.