<?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>Cannot build minimal code with CAF enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92488/cannot-build-minimal-code-with-caf-enabled</link><description>Hello, 
 Developing an application where we want to use CAF but I cannot get it to build properly. I have created a minimal example that does not work locally for me. Following the instructions here 
 Using NRF Connect SDK v2.1.0. Have updated everything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jul 2024 18:36:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92488/cannot-build-minimal-code-with-caf-enabled" /><item><title>RE: Cannot build minimal code with CAF enabled</title><link>https://devzone.nordicsemi.com/thread/496286?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 18:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e1f7bd-80ba-4ce7-b315-54771c453403</guid><dc:creator>neo_here</dc:creator><description>&lt;p&gt;Thanks Hieu, but I was able to fix it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build minimal code with CAF enabled</title><link>https://devzone.nordicsemi.com/thread/496196?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 12:04:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ea3622a-da13-43b7-b18d-41a6e265c48c</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;neo_here,&amp;nbsp;I actually find your description quite different with the issue discussed here. Please open a new DevZone case for it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build minimal code with CAF enabled</title><link>https://devzone.nordicsemi.com/thread/496100?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 22:18:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00b1a5f4-f7c4-4e55-a246-2a450f889f7f</guid><dc:creator>neo_here</dc:creator><description>&lt;p&gt;Hi, I have the same problem. Builds successfully locally with nRF connect desktop environment but fails on a minimal cloud pipeline&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build minimal code with CAF enabled</title><link>https://devzone.nordicsemi.com/thread/450793?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2023 09:52:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2deebe7-f7f4-4140-bdee-eda41f9305f7</guid><dc:creator>zsn</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/oivind"&gt;Øivind&lt;/a&gt;&amp;nbsp; I have already had mem_pool_size but stil have the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;same issue:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CMake Warning at ....../CMakeLists.txt:887 (message):
  No SOURCES given to Zephyr library: ..__nrf__subsys__caf__modules

  Excluding target from build.&lt;/pre&gt;&lt;/p&gt;
&lt;div id="gtx-trans" style="left:222px;position:absolute;top:90px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build minimal code with CAF enabled</title><link>https://devzone.nordicsemi.com/thread/389174?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 11:04:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcb5d9ab-29f0-49f8-acd2-30afdeacd5b5</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need to configure a heap size for this sample.&lt;/p&gt;
&lt;p&gt;Try adding this to your prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_HEAP_MEM_POOL_SIZE=2048&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Maybe the CAF subsystem should set this to a default value to avoid such errors, I&amp;#39;ll look into it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build minimal code with CAF enabled</title><link>https://devzone.nordicsemi.com/thread/389141?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 08:21:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2104ec4-ec2a-4180-987d-5e343ef8b467</guid><dc:creator>molzer</dc:creator><description>&lt;p&gt;I have made some progress by including other CAF modules like BLE_STATE and BLE_ADV, seems like the CAF sources are not included unless a module is also configured. Not sure if this is the intended behaviour or this is a bug in the build configurations&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>