<?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>Renesas RX: C++ tryout with GCC</title><link>/technologies/embedded/b/blog/posts/renesas-rx-c-tryout-with-gcc</link><description>When you create a new Renesas project for an RX device, you can choose C++. Let&amp;#39;s try it out with an object oriented blinky.
For simplicity, I&amp;#39;m creating one class: an output pin class called io::O. It can drive a pin high and low. Yo...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Renesas RX: C++ tryout with GCC</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/renesas-rx-c-tryout-with-gcc</link><pubDate>Sat, 22 Jul 2023 17:56:23 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:baa32776-ff35-4871-ac73-ef4385ae8388</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice post Jan.&lt;/p&gt;
&lt;p&gt;It is a good example of why you need to know what your compiler is doing to you, not for you.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26533&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Renesas RX: C++ tryout with GCC</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/renesas-rx-c-tryout-with-gcc</link><pubDate>Fri, 21 Jul 2023 12:57:18 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:baa32776-ff35-4871-ac73-ef4385ae8388</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;For the fans, memory usage&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CPP:&lt;br /&gt;&lt;img height="150" src="/resized-image/__size/1334x300/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-baa32776-ff35-4871-ac73-ef4385ae8388/pastedimage1689944236495v4.png" width="667" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;C:&lt;br /&gt;&lt;img src="/resized-image/__size/1280x720/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-baa32776-ff35-4871-ac73-ef4385ae8388/pastedimage1689944222457v3.png" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26533&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Renesas RX: C++ tryout with GCC</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/renesas-rx-c-tryout-with-gcc</link><pubDate>Fri, 21 Jul 2023 10:48:45 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:baa32776-ff35-4871-ac73-ef4385ae8388</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I&amp;#39;ve&amp;nbsp;designed this class so that it (kind of) acts as a boolean.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:67422741-8095-42cf-b357-50f711552444:type=c_cpp&amp;text=%2F%2F%20...%0A%0Aio%3A%3AO%20led%28GPIO_PORT_H_PIN_2%29%3B%0A%0A%2F%2F%20all%20of%20these%20are%20valid%3A%0A%0A%2F%2F%20set%20led%20pin%20high%20or%20low%0Aled%20%3D%20true%3B%0Aled%20%3D%20false%3B%0A%0A%2F%2F%20is%20the%20led%20pin%20high%3F%0Abool%20state%20%3D%20led%3B%0A%0A%2F%2F%20inverse%20the%20led%20pin%0Aled%20%3D%20%21led%3B%0A%0A%2F%2F%20inverse%20the%20led%20pin%0Aled%20%21%3D%20led%3B%0A%0Aio%3A%3AO%20output2%28GPIO_PORT_1_PIN_1%29%3B%0A%0A%2F%2F%20both%20set%20the%20state%20of%20led%20to%20the%20inverse%20state%20of%20output2%3A%0Aled%20%3D%20%21output%3B%0Aled%20%21%3D%20output%3B%0A%0A%2F%2F%20controversial%3F%20led%20now%20is%20the%20output2%20pin%2C%20pin%20assignment%20changes%20and%20state%20taken%20over%20%28my%20choice%29%0A%2F%2F%20alternative%2C%20I%20can%20implement%20it%20so%20that%20the%20led%20takes%20over%20only%20the%20state%20from%20output2%2C%20instead%20of%20becoming%20output2%0Aled%20%3D%20output2%3B%0A]&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26533&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>