<?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>I2c configuration In MCUboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121984/i2c-configuration-in-mcuboot</link><description>I&amp;#39;m working on a custom board based on the nRF5340. On this board, the UART output (connected to an RS232 transceiver) is gated through an I/O expander which is controlled via I2C. This means the RS232 driver is only enabled after the application configures</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jun 2025 09:36:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121984/i2c-configuration-in-mcuboot" /><item><title>RE: I2c configuration In MCUboot</title><link>https://devzone.nordicsemi.com/thread/539508?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2025 09:36:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:422a0adf-7117-44be-b924-e16456e9d101</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;The error message &amp;#39;&amp;#39;No prj.conf file(s) was found in the C:/gnodeBoot/sysbuild/mcuboot folder(s), please read the Zephyr documentation on application development&amp;#39;&amp;#39; means that you need to add a prjconf file in the systbuild/mcuboot directory which is missin now. Build system expects this project configuration.This is a requirement when using sysbuild with MCUboot, especially if you have board-specific configuration files or overlays in that directory.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;So try to do the following steps&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;&lt;span style="font-size:inherit;"&gt;Create a file at&amp;nbsp;&lt;code dir="ltr"&gt;C:/gnodeBoot/sysbuild/mcuboot/prj.conf&lt;/code&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;span style="font-size:inherit;"&gt;Copy the contents of the default MCUboot&amp;nbsp;&lt;code dir="ltr"&gt;prj.conf&lt;/code&gt;&amp;nbsp;(from the MCUboot source, typically found at&amp;nbsp;&lt;code dir="ltr"&gt;bootloader/mcuboot/boot/zephyr/prj.conf&lt;/code&gt;&amp;nbsp;in your NCS installation) into your new&amp;nbsp;&lt;code dir="ltr"&gt;sysbuild/mcuboot/prj.conf&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c configuration In MCUboot</title><link>https://devzone.nordicsemi.com/thread/538564?ContentTypeID=1</link><pubDate>Mon, 09 Jun 2025 16:05:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd1851d3-57a0-4ba9-89fc-c4cd182d5e1a</guid><dc:creator>Monali K</dc:creator><description>&lt;p&gt;any update on this&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c configuration In MCUboot</title><link>https://devzone.nordicsemi.com/thread/538207?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 12:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83c61fa4-b0e6-4a70-a7d1-847605896b9c</guid><dc:creator>Monali K</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;I tried it with&amp;nbsp;&lt;br /&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/pastedimage1749126057355v1.png" /&gt;&lt;br /&gt;&lt;br /&gt;and tried to build the project I got error&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/extensions.cmake:2923 (message):
  No prj.conf file(s) was found in the C:/gnodeBoot/sysbuild/mcuboot
  folder(s), please read the Zephyr documentation on application development.
Call Stack (most recent call first):
  C:/ncs/v2.9.0/zephyr/cmake/modules/configuration_files.cmake:40 (zephyr_file)
  C:/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:12 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: mcuboot
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;also when I used normal mcuboot.overlay i2c1 is present in zyphyr.dts&lt;br /&gt;&lt;br /&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/pastedimage1749128251829v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2c configuration In MCUboot</title><link>https://devzone.nordicsemi.com/thread/537883?ContentTypeID=1</link><pubDate>Tue, 03 Jun 2025 13:11:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c24590e-f65d-458f-83d7-4aba927db69b</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;The error &amp;#39;&lt;code dir="ltr"&gt;undefined reference to &amp;#39;__device_dts_ord_105&amp;#39;&lt;/code&gt;&amp;nbsp;shows that either I2C is not enabled in the final devicetree for MCUboot or the required I2C driver is not enabled in the MCUboot build. Can you please check here in the zephyr.dts file (&lt;strong&gt;build/mcuboot/zephyr/zephyr.dts&lt;/strong&gt;) is the i2c1 has &amp;#39;status = &amp;quot;okay&amp;quot; &amp;#39;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;If not, the overlay may not be applied correctly. Make sure the overlay file is in the correct location and named properly.&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;For nRF5340 custom board, use&amp;nbsp;&lt;code dir="ltr"&gt;child_image/mcuboot/boards/&amp;lt;your_board&amp;gt;.overlay&lt;/code&gt;&amp;nbsp;(multi-image), for generic&amp;nbsp;child_image/mcuboot.overlay or&amp;nbsp;&lt;code dir="ltr"&gt;sysbuild/mcuboot/boards/&amp;lt;your_board&amp;gt;.overlay&lt;/code&gt;&amp;nbsp;(Sysbuild), for generic sysbuild/mcuboot.overlay&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;In the mcuboot.conf, you have CONFIG_I2C=y, you can try to add the&amp;nbsp;CONFIG_NRFX_TWIM=y or CONFIG_NRFX_TWI for enabling the correct driver.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>