<?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>Inquiry about the Role and Necessity of .yaml Files in nRF9160 Cellular IoT Application Development</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109126/inquiry-about-the-role-and-necessity-of-yaml-files-in-nrf9160-cellular-iot-application-development</link><description>Hi, 
 am currently engaged in working with the nRF9160 board, particularly focusing on the cellular IoT exercises provided by Nordic Semiconductor. In Lesson 4 Exercise 1, I successfully built and flashed the provided code, achieving the expected output</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Mar 2024 08:14:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109126/inquiry-about-the-role-and-necessity-of-yaml-files-in-nrf9160-cellular-iot-application-development" /><item><title>RE: Inquiry about the Role and Necessity of .yaml Files in nRF9160 Cellular IoT Application Development</title><link>https://devzone.nordicsemi.com/thread/473348?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 08:14:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b03e468-d0dc-47dc-bb5f-7660c1eaef83</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="purushothaman"]One particular area of confusion for me is the varying .yaml configurations across different sample projects. While I understand that these configurations are tailored to specific project requirements, the differences make it challenging to determine which configurations to follow, especially when working on new projects.[/quote]
&lt;p&gt;This&amp;nbsp;&lt;a title="subpage" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/sample_definition_and_criteria.html#twister-should-be-able-to-build-every-sample"&gt;subpage&amp;nbsp;&lt;/a&gt;of&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/sample_definition_and_criteria.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/sample_definition_and_criteria.html&lt;/a&gt; explains my previous comment better. It says that Twister, a test runner, needs to be able to build every sample&amp;nbsp;developer.nordicsemi.com/.../twister.html configuration of the .yaml in both the samples and in the academy samples are created according to these configurations.&lt;/p&gt;
[quote user="purushothaman"]However, I&amp;#39;m curious to know if there&amp;#39;s a similar rationale behind the differences in LED-related configurations between different projects.[/quote]
&lt;p&gt;Yes, there&amp;#39;s a similar rationale between how these two .yaml are set up, where the major difference is the platforms supported. In the LTE Cellular academy course the samples are only supported for nRF91 family devices, while the samples found in the SDK, such as the Blinky samples, should support all frdm_k64f platforms (which includes all other nRF SoCs and more that are supported in NCS and Zephyr)&lt;/p&gt;
&lt;p&gt;In general, you don&amp;#39;t need the sample.yaml for a custom project in your own custom firmware that will go into your custom hardware. It is however important to add if this should be tested with Twister at any point in time, such as with the samples found in nRF Connect SDK&lt;/p&gt;
&lt;p&gt;I hope this answers your questions&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry about the Role and Necessity of .yaml Files in nRF9160 Cellular IoT Application Development</title><link>https://devzone.nordicsemi.com/thread/473204?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 13:40:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c68b1f46-c598-4e79-816d-81a6f574a8f6</guid><dc:creator>purushothaman</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve encountered some queries regarding the .yaml configurations across different projects within the nRF ecosystem. Your previous response shed some light on the usage of the sample.yaml file, which was greatly appreciated.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;One particular area of confusion for me is the varying .yaml configurations across different sample projects. While I understand that these configurations are tailored to specific project requirements, the differences make it challenging to determine which configurations to follow, especially when working on new projects.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;However, I still seek further clarification, particularly regarding the absence of LED-related configurations in the &amp;quot;Cellular IoT Fundamentals Course .yaml&amp;quot; compared to the explicit LED configurations present in the &amp;quot;Blinky Sample .yaml&amp;quot;.&lt;/p&gt;
&lt;p&gt;Your explanation regarding the sample.yaml file&amp;#39;s role in listing supported kits was insightful. I understand that it forms a crucial part of the documentation for maintaining and managing the SDK and samples. However, I&amp;#39;m curious to know if there&amp;#39;s a similar rationale behind the differences in LED-related configurations between different projects.&lt;/p&gt;
&lt;p&gt;Could you kindly provide insights into why LED-related configurations are present in one project but not in the other? Understanding this discrepancy will greatly assist me in effectively utilizing the provided resources for my development tasks.&lt;/p&gt;
&lt;p&gt;Additionally, you mentioned that everything needed to understand how this works is documented in the parent page to template_sample. I will certainly explore the provided documentation for further clarification. Nevertheless, any additional guidance or pointers regarding LED-related configurations would be immensely helpful.&lt;/p&gt;
&lt;p&gt;For better context, below are the specific .yaml configurations for the &amp;quot;Cellular IoT Fundamentals Course&amp;quot; and the &amp;quot;Blinky Sample&amp;quot;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Cellular IoT Fundamentals Course .yaml&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name: Cellular IoT Fundamentals Course&lt;/li&gt;
&lt;li&gt;Configuration:
&lt;div class="dark bg-gray-950 rounded-md"&gt;
&lt;div class="flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md"&gt;&lt;span&gt;yaml&lt;/span&gt;&lt;span class="" data-state="closed"&gt;Copy code&lt;/span&gt;&lt;/div&gt;
&lt;div class="p-4 overflow-y-auto"&gt;tests:&lt;br /&gt; samples.cellular.fundamentals_course:&lt;br /&gt; build_only: true&lt;br /&gt; platform_allow: nrf9161dk_nrf9161_ns nrf9160dk_nrf9160_ns thingy91_nrf9160_ns&lt;br /&gt; integration_platforms:&lt;br /&gt; - nrf9161dk_nrf9161_ns&lt;br /&gt; - nrf9160dk_nrf9160_ns&lt;br /&gt; - thingy91_nrf9160_ns&lt;br /&gt; tags: ci_build&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Blinky Sample .yaml&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Name: Blinky Sample&lt;/li&gt;
&lt;li&gt;Configuration:
&lt;div class="dark bg-gray-950 rounded-md"&gt;
&lt;div class="flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md"&gt;&lt;span&gt;yaml&lt;/span&gt;&lt;span class="" data-state="closed"&gt;Copy code&lt;/span&gt;&lt;/div&gt;
&lt;div class="p-4 overflow-y-auto"&gt;sample:&lt;br /&gt; name: Blinky Sample&lt;br /&gt; tests:&lt;br /&gt; sample.basic.blinky:&lt;br /&gt; tags:&lt;br /&gt; - LED&lt;br /&gt; - gpio&lt;br /&gt; filter: dt_enabled_alias_with_parent_compat(&amp;quot;led0&amp;quot;, &amp;quot;gpio-leds&amp;quot;)&lt;br /&gt; depends_on: gpio&lt;br /&gt; harness: led&lt;br /&gt; integration_platforms:&lt;br /&gt; - frdm_k64f&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thank you for your attention to this matter, and I eagerly await your response.&lt;/p&gt;
&lt;p&gt;Warm regards,&lt;br /&gt;Purushothaman&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry about the Role and Necessity of .yaml Files in nRF9160 Cellular IoT Application Development</title><link>https://devzone.nordicsemi.com/thread/473172?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 12:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65c69782-91e7-48e3-a3f5-74b821ed764e</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The sample.yaml that are used cointains a list of supported kits. It is explained as &lt;em&gt;&amp;quot;Supported kits are listed in a table, which is composed of rows from the&amp;nbsp;&lt;code&gt;&lt;span&gt;doc/nrf/includes/sample_board_rows.txt&lt;/span&gt;&lt;/code&gt;&amp;nbsp;file. Select the required rows in the&amp;nbsp;&lt;code&gt;&lt;span&gt;:rows:&lt;/span&gt;&lt;/code&gt;&amp;nbsp;configuration, or use the&amp;nbsp;&lt;code&gt;&lt;span&gt;..&lt;/span&gt;&amp;nbsp;&lt;span&gt;table-from-sample-yaml::&lt;/span&gt;&lt;/code&gt;&amp;nbsp;directive to include all build targets specified in the&amp;nbsp;&lt;code&gt;&lt;span&gt;sample.yaml&lt;/span&gt;&lt;/code&gt;&amp;nbsp;file.&amp;quot;&amp;nbsp;&amp;nbsp;&lt;/em&gt;in&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/templates/sample_README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/templates/sample_README.html&lt;/a&gt;&amp;nbsp;which is a part of the documentation we have for maintaining and managing a SDK and samples.&lt;/p&gt;
&lt;p&gt;Everything you should ever need to know about how this works is documented in the parent page to template_sample, i.e in&amp;nbsp; &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/dev_model_and_contributions.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/dev_model_and_contributions.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>