<?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>Can&amp;#39;t build lvgl sample with ssd1306 and nrf52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117674/can-t-build-lvgl-sample-with-ssd1306-and-nrf52832</link><description>I try to do everything as in the guide (second advanced option) devzone.nordicsemi.com/.../small-i2c-oled-displays-using-nrf-connect-sdk but I get errors when building 
 
 
 but here my ssd1306_128x64.overlay 
 
 also overlay for my board 
 
 I work with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Sep 2025 11:39:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117674/can-t-build-lvgl-sample-with-ssd1306-and-nrf52832" /><item><title>RE: Can't build lvgl sample with ssd1306 and nrf52832</title><link>https://devzone.nordicsemi.com/thread/549548?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2025 11:39:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6267b07-c42a-4dc9-865f-ad665f7d578c</guid><dc:creator>sh4k3jkeee</dc:creator><description>&lt;p&gt;&lt;span&gt;As per your provided information, why you are&amp;nbsp;&lt;a class="in-cell-link" href="http://fineoutsolar.com" rel="noopener noreferrer" target="_blank"&gt;fineoutsolar&lt;/a&gt;&amp;nbsp;using 2 separate overlays? and how you are adding them both in the build configuration&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build lvgl sample with ssd1306 and nrf52832</title><link>https://devzone.nordicsemi.com/thread/516727?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 03:44:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb82b856-3a03-4036-977a-94ec9d0353c4</guid><dc:creator>Hester Beatty</dc:creator><description>&lt;p&gt;You should note that although the SSD1306 code works to a certain extent, the display results are not accurate, this may be due to the difference between the two types of screens (SH1106 and SSD1306) in signal processing, image buffer structure, or control commands.&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ffffff;"&gt;&lt;a style="color:#ffffff;" href="https://blockblast.org"&gt;Block Blast&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build lvgl sample with ssd1306 and nrf52832</title><link>https://devzone.nordicsemi.com/thread/516721?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 02:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb08db0d-1a13-4759-aa1c-852c686a48e8</guid><dc:creator>Illia Alexandrov</dc:creator><description>&lt;p&gt;&lt;span&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;Hello, thank you for your reply.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt; It looks like the ssd1306 overlay is added by itself.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I made a project based on this guy&amp;#39;s example&amp;nbsp;taking the same settings, but considering the specifics of nrf52, since it&amp;#39;s a relatively recent solution, I thought it should work. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/108026/nrf52840-dk---ssd1306---display"&gt;devzone.nordicsemi.com/.../nrf52840-dk---ssd1306---display&lt;/a&gt;. &lt;a href="https://github.com/DBS06/test_zephyr_oled"&gt;github.com/.../test_zephyr_oled&lt;/a&gt; . This project was built but I don&amp;#39;t see anything.&lt;/p&gt;
&lt;p&gt;So here is my overlay:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
    chosen {
        zephyr,display = &amp;amp;ssd1306;
    };
};

&amp;amp;pinctrl {
    i2c0_default: i2c0_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 22)&amp;gt;,
				&amp;lt;NRF_PSEL(TWIM_SCL, 0, 23)&amp;gt;;
		};
	};

	i2c0_sleep: i2c0_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 22)&amp;gt;,
				&amp;lt;NRF_PSEL(TWIM_SCL, 0, 23)&amp;gt;;
			low-power-enable;
        };
    };
};

&amp;amp;i2c0 {
    compatible = &amp;quot;nordic,nrf-twi&amp;quot;;
    status = &amp;quot;okay&amp;quot;;
    pinctrl-0 = &amp;lt;&amp;amp;i2c0_default&amp;gt;;
    pinctrl-1 = &amp;lt;&amp;amp;i2c0_sleep&amp;gt;;
    pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
    clock-frequency = &amp;lt;I2C_BITRATE_FAST&amp;gt;;


    ssd1306: ssd1306@3c {
        compatible = &amp;quot;solomon,ssd1306fb&amp;quot;;
        reg = &amp;lt;0x3c&amp;gt;;
        height = &amp;lt;64&amp;gt;;
        width = &amp;lt;128&amp;gt;;
        segment-offset = &amp;lt;0&amp;gt;;
        page-offset = &amp;lt;0&amp;gt;;
        display-offset = &amp;lt;0&amp;gt;;
        multiplex-ratio = &amp;lt;63&amp;gt;;
        prechargep = &amp;lt;0x22&amp;gt;;
        com-invdir;
        segment-remap;
    };
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1735869459794v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1735870097825v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also I should say that I actually use sh1106, but I have worked with it on several platforms and the code for ssd1306 always worked (not always correctly, but it showed something).&amp;nbsp;Should I close the failed build thread (because I was able to build), or can you help me further with the screen issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build lvgl sample with ssd1306 and nrf52832</title><link>https://devzone.nordicsemi.com/thread/516718?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 01:36:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9beb61d6-be84-46bd-865a-ccd1ac0b2980</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am not sure if the instructions for 2022 blog should work with the latest ncs 2.8.0.&lt;/p&gt;
&lt;p&gt;I would suggest either use the same sdk as suggested by the blog and then follow the instructions, or first try the lvgl sample from the ncs 2.8.0 and then modify accordingly.&lt;/p&gt;
&lt;p&gt;Where you able to compile the basic lvgl sample (as per sample instructions) in ncs 2.8.0?&lt;/p&gt;
&lt;p&gt;As per your provided information, why you are using 2 separate overlays? and how you are adding them both in the build configuration?&lt;/p&gt;
&lt;p&gt;It looks like one of the overlays is not included in the build.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>