<?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>Issue when creating a new Event Manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64356/issue-when-creating-a-new-event-manager</link><description>Hi, 
 I&amp;#39;m trying to create my switch_event by using Event Manager. 
 And I got this issue: &amp;quot;undefined reference to `__event_type_switch_event&amp;#39; &amp;quot; when submitting my event: 
 
 struct switch_event *event = new_switch_event(); 
 
 event-&amp;gt;key_id = 1; 
 event</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Jul 2020 02:40:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64356/issue-when-creating-a-new-event-manager" /><item><title>RE: Issue when creating a new Event Manager</title><link>https://devzone.nordicsemi.com/thread/262485?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2020 02:40:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c79b8c8-98b3-4f58-a8c1-4c663f00ee05</guid><dc:creator>Nhuan</dc:creator><description>&lt;p&gt;Hi Didrik,&lt;/p&gt;
&lt;p&gt;I forgot to include the .c file in CMakeList.txt. It worked.&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue when creating a new Event Manager</title><link>https://devzone.nordicsemi.com/thread/262445?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 14:24:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab7ef234-8b73-498e-b20e-4cf095aeb4fb</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Do you include the .c file for your event in CMakeLists.txt/your project?&lt;/p&gt;
&lt;p&gt;This works as expected for me (tested with NCS v1.3, board nrf9160dk_nrf9160ns)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-6e984078faed462dba43c8d57e62a3be/event_5F00_manager_5F00_demo.zip"&gt;devzone.nordicsemi.com/.../event_5F00_manager_5F00_demo.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue when creating a new Event Manager</title><link>https://devzone.nordicsemi.com/thread/262412?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 12:55:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc412d17-8dcd-4e63-b8d4-ae00f761395e</guid><dc:creator>Nhuan</dc:creator><description>&lt;p&gt;Hi Didrik,&lt;/p&gt;
&lt;p&gt;I have followed, but it did not work.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know what I am missing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue when creating a new Event Manager</title><link>https://devzone.nordicsemi.com/thread/262399?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 12:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5938e8c-b228-4c56-a504-2af84583adff</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Have you followed the steps described here?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.3.0/nrf/include/event_manager.html#configuration"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.3.0/nrf/include/event_manager.html#configuration&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>