<?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>After changing QSPI to SPI, prj_release.conf can no longer be used</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118794/after-changing-qspi-to-spi-prj_release-conf-can-no-longer-be-used</link><description>As stated in the title, when I set CONFIG_CHIP_FACTORY_DATA_BUILD to n , the following compilation error occurs. 
 
 However, if I keep it as y , the MCU fails to function and gets stuck in the following code. 
 
 These issues do not occur in prj.conf</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Feb 2025 10:31:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118794/after-changing-qspi-to-spi-prj_release-conf-can-no-longer-be-used" /><item><title>RE: After changing QSPI to SPI, prj_release.conf can no longer be used</title><link>https://devzone.nordicsemi.com/thread/524053?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 10:31:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f89208be-ecf2-426f-997a-59882f7f4a21</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;&lt;a href="https://github.com/NordicDeveloperAcademy/ncs-inter/tree/main/v2.9.0-v2.7.0/l9/l9_e3_sol/spi"&gt;https://github.com/NordicDeveloperAcademy/ncs-inter/tree/main/v2.9.0-v2.7.0/l9/l9_e3_sol/spi&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote user="SunHuang"]Can you run it normally with &lt;code&gt;prj_release.conf&lt;/code&gt;?[/quote]
&lt;p&gt;If the release configuration has the relevant configurations, yes. Add the file suffix &amp;quot;&lt;span&gt;west build -b &amp;lt;board_name&amp;gt; -- -DFILE_SUFFIX=release&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Andreas&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After changing QSPI to SPI, prj_release.conf can no longer be used</title><link>https://devzone.nordicsemi.com/thread/523979?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 01:35:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79fb1a4f-3a89-47b6-9694-3c60f834ab23</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p data-start="0" data-end="156"&gt;Here is the memory report I generated. My current situation is that I can run it normally with &lt;code data-start="95" data-end="105"&gt;prj.conf&lt;/code&gt;, but &lt;code data-start="111" data-end="129"&gt;prj_release.conf&lt;/code&gt; causes the MCU to crash.&lt;/p&gt;
&lt;p data-start="158" data-end="282"&gt;Can you run it normally with &lt;code data-start="187" data-end="205"&gt;prj_release.conf&lt;/code&gt;? If possible, please share your configuration for my reference. Thank you!&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/pastedimage1740100647400v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After changing QSPI to SPI, prj_release.conf can no longer be used</title><link>https://devzone.nordicsemi.com/thread/523825?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 08:59:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9121137-db85-4465-ad15-91a1c0f12bed</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi SunHuang,&lt;/p&gt;
&lt;p&gt;How is the project going?&lt;/p&gt;
&lt;p&gt;I was able to successfully replace QSPI with SPI in a sample by following&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-3-dfu-with-external-flash/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-3-dfu-with-external-flash/&lt;/a&gt;. Have you followed these steps?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After changing QSPI to SPI, prj_release.conf can no longer be used</title><link>https://devzone.nordicsemi.com/thread/523097?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 16:22:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08b9c5d3-ee59-49b8-82d3-1a70a3046db6</guid><dc:creator>AHaug</dc:creator><description>[quote user="SunHuang"]I have already resolved the issue regarding the factory data. Thank you for the information you provided. [/quote]
&lt;p&gt;Great! Glad to hear that!&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t quite get a successful result w.r.t replacing QSPI to SPI yet, but I will continue looking into it early next week.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After changing QSPI to SPI, prj_release.conf can no longer be used</title><link>https://devzone.nordicsemi.com/thread/522991?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 09:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:572a93f0-ebb1-415b-ad90-83b98da0d0d0</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have already resolved the issue regarding the factory data. Thank you for the information you provided. I am currently trying to create a custom board to see if it can resolve the issue where SPI is not functioning properly in prj_release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After changing QSPI to SPI, prj_release.conf can no longer be used</title><link>https://devzone.nordicsemi.com/thread/522980?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 08:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a690fe69-ed10-4550-a0ea-dbb3d78dbe40</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="SunHuang"] In fact, if you search through the Kconfig GUI, you won&amp;#39;t find &lt;strong&gt;SB_CONFIG_MATTER_FACTORY_DATA_GENERATE&lt;/strong&gt;.[/quote]
&lt;p&gt;When looking for this config a chain of relevant configurations shows up for me for factory data:&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/pastedimage1739522752817v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Did you enable&amp;nbsp;the sysbuild-specific configuration within prj.conf? The way you list them implies that you have both within prj.conf, and I can&amp;#39;t see any sysbuild.conf for the companion components,&lt;/p&gt;
&lt;p&gt;SB configurations are to be placed within prj.conf. I&amp;#39;m not sure if I&amp;#39;ve posted this course here for you earlier, but here it is nonetheless:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/topic/sysbuild-explained/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/topic/sysbuild-explained/&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;W.r.t the SPI vs QSPI, I will have a look, but it will take some time.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After changing QSPI to SPI, prj_release.conf can no longer be used</title><link>https://devzone.nordicsemi.com/thread/522324?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 02:08:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfac2315-ade8-4789-9e12-71d6eee6d928</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I used the following configuration, but the error occurred. In fact, if you search through the Kconfig GUI, you won&amp;#39;t find &lt;strong data-start="123" data-end="165"&gt;SB_CONFIG_MATTER_FACTORY_DATA_GENERATE&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Enable Factory Data feature
CONFIG_CHIP_FACTORY_DATA=y
SB_CONFIG_MATTER_FACTORY_DATA_GENERATE=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;error: Aborting due to Kconfig warnings

CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/kconfig.cmake:396 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/v2.9.0/nrf/cmake/modules/kconfig.cmake:29 (include)
  C:/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.9.0-- Configuring incomplete, errors occurred!
/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:9 (find_package)


CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: lock

  Location: C:/nordic_prj/lock
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:20 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  C:/ncs/v2.9.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/nordic_prj/lock/build/CMakeFiles/CMakeOutput.log&amp;quot;.
&#x1B;[91mFATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/b620d30767/opt/bin/python.exe &amp;#39;-BC:\nordic_prj\lock\build&amp;#39; -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp -DCONF_FILE=prj_release.conf &amp;#39;-SC:\ncs\v2.9.0\zephyr\share\sysbuild&amp;#39; &amp;#39;-DAPP_DIR:PATH=C:\nordic_prj\lock&amp;#39;
&#x1B;[0m&lt;/pre&gt;&lt;/p&gt;
&lt;p data-start="0" data-end="177"&gt;Please use the &lt;strong data-start="15" data-end="30"&gt;Matter Lock&lt;/strong&gt; example from &lt;strong data-start="44" data-end="58"&gt;NCS v2.9.0&lt;/strong&gt; (&lt;strong data-start="60" data-end="88"&gt;nrf5340dk_nrf5340_cpuapp&lt;/strong&gt;) and modify &lt;strong data-start="101" data-end="109"&gt;QSPI&lt;/strong&gt; to &lt;strong data-start="113" data-end="120"&gt;SPI&lt;/strong&gt;. Then you will understand the error I am referring to.&lt;/p&gt;
&lt;p data-start="179" data-end="402"&gt;If SPI is not modified, I can still normally use &lt;strong data-start="228" data-end="256"&gt;CONFIG_CHIP_FACTORY_DATA&lt;/strong&gt; and &lt;strong data-start="261" data-end="295"&gt;CONFIG_CHIP_FACTORY_DATA_BUILD&lt;/strong&gt; in &lt;strong data-start="299" data-end="319"&gt;prj_release.conf&lt;/strong&gt;.&lt;/p&gt;
&lt;p data-start="179" data-end="402"&gt;These two configurations are also automatically generated by the default files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After changing QSPI to SPI, prj_release.conf can no longer be used</title><link>https://devzone.nordicsemi.com/thread/522230?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 14:22:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1765214-dded-4e11-854b-a584ab91c56f</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]As stated in the title, when I set &lt;code&gt;CONFIG_CHIP_FACTORY_DATA_BUILD&lt;/code&gt; to &lt;code&gt;n&lt;/code&gt;, the following compilation error occurs.[/quote]
&lt;p&gt;I guess the title you refer to is the other duplicate case created here&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/118758/setting-config_chip_factory_data_build-n-causes-a-compilation-error-sdk_2-9-0-matter-lock"&gt;Setting CONFIG_CHIP_FACTORY_DATA_BUILD=n causes a compilation error (SDK_2.9.0 matter lock)&lt;/a&gt;&amp;nbsp;(closed due to duplicate).&lt;/p&gt;
[quote user=""]&lt;p&gt;As stated in the title, when I set &lt;code&gt;CONFIG_CHIP_FACTORY_DATA_BUILD&lt;/code&gt; to &lt;code&gt;n&lt;/code&gt;, the following compilation error occurs.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1145.log_5F00_n.zip"&gt;log_n.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, if I keep it as &lt;code&gt;y&lt;/code&gt;, the MCU fails to function and gets stuck in the following code.&lt;/p&gt;[/quote]
&lt;p&gt;See&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/matter/lock/README.html#factory_data_support"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/matter/lock/README.html#factory_data_support&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/search?bundle=ncs-latest&amp;amp;q=CONFIG_CHIP_FACTORY_DATA_BUILD"&gt;https://docs.nordicsemi.com/search?bundle=ncs-latest&amp;amp;q=CONFIG_CHIP_FACTORY_DATA_BUILD&lt;/a&gt;&amp;nbsp;for how to enable factory data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;CONFIG_CHIP_FACTORY_DATA_BUILD&lt;/code&gt;&amp;nbsp;was deprecated in 2.7.0 and&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.7.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_2.7.html&lt;/a&gt;&amp;nbsp;tells you how to enable it for newer versions of nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>