Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7b7ed65

Browse files
committedNov 7, 2024
Revert "[nxp fromtree] NXP : Add support of RT1060 and RT1170 boards (project-chip#35842)"
This reverts commit ef96beb. Signed-off-by: Gatien Chapon <gatien.chapon@nxp.com>
1 parent e8b422b commit 7b7ed65

File tree

99 files changed

+192
-7602
lines changed

Some content is hidden

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

99 files changed

+192
-7602
lines changed
 

‎.github/.wordlist.txt

-3
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,6 @@ isUpperCase
735735
itemName
736736
iterable
737737
itsfoss
738-
IW
739738
JDK
740739
jinja
741740
JLink
@@ -894,7 +893,6 @@ microcontroller
894893
microcontrollers
895894
MicroSD
896895
middleware
897-
MIMXRT
898896
minApplicableSoftwareVersion
899897
Minicom
900898
MinInterval
@@ -926,7 +924,6 @@ Multicast
926924
multilib
927925
Multiprotocol
928926
multithreaded
929-
Murata
930927
mutex
931928
mutexes
932929
mv

‎.github/workflows/examples-nxp.yaml

+137-104
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ env:
3030
CHIP_NO_LOG_TIMESTAMPS: true
3131

3232
jobs:
33-
FreeRTOS:
34-
name: FREERTOS
33+
k32w0:
34+
name: K32W0
3535

3636
env:
37-
BUILD_TYPE: gn_FreeRTOS
37+
BUILD_TYPE: gn_k32w
3838

3939
runs-on: ubuntu-latest
4040
if: github.actor != 'restyled-io[bot]'
4141

4242
container:
43-
image: ghcr.io/project-chip/chip-build-nxp:81
43+
image: ghcr.io/project-chip/chip-build-nxp:80
4444
volumes:
4545
- "/tmp/bloat_reports:/tmp/bloat_reports"
4646
steps:
@@ -50,189 +50,229 @@ jobs:
5050
uses: ./.github/actions/checkout-submodules-and-bootstrap
5151
with:
5252
platform: nxp
53-
extra-submodule-parameters: --recursive
54-
55-
- name: Detect changed paths
56-
uses: dorny/paths-filter@v3
57-
id: changed_paths
58-
with:
59-
filters: |
60-
nxp:
61-
- '**/nxp/**'
6253

6354
- name: Set up environment for size reports
6455
uses: ./.github/actions/setup-size-reports
6556
if: ${{ !env.ACT }}
6657
with:
6758
gh-context: ${{ toJson(github) }}
6859

69-
- name: Build K32W0 examples
60+
- name: Build examples
7061
run: |
7162
scripts/run_in_build_env.sh "\
7263
./scripts/build/build_examples.py \
64+
--target nxp-k32w0-freertos-lighting \
7365
--target nxp-k32w0-freertos-lighting-factory \
66+
--target nxp-k32w0-freertos-lighting-rotating-id \
67+
--target nxp-k32w0-freertos-contact-sensor \
68+
--target nxp-k32w0-freertos-contact-sensor-low-power \
7469
--target nxp-k32w0-freertos-contact-sensor-low-power-factory \
7570
build \
7671
--copy-artifacts-to out/artifacts \
7772
"
78-
- name: Get K32W0 lighting app size stats
73+
- name: Get lighting app size stats
7974
run: |
8075
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
8176
nxp k32w0+release light \
82-
out/artifacts/nxp-k32w0-freertos-lighting-factory/chip-k32w0x-light-example.elf \
77+
out/artifacts/nxp-k32w0-freertos-lighting/chip-k32w0x-light-example.elf \
8378
/tmp/bloat_reports/
84-
- name: Get K32W0 contact sensor size stats
79+
- name: Get contact sensor size stats
8580
run: |
8681
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
8782
nxp k32w0+release contact \
88-
out/artifacts/nxp-k32w0-freertos-contact-sensor-low-power-factory/chip-k32w0x-contact-example.elf \
83+
out/artifacts/nxp-k32w0-freertos-contact-sensor-low-power/chip-k32w0x-contact-example.elf \
8984
/tmp/bloat_reports/
85+
- name: Uploading Size Reports
86+
uses: ./.github/actions/upload-size-reports
87+
if: ${{ !env.ACT }}
88+
with:
89+
platform-name: K32W0
90+
k32w1:
91+
name: K32W1
92+
93+
env:
94+
BUILD_TYPE: gn_k32w
95+
96+
runs-on: ubuntu-latest
97+
if: github.actor != 'restyled-io[bot]'
98+
99+
container:
100+
image: ghcr.io/project-chip/chip-build-nxp:81
101+
volumes:
102+
- "/tmp/bloat_reports:/tmp/bloat_reports"
103+
steps:
104+
- name: Checkout
105+
uses: actions/checkout@v4
106+
- name: Checkout submodules & Bootstrap
107+
uses: ./.github/actions/checkout-submodules-and-bootstrap
108+
with:
109+
platform: nxp
110+
extra-submodule-parameters: --recursive
90111

91-
- name: clean build
92-
run: rm -rf ./out
112+
- name: Set up environment for size reports
113+
uses: ./.github/actions/setup-size-reports
114+
if: ${{ !env.ACT }}
115+
with:
116+
gh-context: ${{ toJson(github) }}
93117

94-
- name: Build K32W1 examples
118+
- name: Build examples
95119
run: |
96120
scripts/run_in_build_env.sh "\
97121
./scripts/build/build_examples.py \
98122
--target nxp-k32w1-freertos-lighting \
123+
--target nxp-k32w1-freertos-contact-sensor-low-power \
124+
--target nxp-k32w1-freertos-lock-app \
99125
build \
100126
--copy-artifacts-to out/artifacts \
101127
"
102-
- name: Get K32W1 lighting app size stats
128+
- name: Get lighting app size stats
103129
run: |
104130
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
105131
nxp k32w1+release light \
106132
out/artifacts/nxp-k32w1-freertos-lighting/chip-k32w1-light-example.elf \
107133
/tmp/bloat_reports/
134+
- name: Get contact sensor size stats
135+
run: |
136+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
137+
nxp k32w1+release contact \
138+
out/artifacts/nxp-k32w1-freertos-contact-sensor-low-power/chip-k32w1-contact-example.elf \
139+
/tmp/bloat_reports/
140+
- name: Get lock app size stats
141+
run: |
142+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
143+
nxp k32w1+release lock \
144+
out/artifacts/nxp-k32w1-freertos-lock-app/chip-k32w1-lock-example.elf \
145+
/tmp/bloat_reports/
146+
- name: Uploading Size Reports
147+
uses: ./.github/actions/upload-size-reports
148+
if: ${{ !env.ACT }}
149+
with:
150+
platform-name: K32W1
151+
mcxw71:
152+
name: MCXW71
108153

109-
- name: clean build
110-
run: rm -rf ./out
154+
env:
155+
BUILD_TYPE: gn_k32w
111156

112-
- name: Build MCXW71 examples
157+
runs-on: ubuntu-latest
158+
if: github.actor != 'restyled-io[bot]'
159+
160+
container:
161+
image: ghcr.io/project-chip/chip-build-nxp:81
162+
volumes:
163+
- "/tmp/bloat_reports:/tmp/bloat_reports"
164+
steps:
165+
- name: Checkout
166+
uses: actions/checkout@v4
167+
- name: Checkout submodules & Bootstrap
168+
uses: ./.github/actions/checkout-submodules-and-bootstrap
169+
with:
170+
platform: nxp
171+
extra-submodule-parameters: --recursive
172+
173+
- name: Set up environment for size reports
174+
uses: ./.github/actions/setup-size-reports
175+
if: ${{ !env.ACT }}
176+
with:
177+
gh-context: ${{ toJson(github) }}
178+
179+
- name: Build examples
113180
run: |
114181
scripts/run_in_build_env.sh "\
115182
./scripts/build/build_examples.py \
183+
--target nxp-mcxw71-freertos-lighting \
116184
--target nxp-mcxw71-freertos-contact-sensor-low-power \
117185
--target nxp-mcxw71-freertos-lock-app \
118186
build \
119187
--copy-artifacts-to out/artifacts \
120188
"
121-
- name: Get MCXW71 contact sensor size stats
189+
- name: Get lighting app size stats
190+
run: |
191+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
192+
nxp mcxw71+release light \
193+
out/artifacts/nxp-mcxw71-freertos-lighting/chip-mcxw71-light-example.elf \
194+
/tmp/bloat_reports/
195+
- name: Get contact sensor size stats
122196
run: |
123197
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
124198
nxp mcxw71+release contact \
125199
out/artifacts/nxp-mcxw71-freertos-contact-sensor-low-power/chip-mcxw71-contact-example.elf \
126200
/tmp/bloat_reports/
127-
- name: Get MCXW71 lock app size stats
201+
- name: Get lock app size stats
128202
run: |
129203
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
130204
nxp mcxw71+release lock \
131205
out/artifacts/nxp-mcxw71-freertos-lock-app/chip-mcxw71-lock-example.elf \
132206
/tmp/bloat_reports/
207+
- name: Uploading Size Reports
208+
uses: ./.github/actions/upload-size-reports
209+
if: ${{ !env.ACT }}
210+
with:
211+
platform-name: MCXW71
212+
rw61x:
213+
name: RW61X
133214

134-
- name: clean build
135-
run: rm -rf ./out
136-
137-
- name: Build RT1060 all clusters example app
138-
run: |
139-
scripts/run_in_build_env.sh "\
140-
./scripts/build/build_examples.py \
141-
--target nxp-rt1060-freertos-all-clusters-wifi-iw416 \
142-
--target nxp-rt1060-freertos-all-clusters-wifi-w8801 \
143-
--target nxp-rt1060-freertos-all-clusters-wifi-ota-evkc-iwx12 \
144-
build \
145-
--copy-artifacts-to out/artifacts \
146-
"
147-
- name: Build RT1060 thermostat example app
148-
if: github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
149-
run: |
150-
scripts/run_in_build_env.sh "\
151-
./scripts/build/build_examples.py \
152-
--target nxp-rt1060-freertos-thermostat-thread-wifi-evkc-iwx12 \
153-
build \
154-
--copy-artifacts-to out/artifacts \
155-
"
156-
- name: Build RT1060 laundry-washer example app
157-
if: github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
158-
run: |
159-
scripts/run_in_build_env.sh "\
160-
./scripts/build/build_examples.py \
161-
--target nxp-rt1060-freertos-laundry-washer-wifi-evkc-iwx12 \
162-
--target nxp-rt1060-freertos-laundry-washer-thread-evkc-iwx12 \
163-
build \
164-
--copy-artifacts-to out/artifacts \
165-
"
215+
env:
216+
BUILD_TYPE: gn_rw61x
166217

167-
- name: clean build
168-
run: rm -rf ./out
218+
runs-on: ubuntu-latest
219+
if: github.actor != 'restyled-io[bot]'
169220

170-
- name: Build RT1170 all clusters example app
171-
if: github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
172-
run: |
173-
scripts/run_in_build_env.sh "\
174-
./scripts/build/build_examples.py \
175-
--target nxp-rt1170-freertos-all-clusters-wifi-iwx12 \
176-
--target nxp-rt1170-freertos-all-clusters-wifi-ota-iwx12 \
177-
build \
178-
--copy-artifacts-to out/artifacts \
179-
"
180-
- name: Build RT1170 thermostat example app
181-
run: |
182-
scripts/run_in_build_env.sh "\
183-
./scripts/build/build_examples.py \
184-
--target nxp-rt1170-freertos-thermostat-thread-wifi-iwx12 \
185-
build \
186-
--copy-artifacts-to out/artifacts \
187-
"
188-
- name: Build RT1170 laundry-washer example app
189-
if: github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
190-
run: |
191-
scripts/run_in_build_env.sh "\
192-
./scripts/build/build_examples.py \
193-
--target nxp-rt1170-freertos-laundry-washer-thread-iwx12 \
194-
build \
195-
--copy-artifacts-to out/artifacts \
196-
"
221+
container:
222+
image: ghcr.io/project-chip/chip-build-nxp:81
223+
volumes:
224+
- "/tmp/bloat_reports:/tmp/bloat_reports"
225+
steps:
226+
- name: Checkout
227+
uses: actions/checkout@v4
228+
- name: Checkout submodules & Bootstrap
229+
uses: ./.github/actions/checkout-submodules-and-bootstrap
230+
with:
231+
platform: nxp
232+
extra-submodule-parameters: --recursive
197233

198-
- name: clean build
199-
run: rm -rf ./out
234+
- name: Set up environment for size reports
235+
uses: ./.github/actions/setup-size-reports
236+
if: ${{ !env.ACT }}
237+
with:
238+
gh-context: ${{ toJson(github) }}
200239

201240
- name: Build RW61X all clusters example app
202241
run: |
203242
scripts/run_in_build_env.sh "\
204243
./scripts/build/build_examples.py \
205244
--target nxp-rw61x-freertos-all-clusters-wifi \
245+
--target nxp-rw61x-freertos-all-clusters-thread \
206246
--target nxp-rw61x-freertos-all-clusters-wifi-ota-cmake \
207247
build \
208248
--copy-artifacts-to out/artifacts \
209249
"
250+
210251
- name: Build RW61X thermostat example app
211252
run: |
212253
scripts/run_in_build_env.sh "\
213254
./scripts/build/build_examples.py \
255+
--target nxp-rw61x-freertos-thermostat-wifi \
256+
--target nxp-rw61x-freertos-thermostat-thread \
214257
--target nxp-rw61x-freertos-thermostat-thread-wifi \
215258
build \
216259
--copy-artifacts-to out/artifacts \
217260
"
261+
218262
- name: Build RW61X laundry-washer example app
219-
if: github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
220263
run: |
221264
scripts/run_in_build_env.sh "\
222265
./scripts/build/build_examples.py \
223266
--target nxp-rw61x-freertos-laundry-washer-wifi \
267+
--target nxp-rw61x-freertos-laundry-washer-thread \
224268
build \
225269
--copy-artifacts-to out/artifacts \
226270
"
227-
228-
- name: clean build
229-
run: rm -rf ./out
230-
231271
- name: Uploading Size Reports
232272
uses: ./.github/actions/upload-size-reports
233273
if: ${{ !env.ACT }}
234274
with:
235-
platform-name: NXP-FREERTOS
275+
platform-name: RW61X
236276
zephyr:
237277
name: ZEPHYR
238278

@@ -249,15 +289,8 @@ jobs:
249289
uses: ./.github/actions/checkout-submodules-and-bootstrap
250290
with:
251291
platform: nxp
252-
- name: Detect changed paths
253-
uses: dorny/paths-filter@v3
254-
id: changed_paths
255-
with:
256-
filters: |
257-
nxp:
258-
- '**/nxp/**'
292+
259293
- name: Build NXP Zephyr examples
260-
if: github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
261294
run: |
262295
scripts/run_in_build_env.sh "\
263296
./scripts/build/build_examples.py \

0 commit comments

Comments
 (0)
Please sign in to comment.