<?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>nrfx timer example not building in nrf SDK connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119094/nrfx-timer-example-not-building-in-nrf-sdk-connect</link><description>Hi, 
 
 I am trying to build the nrfx timer example (not modified in any way) in nrf SDK v2.9.0 with toolchain of the same version for the nrf52dk_52832 and I am getting the following error message: 
 -- Configuring incomplete, errors occurred! See also</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Feb 2025 10:27:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119094/nrfx-timer-example-not-building-in-nrf-sdk-connect" /><item><title>RE: nrfx timer example not building in nrf SDK connect</title><link>https://devzone.nordicsemi.com/thread/523860?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 10:27:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8a2febc-5724-417a-81ed-79acc516a35c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It doesn&amp;#39;t say in the part of the build log that you included, but a little further up:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CMake Error at CMakeLists.txt:11 (GET_DEVICE_CONFIG_FILES):
  GET_DEVICE_CONFIG_FILES Macro invoked with incorrect arguments for macro
  named: GET_DEVICE_CONFIG_FILES&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Remove that line, or use the extra argument &amp;quot;--no-sysbuild&amp;quot; (or tick off the child_image build when generating your build configuration if you are using VS Code). Thank you for reporting this. I will report it internally.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfx timer example not building in nrf SDK connect</title><link>https://devzone.nordicsemi.com/thread/523836?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 09:23:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbc5ca10-69fa-4dbc-85a2-f6a61f0248d1</guid><dc:creator>Jakob Ruhe</dc:creator><description>&lt;p&gt;Hello Richard,&lt;/p&gt;
&lt;p&gt;I have no experience of the nrfx library but I had a quick look at the example and reproduced the problem you reported.&lt;/p&gt;
&lt;p&gt;The error actually happens earlier (at least on my machine) than what the log you have attached reveals.&lt;/p&gt;
&lt;p&gt;I believe this is the relevant error:&lt;pre class="ui-code" data-mode="text"&gt;CMake Error at CMakeLists.txt:11 (GET_DEVICE_CONFIG_FILES):
  GET_DEVICE_CONFIG_FILES Macro invoked with incorrect arguments for macro
  named: GET_DEVICE_CONFIG_FILES&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So a very simple fix is to comment out the invocation of that macro in this file:&lt;/p&gt;
&lt;p&gt;modules/hal/nordic/nrfx/samples/src/nrfx_timer/timer/CMakeLists.txt&lt;/p&gt;
&lt;p&gt;like so:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# GET_DEVICE_CONFIG_FILES(${BOARD} ../boards)
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;That said. I have no idea if the sample application works by doing so, but at least it builds. A more proper would be to actually make the macro invocation work.&lt;/p&gt;
&lt;p&gt;But if the only thing the macro tries to accomplish is to add an overlay, and that if the overlay is actually needed, you may try to build like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build --build-dir build/nrfx_timer --board nrf52dk/nrf52832 \
  -DEXTRA_DTC_OVERLAY_FILE=../boards/nrf52dk_nrf52832.overlay \
  modules/hal/nordic/nrfx/samples/src/nrfx_timer/timer&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Good luck with your project!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>