Skip to content

Commit ea962dc

Browse files
committedSep 4, 2024
Revert "[nxp fromtree] [NXP][k32w1] Rework reference apps (project-chip#34926)"
This reverts commit d55cca4. Signed-off-by: marius-alex-tache <marius.tache@nxp.com>
1 parent 2570368 commit ea962dc

File tree

183 files changed

+7961
-4707
lines changed

Some content is hidden

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

183 files changed

+7961
-4707
lines changed
 

‎.github/workflows/examples-nxp.yaml

+10-54
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ env:
2929
CHIP_NO_LOG_TIMESTAMPS: true
3030

3131
jobs:
32-
k32w0:
33-
name: K32W0
32+
k32w:
33+
name: K32W
3434

3535
env:
3636
BUILD_TYPE: gn_k32w
@@ -39,7 +39,7 @@ jobs:
3939
if: github.actor != 'restyled-io[bot]'
4040

4141
container:
42-
image: ghcr.io/project-chip/chip-build-k32w:71
42+
image: ghcr.io/project-chip/chip-build-k32w:66
4343
volumes:
4444
- "/tmp/bloat_reports:/tmp/bloat_reports"
4545
steps:
@@ -66,6 +66,8 @@ jobs:
6666
--target nxp-k32w0-freertos-contact-sensor \
6767
--target nxp-k32w0-freertos-contact-sensor-low-power \
6868
--target nxp-k32w0-freertos-contact-sensor-low-power-factory \
69+
--target nxp-k32w1-freertos-lighting \
70+
--target nxp-k32w1-freertos-contact-sensor-low-power \
6971
build \
7072
--copy-artifacts-to out/artifacts \
7173
"
@@ -75,62 +77,16 @@ jobs:
7577
nxp k32w0+release light \
7678
out/artifacts/nxp-k32w0-freertos-lighting/chip-k32w0x-light-example.elf \
7779
/tmp/bloat_reports/
78-
- name: Get contact sensor size stats
79-
run: |
80-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
81-
nxp k32w0+release contact \
82-
out/artifacts/nxp-k32w0-freertos-contact-sensor-low-power/chip-k32w0x-contact-example.elf \
83-
/tmp/bloat_reports/
84-
- name: Uploading Size Reports
85-
uses: ./.github/actions/upload-size-reports
86-
if: ${{ !env.ACT }}
87-
with:
88-
platform-name: K32W0
89-
k32w1:
90-
name: K32W1
91-
92-
env:
93-
BUILD_TYPE: gn_k32w
94-
95-
runs-on: ubuntu-latest
96-
if: github.actor != 'restyled-io[bot]'
97-
98-
container:
99-
image: ghcr.io/project-chip/chip-build-nxp:71
100-
volumes:
101-
- "/tmp/bloat_reports:/tmp/bloat_reports"
102-
steps:
103-
- name: Checkout
104-
uses: actions/checkout@v4
105-
- name: Checkout submodules & Bootstrap
106-
uses: ./.github/actions/checkout-submodules-and-bootstrap
107-
with:
108-
platform: nxp
109-
extra-submodule-parameters: --recursive
110-
111-
- name: Set up environment for size reports
112-
uses: ./.github/actions/setup-size-reports
113-
if: ${{ !env.ACT }}
114-
with:
115-
gh-context: ${{ toJson(github) }}
116-
117-
- name: Build examples
118-
run: |
119-
scripts/run_in_build_env.sh "\
120-
./scripts/build/build_examples.py \
121-
--target nxp-k32w1-freertos-lighting \
122-
--target nxp-k32w1-freertos-contact-sensor-low-power \
123-
build \
124-
--copy-artifacts-to out/artifacts \
125-
"
126-
- name: Get lighting app size stats
127-
run: |
12880
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
12981
nxp k32w1+release light \
13082
out/artifacts/nxp-k32w1-freertos-lighting/chip-k32w1-light-example.elf \
13183
/tmp/bloat_reports/
13284
- name: Get contact sensor size stats
13385
run: |
86+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
87+
nxp k32w0+release contact \
88+
out/artifacts/nxp-k32w0-freertos-contact-sensor-low-power/chip-k32w0x-contact-example.elf \
89+
/tmp/bloat_reports/
13490
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
13591
nxp k32w1+release contact \
13692
out/artifacts/nxp-k32w1-freertos-contact-sensor-low-power/chip-k32w1-contact-example.elf \
@@ -139,7 +95,7 @@ jobs:
13995
uses: ./.github/actions/upload-size-reports
14096
if: ${{ !env.ACT }}
14197
with:
142-
platform-name: K32W1
98+
platform-name: K32W
14399
rw61x:
144100
name: RW61X
145101

‎examples/contact-sensor-app/nxp/common/AppTask.cpp

-53
This file was deleted.

0 commit comments

Comments
 (0)