<?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>Thingy53 Wifi Station build configuration Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115173/thingy53-wifi-station-build-configuration-issue</link><description>Hello, 
 
 I am building the existing WIFI station app for the Thingy53 with the nRF 7002EB board - sample code: nrf/samples/wifi/sta 
 
 In the CMakeLists.txt file, the line CONFIG_WIFI_READY_LIB =y is throwing me the error: attempt to assign the value</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Oct 2024 07:46:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115173/thingy53-wifi-station-build-configuration-issue" /><item><title>RE: Thingy53 Wifi Station build configuration Issue</title><link>https://devzone.nordicsemi.com/thread/505106?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 07:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2acb7674-68ea-4560-969c-c13ecbef095e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Jon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Based on the zephyr version:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- Zephyr version: 3.5.99 (/Users/jon/Documents/smartweight_project/workspace/zephyr)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This indicates that you&amp;#39;re on v2.6.1 or older.&lt;/p&gt;
&lt;p&gt;Can you try running this on ncs v2.7.0 ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 Wifi Station build configuration Issue</title><link>https://devzone.nordicsemi.com/thread/505049?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2024 20:59:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d651aad-3dca-41a3-83c3-a681ec478ca1</guid><dc:creator>lunchbarker17</dc:creator><description>&lt;p&gt;Hey Hakon, absolutely.&lt;/p&gt;
&lt;p&gt;Attached is the project.conf and the CMake Lists.txt file&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4403.CMakeLists.txt"&gt;devzone.nordicsemi.com/.../4403.CMakeLists.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0284.prj.conf"&gt;devzone.nordicsemi.com/.../0284.prj.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As for the log of the build, below is the output of my console&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7522.logfile.txt"&gt;devzone.nordicsemi.com/.../7522.logfile.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks Hakon,&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 Wifi Station build configuration Issue</title><link>https://devzone.nordicsemi.com/thread/504990?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2024 12:03:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eac675d-8f2c-4f1f-b900-0c54c5abbc62</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you share your full cmake configuration + build log? Are you building for NCS v2.7.0 or v2.6.2?&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;WIFI_READY_LIB was not present in v2.6.1 (and older), so that might explain why you are still seeing this issue.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 Wifi Station build configuration Issue</title><link>https://devzone.nordicsemi.com/thread/504906?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2024 21:34:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a956a660-bfdc-4187-98c3-ea2753142472</guid><dc:creator>lunchbarker17</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The set(Shield) line was place directly after the cmake_minimum and before the find package, sadly. The error is still occurring&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2024_2D00_10_2D00_03-at-5.27.41_2F20_PM.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What I noticed was different, was the build target. My SDK is targeting the following - would this create a discrepancy?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2024_2D00_10_2D00_03-at-5.33.42_2F20_PM.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks Hakon,&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 Wifi Station build configuration Issue</title><link>https://devzone.nordicsemi.com/thread/504795?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2024 08:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64707e3b-85a8-41e4-9c45-8c4cfbd4c140</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Jon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is the build cmd that vscode emits when I set the SHIELD in CMakeLists:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build --build-dir /opt/ncs/nrf/samples/wifi/sta/build /opt/ncs/nrf/samples/wifi/sta --pristine --board thingy53/nrf5340/cpuapp --sysbuild&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And this is without setting it in CMakeLists.txt, and instead add it as a parameter:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build --build-dir /opt/ncs/nrf/samples/wifi/sta/build_1 /opt/ncs/nrf/samples/wifi/sta --pristine --board thingy53/nrf5340/cpuapp --sysbuild -- -Dsta_SHIELD=nrf7002eb&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1727945009160v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Where did you place the set(SHIELD line in your CMakeLists.txt file? It is crucial that it is placed&amp;nbsp;&lt;strong&gt;before&amp;nbsp;&lt;/strong&gt;this line:&lt;/p&gt;
&lt;p&gt;find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 Wifi Station build configuration Issue</title><link>https://devzone.nordicsemi.com/thread/504751?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2024 18:40:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec0df521-6693-4958-8560-28ff7e9fbb6d</guid><dc:creator>lunchbarker17</dc:creator><description>&lt;p&gt;Hey there Hakon,&lt;br /&gt;&lt;br /&gt;I was not building with sysbuild enabled, so I tried the following variations, all of which had varying errors:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;With Sysbuild enabled and the set(SHIELD nrf7002eb) included the following error happened -&amp;nbsp;&lt;span&gt;attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol WIFI_NRF700X in the sysbuild.conf&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Without sysbuild enabled, and the set(SHIELD nrf7002eb) included, we run into the same error as listed above where the wifi ready lib is not being found.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 Wifi Station build configuration Issue</title><link>https://devzone.nordicsemi.com/thread/504633?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2024 08:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dc49628-abef-4745-99ee-3fa4429297d7</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With sysbuild enabled, one has to add the image name, ie. -DstaSHIELD=nrf7002eb.&lt;/p&gt;
&lt;p&gt;It is then easier to set this in your CMakeLists.txt:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

cmake_minimum_required(VERSION 3.20.0)
set(SHIELD nrf7002eb)
...rest of file&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Could you try this and see if that works?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>