<?xml-stylesheet type="text/xsl" href="https://community.element14.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/"><channel><title>MSPM0 C++ project: service handler considerations</title><link>/technologies/embedded/b/blog/posts/mspm0-c-project</link><description>You can use C++ for MSPM0 designs. There&amp;#39;s one watch-out: if you have your event handlers in a .cpp file, you have to wrap those functions in an extern &amp;quot;C&amp;quot; {} wrapper.
The SysConfig mechanism expect that the handlers have a particular name.&amp;amp;nbsp...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: MSPM0 C++ project: service handler considerations</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/mspm0-c-project</link><pubDate>Mon, 07 Sep 2026 13:28:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:bbc69cb4-de53-46a2-aa1a-cf888c78c982</guid><dc:creator>Qbit</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Useful information, but if I had know it before it could have save my days.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=30155&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSPM0 C++ project: service handler considerations</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/mspm0-c-project</link><pubDate>Sun, 06 Sep 2026 15:34:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:bbc69cb4-de53-46a2-aa1a-cf888c78c982</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Super useful! This is also&amp;nbsp;handy if writing or porting a library of code that might be&amp;nbsp;marginally more convenient in C just for a bit more portability (since some microcontrollers might not offer C++ compiler), and then using that everywhere, including C++ programs.&lt;/p&gt;
&lt;p&gt;I think I&amp;#39;ve not written any C++ for MSPM0 yet, looking forward to doing that, since it&amp;#39;s quite hard restricting to plain C, I always get the urge to&amp;nbsp;write classes..&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=30155&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>