Skip to content

Commit 4ad04a2

Browse files
[NXP] Remove K32W0 and K32W1 support (project-chip#39330)
* [nxp] Remove k32w0 * k32w0 examples (contact-sensor-app, lighting-app, lock-app) * examples/platform/nxp/k32w0 * src/platform/nxp/k32w0 * third_party/openthread/platforms/nxp/k32w0 * config/k32w/toolchain * docs/platforms/nxp/*k32w0* * scripts/examples/*k32w* Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][docs][platforms] Remove k32w0 references/strings Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][platform] Remove/Update k32w0 * remove k32w0 platform, references, strings * update docs Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][scripts][build] Remove k32w0 build Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][workflows] Remove k32w0 builds Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][platform] Remove k32w0 logging Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][mcxw71] Updated ot-nxp build paths Signed-off-by: Marius Preda <marius.preda@nxp.com> * [nxp][examples][platform][mcxw71_k32w1] Put FreeRtosHooks.cpp under condition * allow source_set to be reused by mcxw72 Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp] Remove k32w1 enablement * build_overrides/*k32w1* * examples k32w1 (contact-sensor-app, lighting-app, lock-app) Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][examples][platform][mcxw71_k32w1] Rename mcxw71_k32w1 to mcxw71 * rename mcxw71_k32w1 to mcxw71 * remove k32w1, update where needed Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][platform][mcxw71_k32w1] Rename mcxw71_k32w1 to mcxw71 * rename mcxw71_k32w1 to mcxw71 * remove k32w1, update where needed Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][examples][mcxw71] Update files to remove k32w1 Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][third_party/openthread/platforms] Replace mcxw71_k32w1 with mcxw71 Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][platform] Remove/Update k32w1 strings Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][docs] Remove/Update k32w1 Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][platform] Remove k32w1 logging Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][scripts] Remove k32w1 enablement Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][workflows] Remove k32w1 enablement Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][scripts][nxp] Remove k32w1 from doc Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][common] Update nxp_matter_support and ot-nxp repos Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * Restyled by gn * Restyled by prettier-markdown * [nxp][scripts] Remove fro32 and fix targets Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> * [nxp][platform] Remove fro32k code from BLEManager Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> --------- Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com> Signed-off-by: Marius Preda <marius.preda@nxp.com> Co-authored-by: Restyled.io <commits@restyled.io>
1 parent f073c57 commit 4ad04a2

225 files changed

Lines changed: 115 additions & 19042 deletions

File tree

Some content is hidden

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

.github/workflows/examples-nxp.yaml

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -69,49 +69,6 @@ jobs:
6969
with:
7070
gh-context: ${{ toJson(github) }}
7171

72-
- name: Build K32W0 examples
73-
run: |
74-
scripts/run_in_build_env.sh "\
75-
./scripts/build/build_examples.py \
76-
--target nxp-k32w0-freertos-lighting-factory-log-progress \
77-
--target nxp-k32w0-freertos-contact-sensor-low-power-factory \
78-
build \
79-
--copy-artifacts-to out/artifacts \
80-
"
81-
- name: Get K32W0 lighting app size stats
82-
run: |
83-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
84-
nxp k32w0+release light \
85-
out/artifacts/nxp-k32w0-freertos-lighting-factory-log-progress/chip-k32w0x-light-example.elf \
86-
/tmp/bloat_reports/
87-
- name: Get K32W0 contact sensor size stats
88-
run: |
89-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
90-
nxp k32w0+release contact \
91-
out/artifacts/nxp-k32w0-freertos-contact-sensor-low-power-factory/chip-k32w0x-contact-example.elf \
92-
/tmp/bloat_reports/
93-
94-
- name: clean build
95-
run: rm -rf ./out
96-
97-
- name: Build K32W1 examples
98-
run: |
99-
scripts/run_in_build_env.sh "\
100-
./scripts/build/build_examples.py \
101-
--target nxp-k32w1-freertos-lighting \
102-
build \
103-
--copy-artifacts-to out/artifacts \
104-
"
105-
- name: Get K32W1 lighting app size stats
106-
run: |
107-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
108-
nxp k32w1+release light \
109-
out/artifacts/nxp-k32w1-freertos-lighting/chip-k32w1-light-example.elf \
110-
/tmp/bloat_reports/
111-
112-
- name: clean build
113-
run: rm -rf ./out
114-
11572
- name: Build MCXW71 examples
11673
run: |
11774
scripts/run_in_build_env.sh "\

BUILD.gn

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -420,15 +420,6 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
420420
# Build the efr32 window app example.
421421
enable_efr32_window_app_build = enable_efr32_builds
422422

423-
# Build the k32w lighting app example.
424-
enable_k32w_lighting_app_build = enable_k32w_builds
425-
426-
# Build the k32w lock app example.
427-
enable_k32w_lock_app_build = enable_k32w_builds
428-
429-
# Build the k32w shell app example.
430-
enable_k32w_shell_app_build = enable_k32w_builds
431-
432423
# Build the bl602 lighting app example.
433424
enable_bl602_lighting_app_build = enable_bl602_builds
434425

@@ -711,30 +702,6 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
711702
extra_build_deps += [ ":efr32_window_app" ]
712703
}
713704

714-
if (enable_k32w_lighting_app_build) {
715-
group("k32w_lighting_app") {
716-
deps = [ "${chip_root}/examples/lighting-app/nxp/k32w0/(${chip_root}/config/k32w/toolchain:k32w_lighting_app)" ]
717-
}
718-
719-
extra_build_deps += [ ":k32w_lighting_app" ]
720-
}
721-
722-
if (enable_k32w_lock_app_build) {
723-
group("k32w_lock_app") {
724-
deps = [ "${chip_root}/examples/lock-app/nxp/k32w0/(${chip_root}/config/k32w/toolchain:k32w_lock_app)" ]
725-
}
726-
727-
extra_build_deps += [ ":k32w_lock_app" ]
728-
}
729-
730-
if (enable_k32w_shell_app_build) {
731-
group("k32w_shell_app") {
732-
deps = [ "${chip_root}/examples/shell/nxp/k32w0/(${chip_root}/config/k32w/toolchain:k32w_shell_app)" ]
733-
}
734-
735-
extra_build_deps += [ ":k32w_shell_app" ]
736-
}
737-
738705
if (enable_tizen_lighting_app) {
739706
group("tizen_lighting_app") {
740707
deps = [ "${chip_root}/examples/lighting-app/tizen(${chip_root}/build/toolchain/tizen:tizen_arm)" ]

build_overrides/k32w1_sdk.gni

Lines changed: 0 additions & 18 deletions
This file was deleted.

config/k32w/toolchain/BUILD.gn

Lines changed: 0 additions & 46 deletions
This file was deleted.

docs/platforms/nxp/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
- [NXP - RW61x Platform Guide](./nxp_rw61x_guide.md)
1616
- [NXP - RT1060 Platform Guide](./nxp_rt1060_guide.md)
1717
- [NXP - RT1170 Platform Guide](./nxp_rt1170_guide.md)
18-
- [NXP - Android Commissioning](./nxp_k32w_android_commissioning.md)
19-
- [NXP - K32W0 OTA Software Update Guide](./nxp_k32w0_ota_guide.md)
20-
- [NXP - K32W1/MCXW71 OTA Software Update Guide](./nxp_mcxw71_ota_guide.md)
18+
- [NXP - MCXW71 OTA Software Update Guide](./nxp_mcxw71_ota_guide.md)
2119
- [NXP - RTs OTA Software Update Guide](./nxp_RTs_ota_software_update.md)
2220
- [NXP - Manufacturing Data](./nxp_manufacturing_flow.md)
2321

0 commit comments

Comments
 (0)