<?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>Error next to zephyr/kernel.h: &amp;quot;In included file: &amp;quot;_DSP_PRESENT and CONFIG_ARMV8_M_DSP are not set to the same value&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118278/error-next-to-zephyr-kernel-h-in-included-file-_dsp_present-and-config_armv8_m_dsp-are-not-set-to-the-same-value</link><description>I am using ncs sdk, my projects are under ~/zephyr-workspace. This is from an example project - blinkypwm. The clangd compiler shows the following erro: In included file: &amp;quot;_DSP_PRESENT and CONFIG_ARMV8_M_DSP are not set to the same value. I am on an ubuntu</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jan 2025 15:28:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118278/error-next-to-zephyr-kernel-h-in-included-file-_dsp_present-and-config_armv8_m_dsp-are-not-set-to-the-same-value" /><item><title>RE: Error next to zephyr/kernel.h: "In included file: "_DSP_PRESENT and CONFIG_ARMV8_M_DSP are not set to the same value"</title><link>https://devzone.nordicsemi.com/thread/519829?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2025 15:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87c9eb77-dfe9-4870-bd5d-edf85c7cb96f</guid><dc:creator>roaibrain</dc:creator><description>&lt;p&gt;hmm, this actually solved itself by adding --pristine to the build command, why?&lt;br /&gt;&lt;br /&gt;Also, no longer see the error in my code&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error next to zephyr/kernel.h: "In included file: "_DSP_PRESENT and CONFIG_ARMV8_M_DSP are not set to the same value"</title><link>https://devzone.nordicsemi.com/thread/519828?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2025 15:27:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a299dc0-feee-4bd6-a6ac-6cdd45e5a076</guid><dc:creator>roaibrain</dc:creator><description>&lt;p&gt;Now I get this build error:&lt;/p&gt;
&lt;p&gt;CMake Error at /home/roshan/ncs/zephyr/cmake/modules/boards.cmake:167 (message):&lt;br /&gt; Invalid BOARD; see above.&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; /home/roshan/ncs/zephyr/cmake/modules/zephyr_default.cmake:129 (include)&lt;br /&gt; /home/roshan/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)&lt;br /&gt; /home/roshan/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)&lt;br /&gt; CMakeLists.txt:4 (find_package)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;FAILED: build.ninja &lt;br /&gt;/usr/bin/cmake --regenerate-during-build -S/home/roshan/zephyr-workspace/blinkypwm -B/home/roshan/zephyr-workspace/blinkypwm/build&lt;br /&gt;ninja: error: rebuilding &amp;#39;build.ninja&amp;#39;: subcommand failed&lt;br /&gt;FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/roshan/zephyr-workspace/blinkypwm/build&lt;br /&gt;&lt;br /&gt;I used west build -b nrf52dk_nrf52832, for the upstream zephyr this board was nrf52dk/nrf52832&lt;/p&gt;
&lt;p&gt;I have ncs at ~/ncs and the project at ~/zephyr-workspace/blinkypwm/&lt;br /&gt;ZEPHYR BASE points to ~/ncs/zephyr/&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand the error : Invalid BOARD&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error next to zephyr/kernel.h: "In included file: "_DSP_PRESENT and CONFIG_ARMV8_M_DSP are not set to the same value"</title><link>https://devzone.nordicsemi.com/thread/519811?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2025 14:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a110a818-e7a8-42ea-9da9-1e46043b679a</guid><dc:creator>roaibrain</dc:creator><description>&lt;p&gt;Zephyr v4.0.0-2778 with commit hash 1b70bfa14e&lt;br /&gt;&lt;br /&gt;So yes, I am using an upstream zephyr. I see,&amp;nbsp;that it is recommended to use&amp;nbsp;ncs-zephyr instead.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I will set up&amp;nbsp;NCS v2.5.0, which uses ncs-zephyr v3.3.99, and will let you know if things work out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error next to zephyr/kernel.h: "In included file: "_DSP_PRESENT and CONFIG_ARMV8_M_DSP are not set to the same value"</title><link>https://devzone.nordicsemi.com/thread/519768?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2025 13:22:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:497843fa-0df7-42fd-af88-b56fb0974830</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;Based on the emitted zephyr version of v4.0.99, it looks like you are running upstream zephyr?&lt;/p&gt;
&lt;p&gt;ncs-zephyr is currently at v3.7.99, even in the main branch.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In general, we do not recommend using main, but rather a tagged version.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you confirm what tag/hash that you&amp;#39;re using?&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>