<?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>Merging Zephyr Samples (LIS2DH and UART bridge peripheral)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122078/merging-zephyr-samples-lis2dh-and-uart-bridge-peripheral</link><description>Hello all, I am writing this as I am very new to Studio visual code, nrf connect, and many various things used in this project. Currently I am using the two samples given using the extension nRF connect with VS code, trying to use the Thingy52 to log</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Jun 2025 19:08:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122078/merging-zephyr-samples-lis2dh-and-uart-bridge-peripheral" /><item><title>RE: Merging Zephyr Samples (LIS2DH and UART bridge peripheral)</title><link>https://devzone.nordicsemi.com/thread/538474?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 19:08:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8531177e-7b40-4c03-a89e-9a3af1421721</guid><dc:creator>A Lukas</dc:creator><description>&lt;p&gt;Thank you for the answer. I will look more into how to add each config and code to make it work. I was recommended to start with the NUS sample and add the sensor as you had suggested also. Looking at the figure of the LIS2DH sample I would assume I would copy paste the files into the NUS sample, unless the file was already in there (there are some files that are the same). As for the main c and prj.conf I will add those together.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&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/8231.sample.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merging Zephyr Samples (LIS2DH and UART bridge peripheral)</title><link>https://devzone.nordicsemi.com/thread/538415?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 12:33:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c6979f1-8903-462f-80cf-7a738a2b60d9</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you want to add functionality from one sample into another, you must add the C code and any Kconfig options (like in prj.conf) and devicetree overlays (.dts files) from the project you want to copy into the other project. In this case, it&amp;#39;s easiest to use the NUS sample as the starting point and add the&amp;nbsp;LIS2DH code to this.&lt;/p&gt;
&lt;p&gt;&lt;span style="margin:0;padding:0;text-align:left;"&gt;If you are new to the nRF Connect SDK, I recommend the&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/" rel="noopener noreferrer" target="_blank"&gt;Nordic Developer Academy&lt;/a&gt;&amp;nbsp;as an excellent place to start learning about the SDK, and especially the&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;nRF Connect SDK Fundamentals&lt;/a&gt;&amp;nbsp;course.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="margin:0;padding:0;text-align:left;"&gt;Best regards,&lt;br /&gt;Marte&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merging Zephyr Samples (LIS2DH and UART bridge peripheral)</title><link>https://devzone.nordicsemi.com/thread/538312?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 20:33:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f5492ad-cb3c-4e53-aff3-164a7be807b5</guid><dc:creator>A Lukas</dc:creator><description>&lt;p&gt;I do also have the project config files if need be.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>