<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120824/enabling-wifi-on-nrf7002</link><description>Hello everyone, 
 I&amp;#39;m trying to set up the Wifi stack on the nRF7002 and use it with MicroPython, but encountering a lot of difficulty with it. I cropped up a network_wlan.c file and added it to the build. I configured the CMakeLists.txt, prj.conf and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 May 2025 12:45:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120824/enabling-wifi-on-nrf7002" /><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/533672?ContentTypeID=1</link><pubDate>Thu, 01 May 2025 12:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:843c88fb-cf61-4005-9661-cd8a8f3c056c</guid><dc:creator>Tudor B.</dc:creator><description>&lt;p&gt;I understand. Then I guess this ticket can be closed since the problem is solved.&lt;/p&gt;
&lt;p&gt;Once again thank you very much for the help Amanda. All the best and have a great day! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f603.svg" title="Smiley"&gt;&amp;#x1f603;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/533670?ContentTypeID=1</link><pubDate>Thu, 01 May 2025 12:18:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37f8a59c-7dbd-489a-b074-83cc2882f47a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Please create a new support ticket for another issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/533661?ContentTypeID=1</link><pubDate>Thu, 01 May 2025 09:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7696d4a1-fec4-4494-8726-1c48303d5922</guid><dc:creator>Tudor B.</dc:creator><description>&lt;p&gt;You were right. I managed to produce both the ram and rom report!&lt;br /&gt;&lt;br /&gt;I was missing the &amp;quot;./&amp;quot; when I previously tried running the command you mentioned. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thank you very much Amanda!&lt;br /&gt;&lt;br /&gt;Also, since we moved on to another part of the project, I&amp;#39;ve hit another issue. Can I ask here or shall I make a separate ticket?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/533599?ContentTypeID=1</link><pubDate>Wed, 30 Apr 2025 14:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f736c155-b419-4949-b8dc-c3e281a602e5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Good to know you find the configs to reduce the image size.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I explained, you executed the&amp;nbsp;&lt;span&gt;ram_report&amp;nbsp;command for your application as: west build -d ./build/zephyr&amp;nbsp; -t ram_report&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/533474?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2025 20:34:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c3f56dc-9e82-4de2-85b1-347048467de1</guid><dc:creator>Tudor B.</dc:creator><description>&lt;p&gt;Managed to make everything fit by minimising TFM:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="c_cpp"&gt;CONFIG_TFM_PROFILE_TYPE_MINIMAL=y
# CONFIG_TFM_PROFILE_TYPE_NOT_SET=y&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Resulting in a much smaller ROM footprint:&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;
-- open-amp version: 1.6.1 (/opt/nordic/ncs/v2.9.1/modules/lib/open-amp/open-amp)
-- Host:    Darwin/arm64
-- Target:  Generic/arm
-- Machine: arm
-- C_FLAGS :  -Wall -Wextra
-- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
-- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python3 (found version &amp;quot;3.12.4&amp;quot;) found components: Interpreter
-- Configuring done (5.7s)
-- Generating done (0.4s)
-- Build files have been written to: /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr
[0/219] Performing build step for &amp;#39;tfm&amp;#39;
[38/42] Linking C executable bin/tfm_s.axf
Memory region         Used Size  Region Size  %age Used
           FLASH:       32100 B        32 KB     97.96%
             RAM:       10692 B        32 KB     32.63%
[42/42] Linking C static library secure_fw/libtfm_s_veneers.a
[5/14] Performing install step for &amp;#39;tfm&amp;#39;
-- Install configuration: &amp;quot;MinSizeRel&amp;quot;
-- Installing: /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/tfm/api_ns/bin/tfm_s.axf
-- Installing: /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/tfm/api_ns/bin/tfm_s.bin
-- Installing: /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/tfm/api_ns/bin/tfm_s.hex
-- Installing: /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/tfm/api_ns/bin/tfm_s.elf
-- Installing: /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/tfm/api_ns/bin/tfm_s.map
-- Installing: /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/tfm/api_ns/interface/lib/s_veneers.o
-- Installing: /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/tfm/api_ns/interface/include/nrf-config.h
-- Installing: /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/tfm/api_ns/interface/include/nrf-psa-crypto-config.h
----- Installing platform NS -----
[14/14] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:      811104 B       960 KB     82.51%
             RAM:      301140 B       416 KB     70.69%
        IDT_LIST:          0 GB        32 KB      0.00%
Generating files from /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/zephyr/zephyr.elf for board: nrf7002dk
[5/5] Generating ../merged.hex&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Normally the command we run is:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt; west build -b nrf7002dk/nrf5340/cpuapp/ns&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Adapting your suggestion to our command (west build -d nrf7002dk/nrf5340/cpuapp/ns -t ram_report) results in:&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;root@MacBookAir zephyr # west build -d nrf7002dk/nrf5340/cpuapp/ns -t ram_report
WARNING: This looks like a fresh build and BOARD is unknown; so it probably won&amp;#39;t work. To fix, use --board=&amp;lt;your-board&amp;gt;.
Note: to silence the above message, run &amp;#39;west config build.board_warn false&amp;#39;
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /Library/Developer/CommandLineTools/usr/bin/python3 (found suitable version &amp;quot;3.9.6&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: /Users/tudor/Library/Caches/zephyr
-- Found west (found suitable version &amp;quot;1.3.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
CMake Error at /opt/nordic/ncs/v2.9.1/zephyr/cmake/modules/extensions.cmake:3457 (message):
  BOARD is not being defined on the CMake command-line, in the environment or
  by the app.
Call Stack (most recent call first):
  /opt/nordic/ncs/v2.9.1/zephyr/cmake/modules/boards.cmake:61 (zephyr_check_cache)
  cmake/modules/sysbuild_default.cmake:15 (include)
  /opt/nordic/ncs/v2.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  /opt/nordic/ncs/v2.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  /opt/nordic/ncs/v2.9.1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /opt/homebrew/bin/cmake -DWEST_PYTHON=/Library/Developer/CommandLineTools/usr/bin/python3 -B/Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/nrf7002dk/nrf5340/cpuapp/ns -GNinja -S/opt/nordic/ncs/v2.9.1/zephyr/share/sysbuild -DAPP_DIR:PATH=/Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Edit:&lt;/div&gt;
&lt;div&gt;I tried specifying the board also in the build command. I did a -- pristine, then a normal build, then a -t ram_report build and got:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;root@MacBookAir zephyr # west build -b nrf7002dk/nrf5340/cpuapp/ns -d ./build/nrf7002dk/nrf5340/cpuapp/ns -t ram_report
-- west build: running target ram_report
ninja: error: unknown target &amp;#39;ram_report&amp;#39;
FATAL ERROR: command exited with status 1: /opt/homebrew/bin/cmake --build /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/nrf7002dk/nrf5340/cpuapp/ns --target ram_report&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/533257?ContentTypeID=1</link><pubDate>Mon, 28 Apr 2025 18:20:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54194af7-73f3-4928-a530-184d10f213bc</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="Tudor B."]When&amp;nbsp;building the rom_report using the command &amp;quot;west build -d build/mcuboot -t rom_report&amp;quot;, but I get one of two errors.[/quote]
&lt;p&gt;Do you build your application with mcuboot? Did you have the build/mcuboot folder? That command would analyze the&amp;nbsp;&lt;span&gt;RAM usage&lt;/span&gt;&amp;nbsp;for mcuboot.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to analyze your application, you should run&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;west build -d ./build/Your_App_Name -t ram_report&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/533094?ContentTypeID=1</link><pubDate>Sat, 26 Apr 2025 19:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca14bac4-1b20-4606-8797-312d2febe99e</guid><dc:creator>Tudor B.</dc:creator><description>&lt;p&gt;I tried following the guides in here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/optimizations/tools.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/optimizations/tools.html&lt;/a&gt;&lt;br /&gt;and here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/build/sysbuild/index.html#sysbuild-dedicated-image-build-targets"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/build/sysbuild/index.html#sysbuild-dedicated-image-build-targets&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When&amp;nbsp;building the rom_report using the command &amp;quot;west build -d build/mcuboot -t rom_report&amp;quot;, but I get one of two errors.&lt;/p&gt;
&lt;p&gt;1).&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;root@MacBookAir zephyr # west build -d build/mcuboot -t rom_report           

ERROR: Cached board not defined, please provide it (provide --board, set default with &amp;quot;west config build.board &amp;lt;BOARD&amp;gt;&amp;quot;, or set BOARD in the environment)
FATAL ERROR: refusing to proceed without --force due to above error&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;2).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;root@MacBookAir zephyr # west build -d build/mcuboot -t rom_report           

WARNING: This looks like a fresh build and BOARD is unknown; so it probably won&amp;#39;t work. To fix, use --board=&amp;lt;your-board&amp;gt;.
Note: to silence the above message, run &amp;#39;west config build.board_warn false&amp;#39;
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /Library/Developer/CommandLineTools/usr/bin/python3 (found suitable version &amp;quot;3.9.6&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: /Users/tudor/Library/Caches/zephyr
-- Found west (found suitable version &amp;quot;1.3.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
CMake Error at /opt/nordic/ncs/v2.9.1/zephyr/cmake/modules/extensions.cmake:3457 (message):
  BOARD is not being defined on the CMake command-line, in the environment or
  by the app.
Call Stack (most recent call first):
  /opt/nordic/ncs/v2.9.1/zephyr/cmake/modules/boards.cmake:61 (zephyr_check_cache)
  cmake/modules/sysbuild_default.cmake:15 (include)
  /opt/nordic/ncs/v2.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  /opt/nordic/ncs/v2.9.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  /opt/nordic/ncs/v2.9.1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;When trying to build using &amp;quot;&lt;span&gt;west build -t rom_report&lt;/span&gt;&amp;quot;, I get:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;root@MacBookAir zephyr # 
root@MacBookAir zephyr # west build -t rom_report
-- west build: running target rom_report
ninja: error: unknown target &amp;#39;rom_report&amp;#39;
FATAL ERROR: command exited with status 1: /opt/homebrew/bin/cmake --build /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build --target rom_report&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit:&lt;/p&gt;
&lt;p&gt;I forgot to add that &amp;quot;&lt;span&gt;add&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_WIFI_CREDENTIALS=y in the prj.conf to fix the&amp;nbsp;undefined reference to `net_mgmt_NET_REQUEST_WIFI_CONNECT_STORED&amp;#39;.&lt;/span&gt;&amp;quot; worked like a charm! Thank you very much Amanda!&lt;br /&gt;The overflowing ROM and RAM are the only things that remain.&lt;br /&gt;&lt;br /&gt;Edit 2:&lt;br /&gt;Is it possible to do a call so that we can quickly solve this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/533062?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 19:08:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c437132-3243-4198-9c78-989ac2df6854</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;You can refer to the&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/memory.html"&gt;Memory footprint optimization&lt;/a&gt;&lt;span&gt;&amp;nbsp;to reduce the size, and t&lt;/span&gt;ry to add&amp;nbsp;&lt;span&gt;CONFIG_WIFI_CREDENTIALS=y in the prj.conf to fix the&amp;nbsp;undefined reference to `net_mgmt_NET_REQUEST_WIFI_CONNECT_STORED&amp;#39;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/533051?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 15:28:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:784ca92e-4dd9-4319-9a4f-19eb102b8af4</guid><dc:creator>Tudor B.</dc:creator><description>&lt;p&gt;I managed to fix it by completely deleting my local git branch and getting the repo again from scratch, since I had the suspicion that installing the VS code extension changed some west files in my project. Everything is back to where it was. Meaning that I&amp;#39;m back to either having:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/../../ports/zephyr/network_wlan.c:165: undefined reference to `__device_dts_ord_135&amp;#39;&lt;/pre&gt;&lt;br /&gt;OR (when adding the sysbuild.conf):&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/opt/nordic/ncs/toolchains/b8efef2ad5/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `FLASH&amp;#39; overflowed by 132424 bytes
/opt/nordic/ncs/toolchains/b8efef2ad5/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `RAM&amp;#39; overflowed by 125852 bytes
/opt/nordic/ncs/toolchains/b8efef2ad5/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: modules/nrf/subsys/net/l2_wifi_if_conn/lib..__nrf__subsys__net__l2_wifi_if_conn.a(l2_wifi_conn.c.obj): in function `net_l2_wifi_connect&amp;#39;:
/opt/nordic/ncs/v2.9.1/nrf/subsys/net/l2_wifi_if_conn/l2_wifi_conn.c:115: undefined reference to `net_mgmt_NET_REQUEST_WIFI_CONNECT_STORED&amp;#39;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/533035?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 14:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaa9a6db-8769-41bf-85b1-e3e8909f3bd7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;See your log:&lt;/p&gt;
[quote user="Tudor B."]CMake Error at /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Python3: Found unsuitable version &amp;quot;3.9.6&amp;quot;, but required is
  at least &amp;quot;3.10&amp;quot; (found /Library/Developer/CommandLineTools/usr/bin/python3,
  found components: Interpreter)[/quote]
&lt;p&gt;Try to update the version as required.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/532974?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 08:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8196259-9140-4083-adb1-b747336f4cdf</guid><dc:creator>Tudor B.</dc:creator><description>&lt;p&gt;Sadly, after trying to get the VS code extension to work, it completely broke the build via terminal. I get:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;root@MacBookAir zephyr # west build -b nrf7002dk/nrf5340/cpuapp/ns --pristine
-- west build: making build dir /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build pristine
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr
-- CMake version: 3.31.6
CMake Error at /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Python3: Found unsuitable version &amp;quot;3.9.6&amp;quot;, but required is
  at least &amp;quot;3.10&amp;quot; (found /Library/Developer/CommandLineTools/usr/bin/python3,
  found components: Interpreter)

  Hint: The project() command has not yet been called.  It sets up
  system-specific search paths.
Call Stack (most recent call first):
  /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:601 (_FPHSA_FAILURE_MESSAGE)
  /opt/homebrew/share/cmake/Modules/FindPython/Support.cmake:4002 (find_package_handle_standard_args)
  /opt/homebrew/share/cmake/Modules/FindPython3.cmake:602 (include)
  zephyr/cmake/modules/python.cmake:41 (find_package)
  zephyr/cmake/modules/zephyr_default.cmake:131 (include)
  zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:27 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /opt/homebrew/bin/cmake -DWEST_PYTHON=/Library/Developer/CommandLineTools/usr/bin/python3 -B/Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build -GNinja -DBOARD=nrf7002dk/nrf5340/cpuapp/ns -S/Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/532909?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 18:23:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17dc1940-fb70-40d9-908d-2aa74a19d710</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Is it possible to run &amp;quot;west update&amp;quot; under&amp;nbsp;/opt/nordic/ncs/v2.9.1/nrf and delete the build folder to build again?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/532900?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 17:16:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27dde14f-0edb-4039-a313-ee9b53cdb581</guid><dc:creator>Tudor B.</dc:creator><description>&lt;p&gt;Update: I tried installing the nrf connect extension for VS code. It brought a plethora of errors with it and I can&amp;#39;t find a way of convincing it to work and build the project from inside it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/532870?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 14:46:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f867d82a-546c-4d4a-8fed-7be955594ab2</guid><dc:creator>Tudor B.</dc:creator><description>&lt;p&gt;&lt;span&gt;1. Image size overload. You can refer to the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/memory.html"&gt;Memory footprint optimization&lt;/a&gt;&amp;nbsp;to reduce the size.&lt;br /&gt;&lt;br /&gt;Our project is set up via terminal. Is there a way of generating the memory footprint without making the setup in VS code?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. undefined reference to `net_mgmt_NET_REQUEST_WIFI_CONNECT_STORED&amp;#39; which is defined in the&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.9.1/include/net/wifi_mgmt_ext.h#L23C9-L23C40"&gt;nrf/include/net/wifi_mgmt_ext.h&lt;/a&gt;&lt;span&gt;. You can try to add &amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;The interesting part is that the file that generates the error has that include already put into place. Also, the network_wlan.c file that we&amp;#39;re using to implement the wifi interface for micropython has the same include too. It&amp;#39;s worth mentioning that both includes have no precompiler defines guarding them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/532840?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 13:20:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2f7ae17-46e2-4760-8f44-2ed72678a618</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your log indicated two issues:&lt;/p&gt;
&lt;p&gt;1. Image size overload. You can refer to the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/memory.html"&gt;Memory footprint optimization&lt;/a&gt;&amp;nbsp;to reduce the size.&lt;/p&gt;
&lt;p&gt;2. undefined reference to `net_mgmt_NET_REQUEST_WIFI_CONNECT_STORED&amp;#39; which is defined in the&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.9.1/include/net/wifi_mgmt_ext.h#L23C9-L23C40"&gt;nrf/include/net/wifi_mgmt_ext.h&lt;/a&gt;. You can try to add &amp;quot;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;net/wifi_mgmt_ext.h&amp;gt;&lt;/span&gt;&amp;quot; in the main.c&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;-Amanda H.&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/532778?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 09:59:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88ed78a7-8bae-4925-9ba3-63ff04eb9f37</guid><dc:creator>Tudor B.</dc:creator><description>&lt;p&gt;Hello Amanda.&lt;/p&gt;
&lt;p&gt;Thank you for taking the time to look into my case.&lt;/p&gt;
&lt;p&gt;I tried your suggestion and got:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;[756/761] Linking C executable zephyr/zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/zephyr/zephyr_pre0.map 
: &amp;amp;&amp;amp; ccache /opt/nordic/ncs/toolchains/b8efef2ad5/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -Os -DNDEBUG -gdwarf-4 -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  tfm/api_ns/interface/lib/s_veneers.o  -T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/libarch__arm__core.a  zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a  zephyr/arch/arch/arm/core/cortex_m/cmse/libarch__arm__core__cortex_m__cmse.a  zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a  zephyr/lib/libc/newlib/liblib__libc__newlib.a  zephyr/lib/libc/common/liblib__libc__common.a  zephyr/lib/posix/options/liblib__posix__options.a  zephyr/lib/net_buf/liblib__net_buf.a  zephyr/lib/os/zvfs/liblib__os__zvfs.a  zephyr/soc/soc/nrf5340/libsoc__nordic.a  zephyr/subsys/fs/libsubsys__fs.a  zephyr/subsys/random/libsubsys__random.a  zephyr/subsys/net/libsubsys__net.a  zephyr/subsys/net/l2/offloaded_netdev/libsubsys__net__l2__offloaded_netdev.a  zephyr/subsys/net/l2/ethernet/libsubsys__net__l2__ethernet.a  zephyr/subsys/net/l2/wifi/libsubsys__net__l2__wifi.a  zephyr/subsys/net/ip/libsubsys__net__ip.a  zephyr/subsys/net/lib/config/libsubsys__net__lib__config.a  zephyr/subsys/net/lib/dhcpv4/libsubsys__net__lib__dhcpv4.a  zephyr/subsys/net/lib/dns/libsubsys__net__lib__dns.a  zephyr/subsys/net/conn_mgr/libsubsys__net__conn_mgr.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/counter/libdrivers__counter.a  zephyr/drivers/entropy/libdrivers__entropy.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/mbox/libdrivers__mbox.a  zephyr/drivers/pinctrl/libdrivers__pinctrl.a  zephyr/drivers/pwm/libdrivers__pwm.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/spi/libdrivers__spi.a  zephyr/drivers/timer/libdrivers__timer.a  zephyr/drivers/watchdog/libdrivers__watchdog.a  zephyr/drivers/wifi/nrf_wifi/libnrf_wifi.a  modules/nrf/subsys/nrf_security/src/zephyr/libmbedtls_zephyr.a  modules/nrf/subsys/net/lib/wifi_ready/libWIFI_READY_LIB.a  modules/nrf/subsys/net/l2_wifi_if_conn/lib..__nrf__subsys__net__l2_wifi_if_conn.a  modules/nrf/modules/trusted-firmware-m/lib..__nrf__modules__trusted-firmware-m.a  modules/nrf/modules/trusted-firmware-m/libtfm_api_nrf.a  modules/trusted-firmware-m/libtfm_api.a  modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  modules/nrf_wifi/os/libmodules__nrf_wifi__os.a  modules/nrf_wifi/bus/libnrf70-buslib.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L/Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/zephyr  libmicropython.a  zephyr/kernel/libkernel.a  zephyr/arch/common/libisr_tables.a  -mcpu=cortex-m33  -mthumb  -mabi=aapcs  -mfpu=fpv5-sp-d16  -mfloat-abi=hard  -mfp16-format=ieee  -fuse-ld=bfd  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  -Wl,-no-pie  -L&amp;quot;/opt/nordic/ncs/toolchains/b8efef2ad5/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi&amp;quot;/lib/thumb/v8-m.main+fp/hard  -specs=nano.specs  modules/nrf/subsys/nrf_security/src/libmbedtls.a  modules/nrf/subsys/nrf_security/src/libmbedx509.a  modules/nrf/subsys/nrf_security/src/libmbedcrypto.a  modules/nrf/subsys/nrf_security/src/libmbedcrypto_base.a  modules/nrf/subsys/nrf_security/src/libnrf_security_utils.a  zephyr/kernel/libkernel.a  /opt/nordic/ncs/v2.9.1/nrfxlib/crypto/nrf_oberon/lib/cortex-m33/hard-float/liboberon_mbedtls_3.0.15.a  /opt/nordic/ncs/v2.9.1/nrfxlib/crypto/nrf_oberon/lib/cortex-m33/hard-float/liboberon_3.0.15.a  -lc -L&amp;quot;/opt/nordic/ncs/toolchains/b8efef2ad5/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v8-m.main+fp/hard&amp;quot; -lm -lc -lgcc -lc &amp;amp;&amp;amp; cd /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr/zephyr &amp;amp;&amp;amp; /opt/homebrew/bin/cmake -E true
/opt/nordic/ncs/toolchains/b8efef2ad5/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/zephyr_pre0.elf section `rodata&amp;#39; will not fit in region `FLASH&amp;#39;
/opt/nordic/ncs/toolchains/b8efef2ad5/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/zephyr_pre0.elf section `noinit&amp;#39; will not fit in region `RAM&amp;#39;
/opt/nordic/ncs/toolchains/b8efef2ad5/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `FLASH&amp;#39; overflowed by 132424 bytes
/opt/nordic/ncs/toolchains/b8efef2ad5/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `RAM&amp;#39; overflowed by 125852 bytes
/opt/nordic/ncs/toolchains/b8efef2ad5/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: modules/nrf/subsys/net/l2_wifi_if_conn/lib..__nrf__subsys__net__l2_wifi_if_conn.a(l2_wifi_conn.c.obj): in function `net_l2_wifi_connect&amp;#39;:
/opt/nordic/ncs/v2.9.1/nrf/subsys/net/l2_wifi_if_conn/l2_wifi_conn.c:115: undefined reference to `net_mgmt_NET_REQUEST_WIFI_CONNECT_STORED&amp;#39;
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FAILED: _sysbuild/sysbuild/images/zephyr-prefix/src/zephyr-stamp/zephyr-build /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/_sysbuild/sysbuild/images/zephyr-prefix/src/zephyr-stamp/zephyr-build 
cd /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build/zephyr &amp;amp;&amp;amp; /opt/homebrew/bin/cmake --build .
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /opt/homebrew/bin/cmake --build /Users/tudor/Documents/GitHub/micropython_nRF/ports/zephyr/build&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll see what I can disable to make things fit.&lt;br /&gt;&lt;br /&gt;Edit:&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure what else to disable at this point since we already disabled the NFC and BT to make Wifi fit. Ideally we&amp;#39;d have all 3 active in the project. Here are our two .config files, maybe you can spot something that&amp;#39;s a memory hog which shouldn&amp;#39;t be there.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;prj.conf:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;CONFIG_BUILD_OUTPUT_BIN=y
CONFIG_BUILD_OUTPUT_HEX=y
CONFIG_REBOOT=y

#CONFIG_WERROR=n

#CONFIG_NFC=n
#CONFIG_NFC_T2T_LIB=n




CONFIG_WIFI=y
# CONFIG_WIFI_NM=y
CONFIG_WIFI_NRF70=y
# CONFIG_WIFI_MGMT=y
CONFIG_NET_CONNECTION_MANAGER=y
CONFIG_L2_WIFI_CONNECTIVITY=y

# WPA supplicant
CONFIG_WIFI_NM_WPA_SUPPLICANT=y
# CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_INF=y
CONFIG_WIFI_READY_LIB=y

# Soft AP
CONFIG_NRF70_AP_MODE=y
CONFIG_WIFI_NM_WPA_SUPPLICANT_AP=y


CONFIG_NET_PKT_RX_COUNT=4
CONFIG_NET_PKT_TX_COUNT=4

# Below section is the primary contributor to SRAM and is currently
# tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=8
CONFIG_NET_BUF_TX_COUNT=8
# TODO: was 183600; reduced to be able to build! 
CONFIG_HEAP_MEM_POOL_SIZE=77120
CONFIG_NET_TC_TX_COUNT=1

CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT=1
CONFIG_NET_MAX_CONTEXTS=5
CONFIG_NET_CONTEXT_SYNC_RECV=y

CONFIG_INIT_STACKS=y

CONFIG_NET_L2_ETHERNET=y
CONFIG_NET_OFFLOAD=y

# printing of scan results puts pressure on queues in new locking
# design in net_mgmt. So, use a higher timeout for a crowded
# environment.
CONFIG_NET_MGMT_EVENT_QUEUE_TIMEOUT=5000

# Raw scan Options
CONFIG_WIFI_MGMT_RAW_SCAN_RESULTS=n
CONFIG_WIFI_MGMT_RAW_SCAN_RESULTS_ONLY=n

CONFIG_WIFI_SCAN_DWELL_TIME_ACTIVE=50
CONFIG_WIFI_SCAN_DWELL_TIME_PASSIVE=130

CONFIG_NET_CONFIG_SETTINGS=y
CONFIG_NET_CONFIG_INIT_TIMEOUT=0

CONFIG_NET_SOCKETS_POLL_MAX=10

# Memories
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_NET_TX_STACK_SIZE=3072
CONFIG_NET_RX_STACK_SIZE=3072
CONFIG_STA_SAMPLE_START_WIFI_THREAD_STACK_SIZE=4096

# # prj.conf
# CONFIG_BOOTLOADER_MCUBOOT=y
# CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y


# Debugging
CONFIG_STACK_SENTINEL=y
# CONFIG_DEBUG_COREDUMP=y
# CONFIG_DEBUG_COREDUMP_BACKEND_LOGGING=y
# CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=y
CONFIG_SHELL_CMDS_RESIZE=n

CONFIG_NET_MGMT_EVENT_INFO=y

# Kernel options
CONFIG_ENTROPY_GENERATOR=y

# Logging
CONFIG_LOG=y
# # Enable verbose logging
CONFIG_LOG_DEFAULT_LEVEL=4
CONFIG_LOG_BUFFER_SIZE=4096
CONFIG_LOG_MODE_DEFERRED=y
CONFIG_LOG_PROCESS_THREAD=y
# # Or higher if you&amp;#39;re logging a lot
# CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=2048
# CONFIG_LOG_PROCESS_THREAD_SLEEP_MS=50

# CONFIG_POSIX_API=y
# CONFIG_POSIX_CLOCK=y

CONFIG_NET_CONFIG_MY_IPV4_ADDR=&amp;quot;192.168.1.1&amp;quot;
CONFIG_NET_CONFIG_MY_IPV4_NETMASK=&amp;quot;255.255.255.0&amp;quot;
CONFIG_NET_CONFIG_MY_IPV4_GW=&amp;quot;192.168.1.1&amp;quot;

# printing of scan results puts pressure on queues in new locking
# design in net_mgmt. So, use a higher timeout for a crowded
# environment.
CONFIG_NET_MGMT_EVENT_QUEUE_TIMEOUT=5000

# Temporarily enable FS support so that linking succeeds.
CONFIG_FILE_SYSTEM=y

#CONFIG_PSA_STORAGE=n
#CONFIG_PSA_API=n

CONFIG_STDOUT_CONSOLE=y
CONFIG_CONSOLE_HANDLER=y
CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS=y

CONFIG_CONSOLE_SUBSYS=y
CONFIG_CONSOLE_GETCHAR=y
CONFIG_CONSOLE_GETCHAR_BUFSIZE=258
CONFIG_CONSOLE_PUTCHAR_BUFSIZE=128

CONFIG_NEWLIB_LIBC=y
CONFIG_FPU=y
CONFIG_POLL=y

CONFIG_DEVICE_DT_METADATA=y

# Enable sensor subsystem (doesn&amp;#39;t add code if not used).
# Specific sensors should be enabled per-board.
CONFIG_SENSOR=y

# Networking config
CONFIG_NETWORKING=y
CONFIG_NET_MGMT=y
CONFIG_NET_MGMT_EVENT=y
CONFIG_NET_L2_ETHERNET_MGMT=y
# CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096
# CONFIG_WPA_SUPP=y
CONFIG_NET_L2_WIFI_MGMT=y
CONFIG_NET_IPV4=y
# CONFIG_NET_IPV6=y
CONFIG_NET_UDP=y
CONFIG_NET_TCP=y
CONFIG_NET_SOCKETS=y
# CONFIG_NET_HOSTNAME=y
CONFIG_NET_SOCKETS_POSIX_NAMES=n
CONFIG_TEST_RANDOM_GENERATOR=y

CONFIG_NET_CONFIG_SETTINGS=y
CONFIG_NET_CONFIG_INIT_TIMEOUT=3
# CONFIG_NET_CONFIG_NEED_IPV6=y
CONFIG_NET_CONFIG_NEED_IPV4=y

# DNS
CONFIG_DNS_RESOLVER=y
# CONFIG_DNS_RESOLVER_ADDITIONAL_QUERIES=2
# CONFIG_DNS_SERVER_IP_ADDRESSES=y

# Static IP addresses
CONFIG_NET_CONFIG_MY_IPV6_ADDR=&amp;quot;2001:db8::1&amp;quot;
CONFIG_NET_CONFIG_MY_IPV4_ADDR=&amp;quot;192.0.2.1&amp;quot;
CONFIG_NET_CONFIG_MY_IPV4_GW=&amp;quot;192.0.2.2&amp;quot;
CONFIG_DNS_SERVER1=&amp;quot;192.0.2.2&amp;quot;

# DHCP configuration. Until DHCP address is assigned,
# static configuration above is used instead.
CONFIG_NET_NATIVE=y
CONFIG_NET_DHCPV4=y




# Diagnostics and debugging

# Required for zephyr.stack_analyze()
CONFIG_THREAD_ANALYZER=y
CONFIG_THREAD_ANALYZER_USE_PRINTK=y
CONFIG_THREAD_NAME=y

# Required for socket.pkt_get_info()
CONFIG_NET_BUF_POOL_USAGE=y

# Required for zephyr.shell_exec()
#CONFIG_SHELL=y
#CONFIG_SHELL_BACKEND_SERIAL_INTERRUPT_DRIVEN=n

# Required for zephyr.shell_exec(&amp;quot;net iface&amp;quot;)
#CONFIG_NET_SHELL=y

# Uncomment to enable &amp;quot;INFO&amp;quot; level net_buf logging
#CONFIG_NET_LOG=y
#CONFIG_NET_DEBUG_NET_BUF=y
# Change to 4 for &amp;quot;DEBUG&amp;quot; level
#CONFIG_SYS_LOG_NET_LEVEL=3

# MicroPython options
CONFIG_MICROPY_CONFIGFILE=&amp;quot;mpconfigport_full.h&amp;quot;
# CONFIG_MICROPY_VFS_FAT=y
CONFIG_MICROPY_VFS_LFS2=y

CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_NVS=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nrf7002dk_nrf5340_cpuapp_ns.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;# CONFIG_BT=y
# CONFIG_BT_DEVICE_NAME_DYNAMIC=y
# CONFIG_BT_GATT_DYNAMIC_DB=y
# CONFIG_BT_PERIPHERAL=y
# CONFIG_BT_CENTRAL=y
# CONFIG_BT_GATT_CLIENT=y
# CONFIG_BT_L2CAP_TX_MTU=252
# CONFIG_BT_BUF_ACL_RX_SIZE=256

CONFIG_MICROPY_HEAP_SIZE=32768

# CONFIG_DYNAMIC_THREAD=y
CONFIG_THREAD_CUSTOM_DATA=y
CONFIG_THREAD_MONITOR=y
CONFIG_THREAD_STACK_INFO=y
CONFIG_THREAD_NAME=y

CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_MICROPY_CONFIGFILE=&amp;quot;mpconfigport_full.h&amp;quot;

# Enable Bootloader
# CONFIG_BOOTLOADER_MCUBOOT=y
# CONFIG_IMG_MANAGER=y
# CONFIG_STREAM_FLASH=y
# CONFIG_DFU_TARGET_MCUBOOT=y
# CONFIG_IMG_ERASE_PROGRESSIVELY=y

# Enable SMP Server
# CONFIG_MCUMGR=y
# CONFIG_MCUMGR_GRP_IMG=y

# # CONFIG_MCUMGR_GRP_IMG dependencies
# CONFIG_FLASH=y
# CONFIG_IMG_MANAGER=y

# # CONFIG_IMG_MANAGER dependencies
# # CONFIG_STREAM_FLASH=y

# # CONFIG_MCUMGR dependencies
# CONFIG_NET_BUF=y
# CONFIG_ZCBOR=y

# Required for CONFIG_IMG_MANAGER
# CONFIG_FLASH_MAP=y

CONFIG_NEWLIB_LIBC=y
# CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
# CONFIG_CBPRINTF_FP_SUPPORT=y

# # LoRaWAN config
# CONFIG_LORA_SX126X=y
# CONFIG_SPI=y

# CONFIG_LORA=y

# Random number generator required for several LoRaWAN services
CONFIG_ENTROPY_GENERATOR=y

# # LoRaWAN application layer
# CONFIG_LORAWAN=y
# CONFIG_LORAMAC_REGION_EU868=y
# CONFIG_LORAWAN_NVM_SETTINGS=y

# # LoRaWAN services required for FUOTA
# CONFIG_LORAWAN_SERVICES=y
# CONFIG_LORAWAN_APP_CLOCK_SYNC=y
#CONFIG_LORAWAN_REMOTE_MULTICAST=y
#CONFIG_LORAWAN_FRAG_TRANSPORT=y

# Flash driver to store firmware image
# CONFIG_FLASH=y
# # CONFIG_FLASH_MAP=y
# # CONFIG_FLASH_PAGE_LAYOUT=y
# CONFIG_STREAM_FLASH=y

CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y
CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU_SPEEDUP=y

# CONFIG_NFC_T2T_NRFXLIB=y

# CONFIG_NFC_NDEF=y
# CONFIG_NFC_NDEF_MSG=y
# CONFIG_NFC_NDEF_RECORD=y
# CONFIG_NFC_NDEF_LE_OOB_REC=y
# CONFIG_NFC_NDEF_CH_MSG=y
# CONFIG_NFC_NDEF_TEXT_RECORD=y

# CONFIG_NFC_NDEF_TNEP_RECORD=y
# CONFIG_NFC_TNEP_TAG=y
# CONFIG_NFC_NDEF_PARSER=y
# CONFIG_NFC_NDEF_CH_PARSER=y
# CONFIG_NFC_NDEF_LE_OOB_REC_PARSER=y
# CONFIG_NFC_TNEP_CH=y

# CONFIG_HEAP_MEM_POOL_SIZE=8192

CONFIG_ARM_TRUSTZONE_M=y
CONFIG_BUILD_WITH_TFM=y
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

# # Enable MCUmgr and dependencies.
# CONFIG_NET_BUF=y
# CONFIG_ZCBOR=y
# CONFIG_CRC=y
# CONFIG_MCUMGR=y
# CONFIG_STREAM_FLASH=y
# CONFIG_FLASH_MAP=y

# Some command handlers require a large stack.
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
CONFIG_MAIN_STACK_SIZE=4096

# Ensure an MCUboot-compatible binary is generated.
# CONFIG_BOOTLOADER_MCUBOOT=y

# Enable flash operations.
# CONFIG_FLASH=y

# Required by the `taskstat` command.
# CONFIG_THREAD_MONITOR=y

# # Support for taskstat command
# CONFIG_MCUMGR_GRP_OS_TASKSTAT=y

# # Enable statistics and statistic names.
# CONFIG_STATS=y
# CONFIG_STATS_NAMES=y

# # Enable most core commands.
# CONFIG_FLASH=y
# CONFIG_IMG_MANAGER=y
# CONFIG_MCUMGR_GRP_IMG=y
# CONFIG_MCUMGR_GRP_OS=y
# CONFIG_MCUMGR_GRP_STAT=y

# # Enable logging
# CONFIG_LOG=y
# CONFIG_MCUBOOT_UTIL_LOG_LEVEL_WRN=y

# # Disable debug logging
# CONFIG_LOG_MAX_LEVEL=3

CONFIG_WATCHDOG=y
CONFIG_WDT_DISABLE_AT_BOOT=y

CONFIG_COUNTER=y

CONFIG_ENTROPY_GENERATOR=y

# Enable nordic security backend and PSA APIs
CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y

CONFIG_PSA_WANT_GENERATE_RANDOM=y

# Using hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y

# Mbedtls configuration
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=8192

CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS_LEGACY_CRYPTO_C=y
CONFIG_PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY=y
CONFIG_PSA_WANT_RSA_KEY_SIZE_2048=y
#CONFIG_NORDIC_SECURITY_BACKEND=y
CONFIG_MBEDTLS=y
#CONFIG_MBEDTLS_TLS_LIBRARY=y
CONFIG_MBEDTLS_RSA_C=y

CONFIG_PWM=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/532451?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 21:11:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:312405d1-3cbf-428e-90c9-a99cdca63a95</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try to&amp;nbsp;enable&amp;nbsp;&lt;code&gt;&lt;span&gt;&lt;span&gt;SB_CONFIG_WIFI_NRF70 &lt;/span&gt;&lt;/span&gt;&lt;/code&gt;in&lt;span style="font-family:monospace;"&gt; &lt;/span&gt;the&lt;span&gt;&amp;nbsp;&lt;/span&gt;sysbuild.conf as &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.9.0/samples/wifi/shell/sysbuild.conf"&gt;our wifi examples&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Wifi on nRF7002</title><link>https://devzone.nordicsemi.com/thread/532298?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 09:41:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab42db6e-e48a-406e-8111-90ab6a01ec41</guid><dc:creator>Tudor B.</dc:creator><description>&lt;p&gt;A bit more trial and error was done that I&amp;#39;ll document here. The initial suspicion about the default interface not being correctly initialised was on point.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The second error from the post (&amp;quot;undefined reference to `__device_dts_ord_135&amp;#39;&amp;quot;) can be tracked down to the file &amp;quot;devicetree_generated.h&amp;quot;, where I found:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;*   135 /soc/peripheral@40000000/qspi@2b000/nrf7002@1/wlan&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Looking over the various *.dts files, I found that the &amp;quot;zephyr_wifi&amp;quot;&amp;nbsp;reference doesn&amp;#39;t correctly link back to the .dts files that actually define it. Sadly I can&amp;#39;t find a method of actually getting it to be correctly recognised.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>