<?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>Embed #define into code within SEGGER</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60827/embed-define-into-code-within-segger</link><description>Hi all, This just works in other compilers. I&amp;#39;m new to Nordic/Segger and have tried all variations of parenthesise, ## macro expansion. It&amp;#39;s got to be something simple! #define TASKER_PIF_TIMER TIMER0 
 NRF_TIMER0-&amp;gt;TASKS_START = 1; // works, as you&amp;#39;d</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 May 2020 11:21:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60827/embed-define-into-code-within-segger" /><item><title>RE: Embed #define into code within SEGGER</title><link>https://devzone.nordicsemi.com/thread/249166?ContentTypeID=1</link><pubDate>Mon, 11 May 2020 11:21:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdf63bb2-003e-40c7-a5f8-bfd9e4fc5f0b</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;This is still annoying. In Microchip land all of their compilers allow you to embed one define into another.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Embed #define into code within SEGGER</title><link>https://devzone.nordicsemi.com/thread/247279?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 10:04:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a36e7b06-98f2-4c93-89c1-dc9f59617d50</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;Yep, but that&amp;#39;s not answering the question. I&amp;#39;m wanting to embed a #define string into another - not define the whole thing on one line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Embed #define into code within SEGGER</title><link>https://devzone.nordicsemi.com/thread/247275?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 09:57:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90378f30-fc99-49d5-b22d-ff3433f94de1</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Clean your glasses.&lt;/p&gt;
&lt;p&gt;Then spot the difference:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define TASKER_PIF_TIMER    NRF_TIMER0&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>