[NXP][zephyr] Migrate to NXP Zephyr 3.7 downstream release (#35600)

* [NXP][zephyr] Migrate to NXP Zephyr 3.7 downstream release

- Kconfig/CMake updates for 3.7
- Optimize some stack sizes to reduce RAM footprint
- Optimize net configuration to reduce ram footprint
- Doc update
- Remove overlays from platform folders
- Workflows docker image updated to latest (depends on [NXP] Migrate docker image to NXP Zephyr 3.7 downstream release #35599)
- Fixed NXP Zephyr examples build with VS Code image

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>

* Restyled by prettier-markdown

* [NXP] Add 'zsdk' to wordlist for spellchecker

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>

* [Crypto] Fix build warning/error related to unused function

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>

* [NXP] Unset ZEPHYR_TOOLCHAIN_VARIANT using the shell commands

To be able to track shell commands needed to build an example with
`--dry-run`, any environment manipulation shall be done with shell
commands and not using Python specific commands.

---------

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
Co-authored-by: Restyled.io <commits@restyled.io>
diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt
index 31955b6..d0d8c0d 100644
--- a/.github/.wordlist.txt
+++ b/.github/.wordlist.txt
@@ -1627,3 +1627,4 @@
 Zigbee
 zigbeealliance
 zigbeethread
+zsdk
diff --git a/.github/workflows/bloat_check.yaml b/.github/workflows/bloat_check.yaml
index dc9eaa4..b9e1b7b 100644
--- a/.github/workflows/bloat_check.yaml
+++ b/.github/workflows/bloat_check.yaml
@@ -34,7 +34,7 @@
         runs-on: ubuntu-latest
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
 
         steps:
             - name: Checkout
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 0617b05..e7e5073 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -42,7 +42,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             volumes:
                 - "/:/runner-root-volume"
                 - "/tmp/log_output:/tmp/test_logs"
@@ -138,7 +138,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             volumes:
                 - "/:/runner-root-volume"
                 - "/tmp/log_output:/tmp/test_logs"
@@ -283,7 +283,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             volumes:
                 - "/:/runner-root-volume"
                 - "/tmp/log_output:/tmp/test_logs"
@@ -346,7 +346,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             volumes:
                 - "/:/runner-root-volume"
                 - "/tmp/log_output:/tmp/test_logs"
@@ -457,7 +457,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             volumes:
                 - "/:/runner-root-volume"
                 - "/tmp/log_output:/tmp/test_logs"
diff --git a/.github/workflows/chef.yaml b/.github/workflows/chef.yaml
index 07f4cac..a3af1d8 100644
--- a/.github/workflows/chef.yaml
+++ b/.github/workflows/chef.yaml
@@ -27,7 +27,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     chef_linux:
         name: Chef - Linux CI Examples
@@ -35,7 +35,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             options: --user root
 
         steps:
@@ -56,7 +56,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-esp32:76
+            image: ghcr.io/project-chip/chip-build-esp32:77
             options: --user root
 
         steps:
@@ -77,7 +77,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-nrf-platform:76
+            image: ghcr.io/project-chip/chip-build-nrf-platform:77
             options: --user root
 
         steps:
@@ -98,7 +98,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-telink:76
+            image: ghcr.io/project-chip/chip-build-telink:77
             options: --user root
 
         steps:
diff --git a/.github/workflows/doxygen.yaml b/.github/workflows/doxygen.yaml
index 40bf2b9..f486995 100644
--- a/.github/workflows/doxygen.yaml
+++ b/.github/workflows/doxygen.yaml
@@ -81,7 +81,7 @@
 
         runs-on: ubuntu-latest
         container:
-            image: ghcr.io/project-chip/chip-build-doxygen:76
+            image: ghcr.io/project-chip/chip-build-doxygen:77
 
         if: github.actor != 'restyled-io[bot]'
 
diff --git a/.github/workflows/examples-ameba.yaml b/.github/workflows/examples-ameba.yaml
index b18f44e..ef27d22 100644
--- a/.github/workflows/examples-ameba.yaml
+++ b/.github/workflows/examples-ameba.yaml
@@ -27,7 +27,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     ameba:
         name: Ameba
@@ -38,7 +38,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-ameba:76
+            image: ghcr.io/project-chip/chip-build-ameba:77
             options: --user root
 
         steps:
diff --git a/.github/workflows/examples-asr.yaml b/.github/workflows/examples-asr.yaml
index 46881ea..d61af7e 100644
--- a/.github/workflows/examples-asr.yaml
+++ b/.github/workflows/examples-asr.yaml
@@ -27,7 +27,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     asr:
         name: ASR
@@ -36,7 +36,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-asr:76
+            image: ghcr.io/project-chip/chip-build-asr:77
             options: --user root
 
         steps:
diff --git a/.github/workflows/examples-bouffalolab.yaml b/.github/workflows/examples-bouffalolab.yaml
index d3191c5..01935de 100644
--- a/.github/workflows/examples-bouffalolab.yaml
+++ b/.github/workflows/examples-bouffalolab.yaml
@@ -37,7 +37,7 @@
     if: github.actor != 'restyled-io[bot]'
 
     container:
-      image: ghcr.io/project-chip/chip-build-bouffalolab:76
+      image: ghcr.io/project-chip/chip-build-bouffalolab:77
       volumes:
         - "/tmp/bloat_reports:/tmp/bloat_reports"
     steps:
diff --git a/.github/workflows/examples-cc13xx_26xx.yaml b/.github/workflows/examples-cc13xx_26xx.yaml
index 22a1d72..6a9d5f0 100644
--- a/.github/workflows/examples-cc13xx_26xx.yaml
+++ b/.github/workflows/examples-cc13xx_26xx.yaml
@@ -45,7 +45,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-ti:76
+            image: ghcr.io/project-chip/chip-build-ti:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
         steps:
diff --git a/.github/workflows/examples-cc32xx.yaml b/.github/workflows/examples-cc32xx.yaml
index c07313f..114bbf2 100644
--- a/.github/workflows/examples-cc32xx.yaml
+++ b/.github/workflows/examples-cc32xx.yaml
@@ -31,7 +31,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     cc32xx:
         name: cc32xx
@@ -43,7 +43,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-ti:76
+            image: ghcr.io/project-chip/chip-build-ti:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
         steps:
diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml
index 66b6294..2386585 100644
--- a/.github/workflows/examples-efr32.yaml
+++ b/.github/workflows/examples-efr32.yaml
@@ -40,7 +40,7 @@
     if: github.actor != 'restyled-io[bot]'
 
     container:
-      image: ghcr.io/project-chip/chip-build-efr32:76
+      image: ghcr.io/project-chip/chip-build-efr32:77
       volumes:
         - "/tmp/bloat_reports:/tmp/bloat_reports"
     steps:
diff --git a/.github/workflows/examples-esp32.yaml b/.github/workflows/examples-esp32.yaml
index 168b84d..43cd5de 100644
--- a/.github/workflows/examples-esp32.yaml
+++ b/.github/workflows/examples-esp32.yaml
@@ -27,7 +27,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     esp32:
         name: ESP32
@@ -36,7 +36,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-esp32:76
+            image: ghcr.io/project-chip/chip-build-esp32:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
 
@@ -91,7 +91,7 @@
               run: |
                   rm -rf ./zzz_pregenerated
                   mv scripts/codegen.py.renamed scripts/codegen.py
-                  mv scripts/tools/zap/generate.py.renamed scripts/tools/zap/generate.py 
+                  mv scripts/tools/zap/generate.py.renamed scripts/tools/zap/generate.py
             - name: Build example All Clusters App(Target:ESP32C3)
               run: scripts/examples/esp_example.sh all-clusters-app sdkconfig.defaults.esp32c3 esp32c3
             - name: Copy aside build products
@@ -126,7 +126,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-esp32:76
+            image: ghcr.io/project-chip/chip-build-esp32:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
 
diff --git a/.github/workflows/examples-infineon.yaml b/.github/workflows/examples-infineon.yaml
index f4547d8..799b8f6 100644
--- a/.github/workflows/examples-infineon.yaml
+++ b/.github/workflows/examples-infineon.yaml
@@ -28,7 +28,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     infineon:
         name: Infineon examples building
@@ -37,7 +37,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-infineon:76
+            image: ghcr.io/project-chip/chip-build-infineon:77
             env:
                # TODO: this should probably be part of the dockerfile itself
                CY_TOOLS_PATHS: /opt/Tools/ModusToolbox/tools_3.2
diff --git a/.github/workflows/examples-linux-arm.yaml b/.github/workflows/examples-linux-arm.yaml
index 8ea6b40..338fe3d 100644
--- a/.github/workflows/examples-linux-arm.yaml
+++ b/.github/workflows/examples-linux-arm.yaml
@@ -27,7 +27,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     arm_crosscompile:
         name: Linux ARM Cross compile
@@ -36,7 +36,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-crosscompile:76
+            image: ghcr.io/project-chip/chip-build-crosscompile:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
 
diff --git a/.github/workflows/examples-linux-imx.yaml b/.github/workflows/examples-linux-imx.yaml
index d122485..dce4690 100644
--- a/.github/workflows/examples-linux-imx.yaml
+++ b/.github/workflows/examples-linux-imx.yaml
@@ -27,7 +27,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     imx:
         name: Linux i.MX Build
@@ -36,7 +36,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-imx:76
+            image: ghcr.io/project-chip/chip-build-imx:77
 
         steps:
             - name: Checkout
diff --git a/.github/workflows/examples-linux-standalone.yaml b/.github/workflows/examples-linux-standalone.yaml
index a3ca553..0eff5db 100644
--- a/.github/workflows/examples-linux-standalone.yaml
+++ b/.github/workflows/examples-linux-standalone.yaml
@@ -27,7 +27,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     linux_standalone:
         name: Linux Standalone
@@ -36,7 +36,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
 
diff --git a/.github/workflows/examples-linux-tv-casting-app.yaml b/.github/workflows/examples-linux-tv-casting-app.yaml
index 3159685..f3ef14b 100644
--- a/.github/workflows/examples-linux-tv-casting-app.yaml
+++ b/.github/workflows/examples-linux-tv-casting-app.yaml
@@ -36,7 +36,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
 
         steps:
             - name: Checkout
diff --git a/.github/workflows/examples-mw320.yaml b/.github/workflows/examples-mw320.yaml
index 212bebf..bc2035c 100644
--- a/.github/workflows/examples-mw320.yaml
+++ b/.github/workflows/examples-mw320.yaml
@@ -27,7 +27,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     mw320:
         name: MW320
@@ -39,7 +39,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
         steps:
diff --git a/.github/workflows/examples-nrfconnect.yaml b/.github/workflows/examples-nrfconnect.yaml
index c9b16f3..48a94ee 100644
--- a/.github/workflows/examples-nrfconnect.yaml
+++ b/.github/workflows/examples-nrfconnect.yaml
@@ -39,7 +39,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-nrf-platform:76
+            image: ghcr.io/project-chip/chip-build-nrf-platform:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
 
diff --git a/.github/workflows/examples-nuttx.yaml b/.github/workflows/examples-nuttx.yaml
index 2de7f00..6be7cfb 100644
--- a/.github/workflows/examples-nuttx.yaml
+++ b/.github/workflows/examples-nuttx.yaml
@@ -35,7 +35,7 @@
     if: github.actor != 'restyled-io[bot]'
 
     container:
-      image: ghcr.io/project-chip/chip-build-nuttx:76
+      image: ghcr.io/project-chip/chip-build-nuttx:77
       volumes:
         - "/tmp/bloat_reports:/tmp/bloat_reports"
     steps:
diff --git a/.github/workflows/examples-nxp.yaml b/.github/workflows/examples-nxp.yaml
index 61291fc..6fc6970 100644
--- a/.github/workflows/examples-nxp.yaml
+++ b/.github/workflows/examples-nxp.yaml
@@ -27,7 +27,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     k32w0:
         name: K32W0
@@ -39,7 +39,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-k32w:76
+            image: ghcr.io/project-chip/chip-build-k32w:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
         steps:
@@ -218,7 +218,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-nxp:76
+            image: ghcr.io/project-chip/chip-build-nxp:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
         steps:
@@ -246,7 +246,7 @@
                       build \
                       --copy-artifacts-to out/artifacts \
                   "
-            
+
             - name: Build RW61X thermostat example app
               run: |
                   scripts/run_in_build_env.sh "\
@@ -257,7 +257,7 @@
                       build \
                       --copy-artifacts-to out/artifacts \
                   "
-            
+
             - name: Build RW61X laundry-washer example app
               run: |
                   scripts/run_in_build_env.sh "\
@@ -280,7 +280,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-nxp-zephyr:76
+            image: ghcr.io/project-chip/chip-build-nxp-zephyr:77
 
         steps:
             - name: Checkout
diff --git a/.github/workflows/examples-openiotsdk.yaml b/.github/workflows/examples-openiotsdk.yaml
index c1bf858..bd95868 100644
--- a/.github/workflows/examples-openiotsdk.yaml
+++ b/.github/workflows/examples-openiotsdk.yaml
@@ -40,7 +40,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-openiotsdk:76
+            image: ghcr.io/project-chip/chip-build-openiotsdk:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
             options: --privileged
diff --git a/.github/workflows/examples-qpg.yaml b/.github/workflows/examples-qpg.yaml
index bd0ef01..8b85f35 100644
--- a/.github/workflows/examples-qpg.yaml
+++ b/.github/workflows/examples-qpg.yaml
@@ -27,7 +27,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     qpg:
         name: QPG
@@ -39,7 +39,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
         steps:
diff --git a/.github/workflows/examples-stm32.yaml b/.github/workflows/examples-stm32.yaml
index 291b926..f018e32 100644
--- a/.github/workflows/examples-stm32.yaml
+++ b/.github/workflows/examples-stm32.yaml
@@ -40,7 +40,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
         steps:
diff --git a/.github/workflows/examples-telink.yaml b/.github/workflows/examples-telink.yaml
index f67da72..bcab5a1 100644
--- a/.github/workflows/examples-telink.yaml
+++ b/.github/workflows/examples-telink.yaml
@@ -27,7 +27,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     telink:
         name: Telink
@@ -38,7 +38,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-telink:76
+            image: ghcr.io/project-chip/chip-build-telink:77
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
 
diff --git a/.github/workflows/examples-tizen.yaml b/.github/workflows/examples-tizen.yaml
index abec382..3f4c68f 100644
--- a/.github/workflows/examples-tizen.yaml
+++ b/.github/workflows/examples-tizen.yaml
@@ -36,7 +36,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-tizen:76
+            image: ghcr.io/project-chip/chip-build-tizen:77
             options: --user root
             volumes:
                 - "/tmp/bloat_reports:/tmp/bloat_reports"
diff --git a/.github/workflows/full-android.yaml b/.github/workflows/full-android.yaml
index 2982276..ccaf534 100644
--- a/.github/workflows/full-android.yaml
+++ b/.github/workflows/full-android.yaml
@@ -26,7 +26,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     full_android:
         name: Run
@@ -38,7 +38,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-android:76
+            image: ghcr.io/project-chip/chip-build-android:77
             volumes:
                 - "/tmp/log_output:/tmp/test_logs"
 
diff --git a/.github/workflows/fuzzing-build.yaml b/.github/workflows/fuzzing-build.yaml
index 19e0bcd..c70d750 100644
--- a/.github/workflows/fuzzing-build.yaml
+++ b/.github/workflows/fuzzing-build.yaml
@@ -24,7 +24,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     build_linux_fuzzing:
         name: Build on Linux
@@ -33,7 +33,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             volumes:
                 - "/tmp/log_output:/tmp/test_logs"
 
diff --git a/.github/workflows/java-tests.yaml b/.github/workflows/java-tests.yaml
index f585829..5dd6370 100644
--- a/.github/workflows/java-tests.yaml
+++ b/.github/workflows/java-tests.yaml
@@ -30,7 +30,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     java_tests_linux:
         name: Linux
@@ -42,7 +42,7 @@
         runs-on: ubuntu-latest
 
         container:
-            image: ghcr.io/project-chip/chip-build-java:76
+            image: ghcr.io/project-chip/chip-build-java:77
             options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
                 net.ipv4.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0"
 
@@ -101,7 +101,7 @@
                    "./scripts/build/build_examples.py \
                       --target linux-x64-kotlin-matter-controller \
                       build \
-                   "                   
+                   "
             - name: Run Discover Commissionables Test
               run: |
                   scripts/run_in_python_env.sh out/venv \
@@ -134,7 +134,7 @@
                      --tool-cluster "im" \
                      --tool-args "onnetwork-long-im-invoke --nodeid 1 --setup-pin-code 20202021 --discriminator 3840 -t 1000" \
                      --factoryreset \
-                  '                    
+                  '
             - name: Run IM Extendable Invoke Test
               run: |
                   scripts/run_in_python_env.sh out/venv \
@@ -245,7 +245,7 @@
                      --tool-cluster "pairing" \
                      --tool-args "onnetwork-long --nodeid 1 --setup-pin-code 20202021 --discriminator 3840 -t 1000" \
                      --factoryreset \
-                  '                  
+                  '
             - name: Run Kotlin IM Invoke Test
               run: |
                   scripts/run_in_python_env.sh out/venv \
@@ -289,7 +289,7 @@
                      --tool-cluster "im" \
                      --tool-args "onnetwork-long-im-subscribe --nodeid 1 --setup-pin-code 20202021 --discriminator 3840 -t 3000" \
                      --factoryreset \
-                  '                                                  
+                  '
             - name: Uploading core files
               uses: actions/upload-artifact@v4
               if: ${{ failure() && !env.ACT }}
diff --git a/.github/workflows/minimal-build.yaml b/.github/workflows/minimal-build.yaml
index a3cdc69..4866f9e 100644
--- a/.github/workflows/minimal-build.yaml
+++ b/.github/workflows/minimal-build.yaml
@@ -33,7 +33,7 @@
         runs-on: ubuntu-latest
 
         container:
-            image: ghcr.io/project-chip/chip-build-minimal:76
+            image: ghcr.io/project-chip/chip-build-minimal:77
 
         steps:
             - name: Checkout
@@ -55,7 +55,7 @@
         runs-on: ubuntu-latest
 
         container:
-            image: ghcr.io/project-chip/chip-build-minimal:76
+            image: ghcr.io/project-chip/chip-build-minimal:77
 
         steps:
             - name: Checkout
diff --git a/.github/workflows/qemu.yaml b/.github/workflows/qemu.yaml
index 8e1ab28..bff7dcf 100644
--- a/.github/workflows/qemu.yaml
+++ b/.github/workflows/qemu.yaml
@@ -40,7 +40,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-esp32-qemu:76
+            image: ghcr.io/project-chip/chip-build-esp32-qemu:77
             volumes:
                 - "/tmp/log_output:/tmp/test_logs"
 
diff --git a/.github/workflows/release_artifacts.yaml b/.github/workflows/release_artifacts.yaml
index e4fc02b..70d63c0 100644
--- a/.github/workflows/release_artifacts.yaml
+++ b/.github/workflows/release_artifacts.yaml
@@ -32,7 +32,7 @@
         runs-on: ubuntu-latest
 
         container:
-            image: ghcr.io/project-chip/chip-build-esp32:76
+            image: ghcr.io/project-chip/chip-build-esp32:77
 
         steps:
             - name: Checkout
@@ -64,7 +64,7 @@
         runs-on: ubuntu-latest
 
         container:
-            image: ghcr.io/project-chip/chip-build-efr32:76
+            image: ghcr.io/project-chip/chip-build-efr32:77
         steps:
             - name: Checkout
               uses: actions/checkout@v4
diff --git a/.github/workflows/smoketest-android.yaml b/.github/workflows/smoketest-android.yaml
index bac25a0..46a83a8 100644
--- a/.github/workflows/smoketest-android.yaml
+++ b/.github/workflows/smoketest-android.yaml
@@ -25,7 +25,7 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     android:
         name: Smoke Run - Android
@@ -37,7 +37,7 @@
         if: github.actor != 'restyled-io[bot]'
 
         container:
-            image: ghcr.io/project-chip/chip-build-android:76
+            image: ghcr.io/project-chip/chip-build-android:77
             volumes:
                 - "/:/runner-root-volume"
                 - "/tmp/log_output:/tmp/test_logs"
@@ -73,7 +73,7 @@
                   ./scripts/run_in_build_env.sh \
                     "./scripts/build/build_examples.py --target android-arm64-tv-casting-app build"
             - name: Clean out build output
-              run: rm -rf ./out examples/tv-casting-app/android/App/app/libs/jniLibs/* examples/tv-casting-app/android/App/app/libs/*.jar                   
+              run: rm -rf ./out examples/tv-casting-app/android/App/app/libs/jniLibs/* examples/tv-casting-app/android/App/app/libs/*.jar
             - name: Build Android arm64-tv-server
               run: |
                   ./scripts/run_in_build_env.sh \
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 65ba9ac..a9620b6 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -49,7 +49,7 @@
         runs-on: ubuntu-latest
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
                 net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1"
 
@@ -455,7 +455,7 @@
         runs-on: ubuntu-latest
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
                 net.ipv4.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0"
 
diff --git a/.github/workflows/unit_integration_test.yaml b/.github/workflows/unit_integration_test.yaml
index db6e8e1..7816c74 100644
--- a/.github/workflows/unit_integration_test.yaml
+++ b/.github/workflows/unit_integration_test.yaml
@@ -39,7 +39,7 @@
         runs-on: ubuntu-latest
 
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
             volumes:
                 - "/:/runner-root-volume"
                 - "/tmp/log_output:/tmp/test_logs"
diff --git a/.github/workflows/zap_regeneration.yaml b/.github/workflows/zap_regeneration.yaml
index 4a86caf..e8213e0 100644
--- a/.github/workflows/zap_regeneration.yaml
+++ b/.github/workflows/zap_regeneration.yaml
@@ -23,14 +23,14 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     zap_regeneration:
         name: ZAP Regeneration
 
         runs-on: ubuntu-20.04
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
         defaults:
             run:
                 shell: sh
diff --git a/.github/workflows/zap_templates.yaml b/.github/workflows/zap_templates.yaml
index 3eb7a5c..85b7ffa 100644
--- a/.github/workflows/zap_templates.yaml
+++ b/.github/workflows/zap_templates.yaml
@@ -27,14 +27,14 @@
 
 env:
     CHIP_NO_LOG_TIMESTAMPS: true
-    
+
 jobs:
     zap_templates:
         name: ZAP templates generation
 
         runs-on: ubuntu-20.04
         container:
-            image: ghcr.io/project-chip/chip-build:76
+            image: ghcr.io/project-chip/chip-build:77
         defaults:
             run:
                 shell: sh
diff --git a/config/nxp/app/enable-gnu-std.cmake b/config/nxp/app/enable-gnu-std.cmake
index a5a5c6c..7e3cfa7 100644
--- a/config/nxp/app/enable-gnu-std.cmake
+++ b/config/nxp/app/enable-gnu-std.cmake
@@ -1,22 +1,22 @@
 #
-#   Copyright (c) 2024 Project CHIP Authors
+# Copyright (c) 2024 Project CHIP Authors
 #
-#   Licensed under the Apache License, Version 2.0 (the "License");
-#   you may not use this file except in compliance with the License.
-#   You may obtain a copy of the License at
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
 #
-#       http://www.apache.org/licenses/LICENSE-2.0
+# http://www.apache.org/licenses/LICENSE-2.0
 #
-#   Unless required by applicable law or agreed to in writing, software
-#   distributed under the License is distributed on an "AS IS" BASIS,
-#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#   See the License for the specific language governing permissions and
-#   limitations under the License.
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 #
 
 add_library(gnu17 INTERFACE)
 target_compile_options(gnu17
-    INTERFACE
-        $<$<COMPILE_LANGUAGE:CXX>:-std=gnu++17>
-        -D_SYS__PTHREADTYPES_H_)
+	INTERFACE
+	$<$<COMPILE_LANGUAGE:CXX>:-std=gnu++17>
+	-Wno-stringop-truncation)
 target_link_libraries(app PRIVATE gnu17)
diff --git a/config/nxp/app/pre-zephyr.cmake b/config/nxp/app/pre-zephyr.cmake
index 9dd1b2a..d71c474 100644
--- a/config/nxp/app/pre-zephyr.cmake
+++ b/config/nxp/app/pre-zephyr.cmake
@@ -13,9 +13,3 @@
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
 #
-
-# Automatically find overlays defined at platform level
-# Those are usually used to change FLASH and RAM layouts
-if (EXISTS ${CHIP_ROOT}/src/platform/nxp/zephyr/boards/${BOARD}/${BOARD}.overlay)
-	list(APPEND EXTRA_DTC_OVERLAY_FILE ${CHIP_ROOT}/src/platform/nxp/zephyr/boards/${BOARD}/${BOARD}.overlay)
-endif()
diff --git a/config/nxp/chip-module/CMakeLists.txt b/config/nxp/chip-module/CMakeLists.txt
index f5cb1bf..557cb6f 100644
--- a/config/nxp/chip-module/CMakeLists.txt
+++ b/config/nxp/chip-module/CMakeLists.txt
@@ -182,14 +182,7 @@
 # ==============================================================================
 # Define 'chip-ota-image' target for building CHIP OTA image
 # ==============================================================================
-if(EXISTS "${CHIP_ROOT}/src/platform/nxp/zephyr/boards/${BOARD}/${BOARD}.overlay")
-  set(DTC_BOARD_OVERLAY "${CHIP_ROOT}/src/platform/nxp/zephyr/boards/${BOARD}/${BOARD}.overlay")
-else()
-  set(DTC_BOARD_OVERLAY "")
-  message(STATUS "No board overlay found")
-endif()
-
-if (CONFIG_CHIP_OTA_REQUESTOR)
+if(CONFIG_CHIP_OTA_REQUESTOR)
     if(CONFIG_MCUBOOT_SIGNATURE_KEY_FILE STREQUAL "")
         set(ZEPHYR_OUTPUT_NAME "zephyr")
     else()
@@ -201,7 +194,8 @@
     add_custom_target(build_mcuboot ALL
         COMMAND
         west build -b ${BOARD} -d build_mcuboot ${ZEPHYR_BASE}/../bootloader/mcuboot/boot/zephyr
-            -- -DOVERLAY_CONFIG=${GLOBAL_BOOTLOADER_CONF_OVERLAY_FILE} -DEXTRA_DTC_OVERLAY_FILE=${DTC_BOARD_OVERLAY}
+            -- -DOVERLAY_CONFIG=${GLOBAL_BOOTLOADER_CONF_OVERLAY_FILE}
+            -DEXTRA_DTC_OVERLAY_FILE="${DTC_OVERLAY_FILE};${EXTRA_DTC_OVERLAY_FILE}"
         COMMAND
         cp ${PROJECT_BINARY_DIR}/../modules/connectedhomeip/build_mcuboot/zephyr/zephyr.bin ${PROJECT_BINARY_DIR}/zephyr.mcuboot.bin
     )
diff --git a/config/nxp/chip-module/Kconfig.defaults b/config/nxp/chip-module/Kconfig.defaults
index 36a9934..ba9fe9b 100644
--- a/config/nxp/chip-module/Kconfig.defaults
+++ b/config/nxp/chip-module/Kconfig.defaults
@@ -91,13 +91,13 @@
 
 # Application stack size
 config MAIN_STACK_SIZE
-	default 8192
+	default 3072
 
 config INIT_STACKS
 	default y
 
 config NET_MGMT_EVENT_STACK_SIZE
-	default 2048
+	default 1024
 
 config NET_MGMT_EVENT_QUEUE_SIZE
 	default 20
@@ -136,21 +136,27 @@
 config NET_TC_RX_THREAD_BASE_PRIO
 	default 3
 
+config NET_TC_SKIP_FOR_HIGH_PRIO
+	default y
+
+config NET_CONTEXT_PRIORITY
+	default y
+
 # Network buffers
 config NET_PKT_RX_COUNT
-	default 60
+	default 14
 
 config NET_PKT_TX_COUNT
-	default 40
+	default 14
 
 config NET_BUF_RX_COUNT
-	default 60
+	default 36
 
 config NET_BUF_TX_COUNT
-	default 80
+	default 36
 
 config NET_BUF_DATA_SIZE
-	default 1744
+	default 256
 
 # Bluetooth Low Energy configs
 
@@ -205,7 +211,10 @@
 
 config BT_RX_STACK_SIZE
 	default 2048 if NO_OPTIMIZATIONS && DEBUG
-	default 1600
+	default 1700
+
+config BT_LONG_WQ_STACK_SIZE
+	default 1024
 
 config BT_DEVICE_NAME_GATT_WRITABLE
 	bool
@@ -232,6 +241,13 @@
 
 if CHIP_WIFI
 
+choice NXP_WIFI_PART
+	default NXP_RW610 if SOC_SERIES_RW6XX
+endchoice
+
+config ZVFS_OPEN_MAX
+	default 30
+
 choice SCHED_ALGORITHM
 	default SCHED_MULTIQ
 endchoice
@@ -240,12 +256,22 @@
 	default NEWLIB_LIBC
 endchoice
 
-choice WPA_SUPP_LOG_LEVEL_CHOICE
-	default WPA_SUPP_LOG_LEVEL_ERR
+choice WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_CHOICE
+	default WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_INF
 endchoice
 
-config WPA_SUPP_THREAD_STACK_SIZE
-	default 12288
+choice WIFI_NM_WPA_SUPPLICANT_CRYPTO_BACKEND
+	default WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT
+endchoice
+
+config WIFI_NM_WPA_SUPPLICANT_THREAD_STACK_SIZE
+	default 6144
+
+config WIFI_NM_WPA_SUPPLICANT_WQ_STACK_SIZE
+	default 5120
+
+config WIFI_NM_WPA_SUPPLICANT_INF_MON
+	default n
 
 config SYSTEM_WORKQUEUE_STACK_SIZE
 	default 2048
@@ -261,7 +287,7 @@
 	default 8
 
 config NET_SOCKETS_POLL_MAX
-	default 8
+	default 14
 
 config NET_IPV4_FRAGMENT_MAX_COUNT
 	default 3
@@ -276,7 +302,7 @@
 	default 3
 
 config NET_IPV6_FRAGMENT_MAX_PKT
-	default 7
+	default 8
 
 config NET_IPV6_FRAGMENT_TIMEOUT
 	default 3
@@ -287,7 +313,7 @@
 	default 1
 
 config NET_MAX_CONN
-	default 4
+	default 10
 
 config SHELL_STACK_SIZE
 	default 2616
@@ -319,6 +345,9 @@
 config MBEDTLS_ZEPHYR_ENTROPY
 	default y
 
+config MBEDTLS_SSL_MAX_CONTENT_LEN
+	default 8192
+
 config MBEDTLS_ENABLE_HEAP
 	default y
 
@@ -343,13 +372,16 @@
 config MBEDTLS_ECP_DP_SECP256R1_ENABLED
 	default y
 
+config CHIP_CRYPTO_PSA
+	default y
+
 if CHIP_CRYPTO_PSA
 
 config MBEDTLS_PSA_CRYPTO_C
 	default y
 
-config WPA_SUPP_CRYPTO_MBEDTLS_PSA
-	default y if WPA_SUPP_CRYPTO
+config WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA
+	default y if WIFI_NM_WPA_SUPPLICANT
 
 endif
 
@@ -358,11 +390,11 @@
 
 if MCUX_ELS_PKC
 
-config KSDK_MBEDTLS
-	default n
-
 config MCUX_PSA_CRYPTO_DRIVER_ELS_PKC
-	default y if MBEDTLS_PSA_CRYPTO_C
+	default y if CHIP_CRYPTO_PSA
+
+config MCUX_PSA_CRYPTO_DRIVER_ELS_PKC_THREAD
+	default y if CHIP_CRYPTO_PSA
 
 config ENTROPY_GENERATOR
 	default y
diff --git a/config/nxp/chip-module/Kconfig.features b/config/nxp/chip-module/Kconfig.features
index d8d194c..4b38746 100644
--- a/config/nxp/chip-module/Kconfig.features
+++ b/config/nxp/chip-module/Kconfig.features
@@ -24,11 +24,16 @@
 	default y
 	select WIFI
 	select WIFI_NXP
-	select WPA_SUPP
-	select WPA_SUPP_AP
-	select WPA_SUPP_WPS
-	select WPA_SUPP_WPA3
-	select WPA_SUPP_CRYPTO_ENTERPRISE
+	select WIFI_NM_WPA_SUPPLICANT
+	select WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
+	select WIFI_NM_WPA_SUPPLICANT_DPP
+	select WIFI_NM_WPA_SUPPLICANT_EAPOL
+	select WIFI_NM_WPA_SUPPLICANT_WPS
+	select NET_L2_ETHERNET
+	select NET_IPV4
+	select NET_DHCPV4
+	select DNS_RESOLVER
+	imply THREAD_CUSTOM_DATA
 	imply MBEDTLS_ENTROPY_C
 	imply NET_STATISTICS
 	imply NET_PKT_TXTIME
diff --git a/config/zephyr/Kconfig b/config/zephyr/Kconfig
index 2a3a2d5..06b1d6f 100644
--- a/config/zephyr/Kconfig
+++ b/config/zephyr/Kconfig
@@ -22,7 +22,7 @@
 	imply REQUIRES_FULL_LIBC
 	imply NEWLIB_LIBC_NANO
 	imply CBPRINTF_LIBC_SUBSTS
-	imply POSIX_API if !ARCH_POSIX && !CHIP_NRF_PLATFORM && !CHIP_NXP_PLATFORM
+	imply POSIX_API if !ARCH_POSIX && !CHIP_NRF_PLATFORM
 	imply EVENTFD if !ARCH_POSIX
 	imply REBOOT
 	imply ENTROPY_GENERATOR
@@ -30,7 +30,7 @@
 	imply NET_IPV6
 	imply NET_CONFIG_NEED_IPV6
 	imply NET_SOCKETS
-	imply NET_SOCKETS_POSIX_NAMES if !ARCH_POSIX && (CHIP_NRF_PLATFORM || CHIP_NXP_PLATFORM)
+	imply NET_SOCKETS_POSIX_NAMES if !ARCH_POSIX && CHIP_NRF_PLATFORM
 	imply NETWORKING
 	imply HWINFO
 	imply FLASH
diff --git a/docs/guides/nxp/nxp_zephyr_ota_software_update.md b/docs/guides/nxp/nxp_zephyr_ota_software_update.md
index 805afb7..9ae97d2 100644
--- a/docs/guides/nxp/nxp_zephyr_ota_software_update.md
+++ b/docs/guides/nxp/nxp_zephyr_ota_software_update.md
@@ -33,7 +33,7 @@
     (candidate application).
 
 The size reserved for each partition can be found in
-`src/platform/nxp/zephyr/boards/board.overlay`.
+`<example folder>/boards/<board>.overlay`.
 
 Notes :
 
@@ -41,8 +41,7 @@
     binary, ensuring compatibility between the application and the controllers.
 -   The sizes of the primary and secondary applications are provided as an
     example. The size can be changed by overriding the partitions located at
-    `board.overlay`.(example:
-    `src/platform/nxp/zephyr/boards/rd_rw612_bga.overlay`)
+    `<board>.overlay`.
 
 ### MCUBoot Bootloader
 
diff --git a/examples/all-clusters-app/nxp/zephyr/README.md b/examples/all-clusters-app/nxp/zephyr/README.md
index 45f71ee..54a06c6 100644
--- a/examples/all-clusters-app/nxp/zephyr/README.md
+++ b/examples/all-clusters-app/nxp/zephyr/README.md
@@ -31,7 +31,9 @@
 
 The example supports:
 
--   Matter over Wi-Fi
+-   Matter over Wi-Fi with BLE commissioning
+-   Matter OTA requestor
+-   Matter Factory Data
 
 The supported boards are:
 
@@ -49,18 +51,21 @@
 -   Follow instruction from [BUILDING.md](../../../../docs/guides/BUILDING.md)
     to setup the Matter environment
 -   Follow instruction from
-    [Getting Started Guide](https://docs.zephyrproject.org/latest/develop/getting_started/index.html)
+    [Getting Started Guide](https://docs.zephyrproject.org/3.7.0/develop/getting_started/index.html)
     to setup a Zephyr workspace, however, the west init command to use is as
     follows:
 
 ```shell
-$ west init zephyrproject -m https://github.com/nxp-zephyr-ear/zephyr.git --mr zephyr_rw61x_v3.6_RFP
+$ west init zephyrproject -m https://github.com/nxp-zephyr/nxp-zsdk.git --mr nxp-v3.7.0
 ```
 
-> **Note**: Currently, supported NXP platforms in Zephyr targeting Matter are
-> not available in the official Zephyr repo, you'll have to use the NXP fork
-> `https://github.com/nxp-zephyr-ear/zephyr` github repo. Reach to your NXP
-> contact for more details.
+> **Note**: While some of NXP platforms are supported in Zephyr upstream, we
+> recommend using nxp-zsdk downstream to get access to all NXP features that are
+> not upstream yet. While you can decide to use nxp-zsdk top of tree, we
+> recommend using a proper release tag delivered by NXP. This will ensure a
+> certain level of quality of the nxp-zsdk in use. Currently, we highly
+> recommend using the `nxp-v3.7.0` tag, based on Zephyr 3.7 LTS release. Reach
+> to your NXP contact for more details.
 
 Steps to build the example, targeting `rd_rw612_bga` board:
 
@@ -79,15 +84,17 @@
 3. Run west build command:
 
 ```shell
-west build -b rd_rw612_bga -p  <path to example folder>
+west build -b rd_rw612_bga -p auto -d build_zephyr <path to example folder>
 ```
 
-By default, a folder `build` will be created in the same folder you run the
-command from. The binaries will be created in `build/zephyr` with the name
-`zephyr.elf` and `zephyr.bin`.
+A folder `build_zephyr` will be created in the same folder you run the command
+from. The binaries will be created in `build_zephyr/zephyr` with the name
+`zephyr.elf` and `zephyr.bin`. We recommend using the `-d build_zephyr` if you
+are building from Matter repo root folder as a build folder already exists and
+is tracked by git.
 
 You can get more details on `west build` with
-[Zephyr's building guide](https://docs.zephyrproject.org/latest/develop/west/build-flash-debug.html#building-west-build)
+[Zephyr's building guide](https://docs.zephyrproject.org/3.7.0/develop/west/build-flash-debug.html#building-west-build)
 
 <a name="flashing-and-debugging"></a>
 
@@ -102,7 +109,7 @@
 ```
 
 You can get more details on `west flash` with
-[Zephyr's flashing guide](https://docs.zephyrproject.org/latest/develop/west/build-flash-debug.html#flashing-west-flash)
+[Zephyr's flashing guide](https://docs.zephyrproject.org/3.7.0/develop/west/build-flash-debug.html#flashing-west-flash)
 
 > **Note**: `west flash` will not start a debug session, it will only flash and
 > reset the device
@@ -113,7 +120,7 @@
 
 -   [MCUXpresso IDE (version >= 11.6.0)](https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE)
 -   `west debug`
-    [Zephyr's debugging guide](https://docs.zephyrproject.org/latest/develop/west/build-flash-debug.html#id29)
+    [Zephyr's debugging guide](https://docs.zephyrproject.org/3.7.0/develop/west/build-flash-debug.html#id29)
 
 > **Note**: As the build provides an elf file, any compatible debugging tool can
 > be used.
diff --git a/examples/all-clusters-app/nxp/zephyr/boards/rd_rw612_bga.overlay b/examples/all-clusters-app/nxp/zephyr/boards/rd_rw612_bga.overlay
index 86bb207..41ba4fc 100644
--- a/examples/all-clusters-app/nxp/zephyr/boards/rd_rw612_bga.overlay
+++ b/examples/all-clusters-app/nxp/zephyr/boards/rd_rw612_bga.overlay
@@ -37,3 +37,55 @@
 	pinctrl-0 = <&pinmux_flexcomm3_usart>;
 	pinctrl-names = "default";
 };
+
+&sram {
+	#address-cells = <1>;
+	#size-cells = <1>;
+
+	sram_data: memory@40000 {
+		compatible = "mmio-sram";
+		reg = <0x40000 DT_SIZE_K(1216)>;
+	};
+};
+
+/delete-node/ &boot_partition;
+/delete-node/ &slot0_partition;
+/delete-node/ &slot1_partition;
+/delete-node/ &fw_storage;
+/delete-node/ &storage_partition;
+
+&flexspi {
+	status = "okay";
+
+	mx25u51245g: mx25u51245g@0 {
+		status = "okay";
+
+		partitions {
+			boot_partition: partition@0 {
+				label = "mcuboot";
+				reg = <0x00000000 DT_SIZE_K(128)>;
+			};
+
+			slot0_partition: partition@20000 {
+				label = "image-0";
+				reg = <0x00020000 0x440000>;
+			};
+
+			slot1_partition: partition@460000 {
+				label = "image-1";
+				reg = <0x00460000 0x440000>;
+			};
+
+			storage_partition: partition@3FEF000 {
+				label = "storage";
+				reg = <0x03FEF000 DT_SIZE_K(64)>;
+			};
+
+			factory_partition: partition@3FFF000 {
+				label = "factory-data";
+				reg = <0x03FFF000 DT_SIZE_K(4)>;
+			};
+
+		};
+	};
+};
diff --git a/examples/all-clusters-app/nxp/zephyr/prj.conf b/examples/all-clusters-app/nxp/zephyr/prj.conf
index 936bc59..375c50c 100644
--- a/examples/all-clusters-app/nxp/zephyr/prj.conf
+++ b/examples/all-clusters-app/nxp/zephyr/prj.conf
@@ -43,7 +43,6 @@
 CONFIG_DEBUG_THREAD_INFO=y
 # use this config if stepping during debug session is not consistent
 # CONFIG_NO_OPTIMIZATIONS=y
-CONFIG_EXCEPTION_STACK_TRACE=y
 CONFIG_ASSERT=y
 # by default west will generate the full assembly output, which can take several minutes when binaries are large
 CONFIG_OUTPUT_DISASSEMBLY=n
@@ -55,5 +54,5 @@
 # enable Matter CLI
 CONFIG_CHIP_LIB_SHELL=y
 # enable NET commands if desired
-#CONFIG_NET_SHELL=y
+# CONFIG_NET_SHELL=y
 CONFIG_CHIP_STATISTICS=y
diff --git a/examples/all-clusters-app/nxp/zephyr/prj_fdata.conf b/examples/all-clusters-app/nxp/zephyr/prj_fdata.conf
index a82618a..7094aab 100644
--- a/examples/all-clusters-app/nxp/zephyr/prj_fdata.conf
+++ b/examples/all-clusters-app/nxp/zephyr/prj_fdata.conf
@@ -70,7 +70,6 @@
 CONFIG_DEBUG_THREAD_INFO=y
 # use this config if stepping during debug session is not consistent
 # CONFIG_NO_OPTIMIZATIONS=y
-CONFIG_EXCEPTION_STACK_TRACE=y
 CONFIG_ASSERT=y
 # by default west will generate the full assembly output, which can take several minutes when binaries are large
 CONFIG_OUTPUT_DISASSEMBLY=n
diff --git a/examples/laundry-washer-app/nxp/zephyr/boards/rd_rw612_bga.overlay b/examples/laundry-washer-app/nxp/zephyr/boards/rd_rw612_bga.overlay
index 86bb207..41ba4fc 100644
--- a/examples/laundry-washer-app/nxp/zephyr/boards/rd_rw612_bga.overlay
+++ b/examples/laundry-washer-app/nxp/zephyr/boards/rd_rw612_bga.overlay
@@ -37,3 +37,55 @@
 	pinctrl-0 = <&pinmux_flexcomm3_usart>;
 	pinctrl-names = "default";
 };
+
+&sram {
+	#address-cells = <1>;
+	#size-cells = <1>;
+
+	sram_data: memory@40000 {
+		compatible = "mmio-sram";
+		reg = <0x40000 DT_SIZE_K(1216)>;
+	};
+};
+
+/delete-node/ &boot_partition;
+/delete-node/ &slot0_partition;
+/delete-node/ &slot1_partition;
+/delete-node/ &fw_storage;
+/delete-node/ &storage_partition;
+
+&flexspi {
+	status = "okay";
+
+	mx25u51245g: mx25u51245g@0 {
+		status = "okay";
+
+		partitions {
+			boot_partition: partition@0 {
+				label = "mcuboot";
+				reg = <0x00000000 DT_SIZE_K(128)>;
+			};
+
+			slot0_partition: partition@20000 {
+				label = "image-0";
+				reg = <0x00020000 0x440000>;
+			};
+
+			slot1_partition: partition@460000 {
+				label = "image-1";
+				reg = <0x00460000 0x440000>;
+			};
+
+			storage_partition: partition@3FEF000 {
+				label = "storage";
+				reg = <0x03FEF000 DT_SIZE_K(64)>;
+			};
+
+			factory_partition: partition@3FFF000 {
+				label = "factory-data";
+				reg = <0x03FFF000 DT_SIZE_K(4)>;
+			};
+
+		};
+	};
+};
diff --git a/examples/laundry-washer-app/nxp/zephyr/prj.conf b/examples/laundry-washer-app/nxp/zephyr/prj.conf
index ed59218..24890f7 100644
--- a/examples/laundry-washer-app/nxp/zephyr/prj.conf
+++ b/examples/laundry-washer-app/nxp/zephyr/prj.conf
@@ -43,7 +43,6 @@
 CONFIG_DEBUG_THREAD_INFO=y
 # use this config if stepping during debug session is not consistent
 # CONFIG_NO_OPTIMIZATIONS=y
-CONFIG_EXCEPTION_STACK_TRACE=y
 CONFIG_ASSERT=y
 # by default west will generate the full assembly output, which can take several minutes when binaries are large
 CONFIG_OUTPUT_DISASSEMBLY=n
@@ -55,5 +54,5 @@
 # enable Matter CLI
 CONFIG_CHIP_LIB_SHELL=y
 # enable NET commands if desired
-#CONFIG_NET_SHELL=y
+# CONFIG_NET_SHELL=y
 CONFIG_CHIP_STATISTICS=y
diff --git a/examples/laundry-washer-app/nxp/zephyr/prj_fdata.conf b/examples/laundry-washer-app/nxp/zephyr/prj_fdata.conf
index 986fc87..9ab620c 100644
--- a/examples/laundry-washer-app/nxp/zephyr/prj_fdata.conf
+++ b/examples/laundry-washer-app/nxp/zephyr/prj_fdata.conf
@@ -70,7 +70,6 @@
 CONFIG_DEBUG_THREAD_INFO=y
 # use this config if stepping during debug session is not consistent
 # CONFIG_NO_OPTIMIZATIONS=y
-CONFIG_EXCEPTION_STACK_TRACE=y
 CONFIG_ASSERT=y
 # by default west will generate the full assembly output, which can take several minutes when binaries are large
 CONFIG_OUTPUT_DISASSEMBLY=n
diff --git a/examples/thermostat/nxp/zephyr/boards/rd_rw612_bga.overlay b/examples/thermostat/nxp/zephyr/boards/rd_rw612_bga.overlay
index 86bb207..41ba4fc 100644
--- a/examples/thermostat/nxp/zephyr/boards/rd_rw612_bga.overlay
+++ b/examples/thermostat/nxp/zephyr/boards/rd_rw612_bga.overlay
@@ -37,3 +37,55 @@
 	pinctrl-0 = <&pinmux_flexcomm3_usart>;
 	pinctrl-names = "default";
 };
+
+&sram {
+	#address-cells = <1>;
+	#size-cells = <1>;
+
+	sram_data: memory@40000 {
+		compatible = "mmio-sram";
+		reg = <0x40000 DT_SIZE_K(1216)>;
+	};
+};
+
+/delete-node/ &boot_partition;
+/delete-node/ &slot0_partition;
+/delete-node/ &slot1_partition;
+/delete-node/ &fw_storage;
+/delete-node/ &storage_partition;
+
+&flexspi {
+	status = "okay";
+
+	mx25u51245g: mx25u51245g@0 {
+		status = "okay";
+
+		partitions {
+			boot_partition: partition@0 {
+				label = "mcuboot";
+				reg = <0x00000000 DT_SIZE_K(128)>;
+			};
+
+			slot0_partition: partition@20000 {
+				label = "image-0";
+				reg = <0x00020000 0x440000>;
+			};
+
+			slot1_partition: partition@460000 {
+				label = "image-1";
+				reg = <0x00460000 0x440000>;
+			};
+
+			storage_partition: partition@3FEF000 {
+				label = "storage";
+				reg = <0x03FEF000 DT_SIZE_K(64)>;
+			};
+
+			factory_partition: partition@3FFF000 {
+				label = "factory-data";
+				reg = <0x03FFF000 DT_SIZE_K(4)>;
+			};
+
+		};
+	};
+};
diff --git a/examples/thermostat/nxp/zephyr/prj.conf b/examples/thermostat/nxp/zephyr/prj.conf
index 8bb5bd9..a2fa690 100644
--- a/examples/thermostat/nxp/zephyr/prj.conf
+++ b/examples/thermostat/nxp/zephyr/prj.conf
@@ -43,7 +43,6 @@
 CONFIG_DEBUG_THREAD_INFO=y
 # use this config if stepping during debug session is not consistent
 # CONFIG_NO_OPTIMIZATIONS=y
-CONFIG_EXCEPTION_STACK_TRACE=y
 CONFIG_ASSERT=y
 # by default west will generate the full assembly output, which can take several minutes when binaries are large
 CONFIG_OUTPUT_DISASSEMBLY=n
@@ -55,5 +54,5 @@
 # enable Matter CLI
 CONFIG_CHIP_LIB_SHELL=y
 # enable NET commands if desired
-#CONFIG_NET_SHELL=y
+# CONFIG_NET_SHELL=y
 CONFIG_CHIP_STATISTICS=y
diff --git a/examples/thermostat/nxp/zephyr/prj_fdata.conf b/examples/thermostat/nxp/zephyr/prj_fdata.conf
index ee559b4..4694bd1 100644
--- a/examples/thermostat/nxp/zephyr/prj_fdata.conf
+++ b/examples/thermostat/nxp/zephyr/prj_fdata.conf
@@ -70,7 +70,6 @@
 CONFIG_DEBUG_THREAD_INFO=y
 # use this config if stepping during debug session is not consistent
 # CONFIG_NO_OPTIMIZATIONS=y
-CONFIG_EXCEPTION_STACK_TRACE=y
 CONFIG_ASSERT=y
 # by default west will generate the full assembly output, which can take several minutes when binaries are large
 CONFIG_OUTPUT_DISASSEMBLY=n
diff --git a/scripts/build/builders/nxp.py b/scripts/build/builders/nxp.py
index 6a297cf..cdf06ac 100644
--- a/scripts/build/builders/nxp.py
+++ b/scripts/build/builders/nxp.py
@@ -242,6 +242,7 @@
 
             cmd = 'export ZEPHYR_SDK_INSTALL_DIR="$ZEPHYR_NXP_SDK_INSTALL_DIR"'
             cmd += '\nexport ZEPHYR_BASE="$ZEPHYR_NXP_BASE"'
+            cmd += '\nunset ZEPHYR_TOOLCHAIN_VARIANT'
 
             cmd += '\nwest build -p --cmake-only -b {board_name} -d {out_folder} {example_folder}{build_args}'.format(
                 board_name=self.board.Name(self.os_env),
diff --git a/src/crypto/PSASessionKeystore.cpp b/src/crypto/PSASessionKeystore.cpp
index 68f8029..ece38e7 100644
--- a/src/crypto/PSASessionKeystore.cpp
+++ b/src/crypto/PSASessionKeystore.cpp
@@ -68,12 +68,14 @@
     HkdfKeyAttributes() : KeyAttributesBase(PSA_KEY_TYPE_DERIVE, PSA_ALG_HKDF(PSA_ALG_SHA_256), PSA_KEY_USAGE_DERIVE, 0) {}
 };
 
+#if CHIP_CONFIG_ENABLE_ICD_CIP
 void SetKeyId(Symmetric128BitsKeyHandle & key, psa_key_id_t newKeyId)
 {
     auto & KeyId = key.AsMutable<psa_key_id_t>();
 
     KeyId = newKeyId;
 }
+#endif
 } // namespace
 
 CHIP_ERROR PSASessionKeystore::CreateKey(const Symmetric128BitsKeyByteArray & keyMaterial, Aes128KeyHandle & key)
diff --git a/src/platform/Zephyr/wifi/WiFiManager.cpp b/src/platform/Zephyr/wifi/WiFiManager.cpp
index 6dbc493..a0730c1 100644
--- a/src/platform/Zephyr/wifi/WiFiManager.cpp
+++ b/src/platform/Zephyr/wifi/WiFiManager.cpp
@@ -316,16 +316,10 @@
 
     stats.mPacketMulticastRxCount = data.multicast.rx;
     stats.mPacketMulticastTxCount = data.multicast.tx;
-#if CONFIG_CHIP_NXP_PLATFORM
-    /* Zephyr 3.6 doesn't support the unicast stat in net_stats_wifi struct */
-    stats.mPacketUnicastRxCount = data.pkts.rx - data.multicast.rx - data.broadcast.rx;
-    stats.mPacketUnicastRxCount = data.pkts.tx - data.multicast.tx - data.broadcast.tx;
-#else
-    stats.mPacketUnicastRxCount = data.unicast.rx;
-    stats.mPacketUnicastTxCount = data.unicast.tx;
-#endif
-    stats.mBeaconsSuccessCount = data.sta_mgmt.beacons_rx;
-    stats.mBeaconsLostCount    = data.sta_mgmt.beacons_miss;
+    stats.mPacketUnicastRxCount   = data.unicast.rx;
+    stats.mPacketUnicastTxCount   = data.unicast.tx;
+    stats.mBeaconsSuccessCount    = data.sta_mgmt.beacons_rx;
+    stats.mBeaconsLostCount       = data.sta_mgmt.beacons_miss;
 
     return CHIP_NO_ERROR;
 }
diff --git a/src/platform/nxp/zephyr/CHIPDevicePlatformConfig.h b/src/platform/nxp/zephyr/CHIPDevicePlatformConfig.h
index 99f3413..30ecb9d 100644
--- a/src/platform/nxp/zephyr/CHIPDevicePlatformConfig.h
+++ b/src/platform/nxp/zephyr/CHIPDevicePlatformConfig.h
@@ -60,6 +60,12 @@
 #define CHIP_DEVICE_CONFIG_ENABLE_WIFI_AP 0
 #endif
 
+#ifdef CONFIG_CHIP_ETHERNET
+#define CHIP_DEVICE_CONFIG_ENABLE_ETHERNET CONFIG_CHIP_ETHERNET
+#else
+#define CHIP_DEVICE_CONFIG_ENABLE_ETHERNET 0
+#endif
+
 #ifdef CONFIG_BT
 #define CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE CONFIG_BT
 #else
diff --git a/src/platform/nxp/zephyr/boards/rd_rw612_bga/rd_rw612_bga.overlay b/src/platform/nxp/zephyr/boards/rd_rw612_bga/rd_rw612_bga.overlay
deleted file mode 100644
index c4db688..0000000
--- a/src/platform/nxp/zephyr/boards/rd_rw612_bga/rd_rw612_bga.overlay
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- *    Copyright (c) 2023-2024 Project CHIP Authors
- *    All rights reserved.
- *
- *    Licensed under the Apache License, Version 2.0 (the "License");
- *    you may not use this file except in compliance with the License.
- *    You may obtain a copy of the License at
- *
- *        http: //www.apache.org/licenses/LICENSE-2.0
- *
- *    Unless required by applicable law or agreed to in writing, software
- *    distributed under the License is distributed on an "AS IS" BASIS
- *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *    See the License for the specific language governing permissions and
- *    limitations under the License.
- */
-
-&sram {
-	#address-cells = <1>;
-	#size-cells = <1>;
-
-	sram_data: memory@20000000 {
-		compatible = "mmio-sram";
-		reg = <0x20000000 DT_SIZE_K(1216)>;
-	};
-};
-
-/delete-node/ &boot_partition;
-/delete-node/ &slot0_partition;
-/delete-node/ &slot1_partition;
-/delete-node/ &fw_storage;
-/delete-node/ &storage_partition;
-
-&flexspi {
-	status = "okay";
-
-	mx25u51245g: mx25u51245g@0 {
-		status = "okay";
-
-		partitions {
-			boot_partition: partition@0 {
-				label = "mcuboot";
-				reg = <0x00000000 DT_SIZE_K(128)>;
-			};
-
-			slot0_partition: partition@20000 {
-				label = "image-0";
-				reg = <0x00020000 0x440000>;
-			};
-
-			slot1_partition: partition@460000 {
-				label = "image-1";
-				reg = <0x00460000 0x440000>;
-			};
-
-			storage_partition: partition@3FEF000 {
-				label = "storage";
-				reg = <0x03FEF000 DT_SIZE_K(64)>;
-			};
-
-			factory_partition: partition@3FFF000 {
-				label = "factory-data";
-				reg = <0x03FFF000 DT_SIZE_K(4)>;
-			};
-
-		};
-	};
-};
diff --git a/src/platform/nxp/zephyr/nxp-zephyr-mbedtls-config.h b/src/platform/nxp/zephyr/nxp-zephyr-mbedtls-config.h
index 4b9b0e8..f5f4439 100644
--- a/src/platform/nxp/zephyr/nxp-zephyr-mbedtls-config.h
+++ b/src/platform/nxp/zephyr/nxp-zephyr-mbedtls-config.h
@@ -24,7 +24,7 @@
 
 #define MBEDTLS_CIPHER_PADDING_PKCS7
 
-#if CONFIG_WIFI_NXP && CONFIG_WPA_SUPP
+#if CONFIG_WIFI_NXP
 #include "wpa_supp_els_pkc_mbedtls_config.h"
 #endif /* CONFIG_WIFI_NXP && CONFIG_WPA_SUPP */