<?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>What does `set(SHIELD ssd1306_128x32)` actually do?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96044/what-does-set-shield-ssd1306_128x32-actually-do</link><description>Hello, I was taking a look at the LittlevGL example today. I was able to get it working on my test bench using a 5340dk and some random Oled displays we have laying around the office. The example requires the `set(SHIELD ssd1306_128x32)` line to be added</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Jan 2023 09:57:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96044/what-does-set-shield-ssd1306_128x32-actually-do" /><item><title>RE: What does `set(SHIELD ssd1306_128x32)` actually do?</title><link>https://devzone.nordicsemi.com/thread/406812?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2023 09:57:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ca6c84a-a483-4e32-ab83-3f846623de1b</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi Brian,&lt;/p&gt;
&lt;p&gt;The set command &lt;a href="https://cmake.org/cmake/help/latest/command/set.html#command:set"&gt;sets&lt;/a&gt;&amp;nbsp;variables. &lt;br /&gt;&lt;br /&gt;ZEPHYR_BASE, BOARD, and SHIELD are specific zephyr &lt;a href="https://docs.zephyrproject.org/3.2.0/develop/application/index.html#important-build-system-variables"&gt;variables &lt;/a&gt;used during the build system.&lt;/p&gt;
&lt;p&gt;SHIELD is another zephyr variable also known as “add-on” or “daughter boards”, attach to a board to extend its features. In Zephyr, the shield feature provides Zephyr-formatted shield descriptions for easier compatibility with applications.&lt;/p&gt;
&lt;p&gt;Shield configuration files are available in the board directory under /boards/shields/&lt;/p&gt;
&lt;p&gt;Shield overlay, kconfig and defconfig files are present in specific sheild folder. Sheild activation can be done by:&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;either putting -DSHEILD argument in the build configuration&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;or setting SHIELD variable through the set command.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can read more about shields &lt;a href="https://docs.zephyrproject.org/3.2.0/hardware/porting/shields.html#shields"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>