<?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 the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93551/can-the-uart-rx-tx-pins-be-also-read-as-gpio-input-pins</link><description>Greetings, 
 We are using the NCS for the development of a new product with a custom board based on the nRF52840 MCU. 
 First, we would like to use the Serial DFU feature to update the firmware over UART. I have found and will be implementing this guide</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Dec 2022 13:03:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93551/can-the-uart-rx-tx-pins-be-also-read-as-gpio-input-pins" /><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/398540?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2022 13:03:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:773f9e10-aa4b-40f7-818b-4d4eb164e1b8</guid><dc:creator>clockis</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thank you very much for your assistance!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am closing this ticket as per your suggestion and will be opening another specificaly focused on the issues that I am experiencing!&lt;/p&gt;
&lt;p&gt;Thank you for your time!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/398088?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 12:03:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62d16523-8d29-4a51-b971-965f324a5be6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Stavros,&amp;nbsp;&lt;br /&gt;Sorry for the late response. I was on vacation.&lt;/p&gt;
&lt;p&gt;I think you would need to create a new ticket as it&amp;#39;s drifting away from the original question. Also I don&amp;#39;t have much experience with the encrypting of image.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I mentioned, we don&amp;#39;t support encrypting image out of the box. So you would need to follow the documentation from MCUBoot and imgtool.&amp;nbsp;&lt;br /&gt;Vidar would have some more experience on this. I think creating a new ticket would be the best.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/397492?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2022 15:42:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a158e5e-bee4-4642-a6c9-3e4913a692d9</guid><dc:creator>clockis</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Two&amp;nbsp;followup questions to my first question:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;1. Could you elaborate on the method of manually encrypting using the imgtool or provide some relevant documentation as I could not find a way that worked by following the documentation and previous tickets on the subject:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/encrypted_images.html"&gt;developer.nordicsemi.com/.../encrypted_images.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92587/mcuboot-with-serial-uart-and-image-encryption"&gt;devzone.nordicsemi.com/.../mcuboot-with-serial-uart-and-image-encryption&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91331/nrf52840-ncs-mcuboot-cc310-enabled-image-encryption/383355"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/91331/nrf52840-ncs-mcuboot-cc310-enabled-image-encryption/383355&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;2. Is there encryption of the binary file used for updates available/possible for the nRF Secure Immutable Bootloader?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Stavros&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/397354?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2022 09:59:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dc76aae-4887-429c-b977-10a499ba4443</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Stavros,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. No it&amp;#39;s not enabled by default. So the binary file are original and can be reverse engineer.&amp;nbsp;It&amp;#39;s possible to enable encryption with MCUBoot, but we haven&amp;#39;t tested it and it&amp;#39;s not integrated in the build system. So you would need to manually encrypt the image using imgtool.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. You can just create one your self. Just make the child_image folder and then put a mcuboot.conf there.&amp;nbsp;&lt;br /&gt;You can also add extra CMake arguments like this:&amp;nbsp;&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/pastedimage1669283927818v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;3. No. But it should be possible to make your own protocol. SMP is not obligated. You just need to find a way to store the image in the correct slot and then boot to MCUboot to finish the swap.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/397270?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2022 18:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cc149f9-fca3-41dc-bafe-e6ea499c99c3</guid><dc:creator>clockis</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thank you very much for your responses they were very helpful and I have the Bootloader &amp;amp; DFU process working for both Serial DFU and OTA using BLE!&lt;/p&gt;
&lt;p&gt;I have some followup questions because the documentation is kind of fragmented and convoluted not really citing a specific way of implementing the DFU process (some use SMP Server and others use DFU-Util).&lt;/p&gt;
&lt;p&gt;I have used the &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu"&gt;SMP Server method&lt;/a&gt; with a custom private key succesfully and my questions are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Are the FW images generated when building the application (with the SMP Server &amp;amp; MCUBoot
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOTLOADER_MCUBOOT) such as app_update.bin &amp;amp; dfu_application.zip encrypted or protected from reverse engineering ( can someone get the source code by using these ) or do I have to enable encryption for the MCUBoot to achieve this? If so how is this done?&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;I have seen some &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92587/mcuboot-with-serial-uart-and-image-encryption"&gt;tickets&lt;/a&gt;&amp;nbsp;that use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_bootloader_config.html#using-custom-project-configurations"&gt;permanent configuration&lt;/a&gt; files for the MCUBoot without editing the MCUBoot source files by using a conf file in the child_image directory, but in my project there is no child_image directory thus I cant use a permanent conf file for MCUBoot because I want to add some conf options. How do I make it generate the child_image or alternatively how do I pass permanent configuration options to a child image such as MCUBoot using the VS Code (I have read all the guides and documentation on this and know it can be done by adding arguments to the the west build command but I dont want to do this everytime I want to build my application) Is there a way to specify them in VS Code so that when I press build in the nRF Connect Extension the build command includes &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_bootloader_config.html#using-custom-project-configurations"&gt;those arguments&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;Is there a better way to have a bootloader and perform DFU (serial &amp;amp; OTA) using something else other than the &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu"&gt;SMP Server and MCUMgr&lt;/a&gt;?&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thank you very much for your time!&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Stavros&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/396272?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 15:51:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da4a242d-bf86-4f31-bb0c-fde7086f044c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Stavros,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Do you have the custom_board.defconfig ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I believe it&amp;#39;s the root cause. I created my own board and got the same issue as you.&amp;nbsp;&lt;br /&gt;But if I copied the .defconfig of the DK board it worked for me.&amp;nbsp;&lt;br /&gt;It should look like this:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_MYBOARD2=y

# Enable MPU
CONFIG_ARM_MPU=y

# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y

# Enable RTT
CONFIG_USE_SEGGER_RTT=y

# enable GPIO
CONFIG_GPIO=y

# enable uart driver
CONFIG_SERIAL=y

# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# additional board options
CONFIG_GPIO_AS_PINRESET=y

CONFIG_PINCTRL=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would assume if you dont want to add the config in the board file, you can also add them in the proj.conf.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/396244?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 14:22:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7eaa8702-d1f3-4408-bbe0-ec70094faf1c</guid><dc:creator>clockis</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I have sent the hello_world project and included the board file (with dummy names) inside the project folder. Thank you very much!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/serial_5F00_dfu_5F00_hello_5F00_world.rar"&gt;devzone.nordicsemi.com/.../serial_5F00_dfu_5F00_hello_5F00_world.rar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/396241?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 14:10:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:864a3fa2-983e-4f3a-8dda-9cfbf4002cbb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Stavros,&amp;nbsp;&lt;br /&gt;Could you send us your board files and maybe your hello world project so we can test here.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You may think of making a dummy board files to test and send us that if you don&amp;#39; want to send your actual board files.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/396237?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 13:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa2c25c2-052b-4c7c-a321-941ae991b9db</guid><dc:creator>clockis</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thank you very much for the fast response&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/93551/can-the-uart-rx-tx-pins-be-also-read-as-gpio-input-pins/396191"]This meant&amp;nbsp;sparkfun_sara_r4 board configuration has select&amp;nbsp;&lt;span&gt;UART_INTERRUPT_DRIVEN&amp;nbsp;=n but UART_MCUMGR (MCUBOOT SMP)is selecting that symbol as y. I&amp;#39;m not very familiar with the sparkfun shield, but you may want to figure out how to change it to select&amp;nbsp;UART_INTERRUPT_DRIVEN&amp;nbsp;=y&lt;/span&gt;[/quote]
&lt;p&gt;I am not using the &lt;span&gt;sparkfun_sara_r4&amp;nbsp;&lt;/span&gt;, in my configuration I have selected our custom board and have succesfully build and flashed our&amp;nbsp;custom application multiple times and something like this has nver been an issue.&lt;/p&gt;
&lt;p&gt;Is there some configuration option that selects this board or that implicitly affects these configuration options?&lt;/p&gt;
&lt;p&gt;All I did after loading the hello_world sample and flashing it (tested it successfully) on the nRF52840DK is I added a second build configuration using the nRF Connect Extension for VS Code as shown below:&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/pastedimage1668688673426v1.png" alt=" " /&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/pastedimage1668688910566v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Is there some&amp;nbsp;other configuration,file or something else I should be paying attention to?&lt;/p&gt;
&lt;p&gt;I have also tryied adding and removing the same items as the nRF52840DK .dts file in the &amp;#39;chosen&amp;#39; section of the .dts file of our custom board as well as the same uart and button/led nodes and labels with no success either.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;chosen {
		zephyr,console = &amp;amp;uart0;
		zephyr,shell-uart = &amp;amp;uart0;
		zephyr,uart-mcumgr = &amp;amp;uart0;
		zephyr,bt-mon-uart = &amp;amp;uart0;
		zephyr,bt-c2h-uart = &amp;amp;uart0;
		zephyr,sram = &amp;amp;sram0;
		zephyr,flash = &amp;amp;flash0;
		zephyr,code-partition = &amp;amp;slot0_partition;
	};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I have also tryied to set &lt;span&gt;UART_INTERRUPT_DRIVEN&amp;nbsp;&lt;/span&gt;to &amp;#39;y&amp;#39; with no success. I just get errors about other dependecies that are necessary for the SMPSVR to work (as shown in the guide).&lt;/p&gt;
&lt;p&gt;Am I missing something?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/93551/can-the-uart-rx-tx-pins-be-also-read-as-gpio-input-pins/396191"]As far as I know it should work together with the application UART. But I assume you don&amp;#39;t plan to connect more than one UART peers to the nRF52 at the same time ?&amp;nbsp;[/quote]
&lt;p&gt;Thank you for the feedback on this its very helpful! No I do not plan on connecting more than one UART at a time.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any feedback on the issues mentioned above would be very helpful!&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Stavros&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/396191?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 12:12:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:154eefda-ef38-46ef-ac0d-cb257063660b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Stavros,&amp;nbsp;&lt;br /&gt;As mentioned in the log:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;warning: UART_INTERRUPT_DRIVEN ...is currently being y-selected by the following symbols:&lt;/em&gt;&lt;br /&gt;&lt;em&gt; - UART_MCUMGR (defined at drivers/console/Kconfig:190), with value y, direct dependencies CONSOLE (value: y), and select condition CONSOLE (value: y)&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;This meant&amp;nbsp;sparkfun_sara_r4 board configuration has select&amp;nbsp;&lt;span&gt;UART_INTERRUPT_DRIVEN&amp;nbsp;=n but UART_MCUMGR (MCUBOOT SMP)is selecting that symbol as y. I&amp;#39;m not very familiar with the sparkfun shield, but you may want to figure out how to change it to select&amp;nbsp;UART_INTERRUPT_DRIVEN&amp;nbsp;=y.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="clockis"]Also a followup question regarding this approach of DFU process using SMPSVR. Will I be able to use the same UART that the DFU process uses for regular communication and data exchange with other ICs,MCUs etc.??[/quote]
&lt;p&gt;As far as I know it should work together with the application UART. But I assume you don&amp;#39;t plan to connect more than one UART peers to the nRF52 at the same time ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/396059?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2022 16:11:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b57eb53d-f830-43a5-9ac3-a3cd46fc8771</guid><dc:creator>clockis</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thank you very much for your imediate response!&lt;/p&gt;
&lt;p&gt;I am trying to add the serial dfu functionality described in &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu"&gt;this guide&lt;/a&gt;&amp;nbsp;to an application based on the hello_world sample(with no modifications) on &lt;strong&gt;our custom board&lt;/strong&gt;(before tryng it&amp;nbsp;with our actual custom application).&lt;/p&gt;
&lt;p&gt;I have succesfully completed the procedure on a nRF52840-DK but when I specify our custom board as the target(by switching just the build configuration, for the same source files and prj.config files) instead of the DK I get the following error when I try to pristine build:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: UART_INTERRUPT_DRIVEN (defined at boards/shields\sparkfun_sara_r4\Kconfig.defconfig:24, boards/shields\wnc_m14a2a\Kconfig.defconfig:17, soc/arm\quicklogic_eos_s3\Kconfig.defconfig:17, drivers/serial/Kconfig:72) has direct dependencies (NETWORKING &amp;amp;&amp;amp; SHIELD_SPARKFUN_SARA_R4) || (NETWORKING &amp;amp;&amp;amp; SHIELD_WNC_M14A2A) || (SERIAL &amp;amp;&amp;amp; SOC_EOS_S3) || (SERIAL_SUPPORT_INTERRUPT &amp;amp;&amp;amp; SERIAL) with value n, but is currently being y-selected by the following symbols:
 - UART_MCUMGR (defined at drivers/console/Kconfig:190), with value y, direct dependencies CONSOLE (value: y), and select condition CONSOLE (value: y)

error: Aborting due to Kconfig warnings

CMake Error at C:/ncs/v2.1.0/zephyr/cmake/modules/kconfig.cmake:293 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/v2.1.0/zephyr/cmake/modules/zephyr_default.cmake:121 (include)
  C:/ncs/v2.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: &amp;#39;c:\ncs\toolchains\v2.1.0\opt\bin\cmake.EXE&amp;#39; &amp;#39;-DWEST_PYTHON=c:\ncs\toolchains\v2.1.0\opt\bin\python.exe&amp;#39; &amp;#39;-Bc:\ncs\feel_v2_fw\serial_dfu_hello_world\build_1&amp;#39; -GNinja -DBOARD=feel_v2_evb_v1_0_0 -DNCS_TOOLCHAIN_VERSION:STRING=NONE &amp;#39;-DBOARD_ROOT:STRING=c:/ncs;c:/ncs/feel_v2_fw/feel_v2_fw;c:/ncs/feel_v2_fw/feel_v2_fw/src&amp;#39; -DCONF_FILE:STRING=c:/ncs/feel_v2_fw/serial_dfu_hello_world/prj.conf &amp;#39;-Sc:\ncs\feel_v2_fw\serial_dfu_hello_world&amp;#39;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The configuration options that the guide instructed to add worked succesfully when the build configuration selected was the nRF52840DK, so they should be correct.&lt;/p&gt;
&lt;p&gt;Am I missing something that should be added other that the configuration mentioned on the guide (maybe in the .dts of our custom board) because everything else is the same and works when I change to the nRD52840DK Build Configuration.&lt;/p&gt;
&lt;p&gt;Also a followup question regarding this approach of DFU process using SMPSVR. Will I be able to use the same UART that the DFU process uses for regular communication and data exchange with other ICs,MCUs etc.??&lt;/p&gt;
&lt;p&gt;Thank you very much.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/395921?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2022 09:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e186251a-ae00-42f9-93be-8396c4332b7c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Stavros,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Could you let me now why you want to build the MCUBoot with no application ?&amp;nbsp;&lt;br /&gt;Our suggested approach is to build the MCUBoot with the application. It&amp;#39;s the easiest and most common way of doing it.&amp;nbsp;&lt;br /&gt;Of course you can choose to build and flash only the MCUBoot. You can have a look at the guide &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/readme-zephyr.html"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;To enable serial recovery you would need to define the following configuration for MCUBoot:&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MCUBOOT_SERIAL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_CONSOLE&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I haven&amp;#39;t tried myself but I believe if you want to use USB CDC UART for recovery&amp;nbsp; you would need to define:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOT_SERIAL_CDC_ACM=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/395761?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2022 11:33:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6b0f78d-cb44-49cc-b33f-82eabdba7f12</guid><dc:creator>clockis</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I have an additional question regarding the flashing of the bootloader with no application.&lt;/p&gt;
&lt;p&gt;Is there a guide or sample that explains the usage and how to flash the MCUBoot without an application in serial recovery mode preferably using USB CDC UART in a custom board?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/394511?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2022 15:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e9dab2d-dac6-4a94-a505-c5dc4dd95c5f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Stavros,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="clockis"]A followup question, is it possible to have Serial DFU as well as OTA DFU enabled at the same time?[/quote]
&lt;p&gt;No I don&amp;#39;t see any problem having both Serial DFU and BLE OTA DFU supported at the same time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/394227?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 15:43:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7b0de21-a826-462f-8f2d-f13931ab7152</guid><dc:creator>clockis</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thank you very much for your immediate response!&lt;/p&gt;
&lt;p&gt;This info is very helpful, I wil look into it!&lt;/p&gt;
&lt;p&gt;A followup question, is it possible to have Serial DFU as well as OTA DFU enabled at the same time?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can the UART RX/TX pins be also read as GPIO input pins</title><link>https://devzone.nordicsemi.com/thread/394169?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 13:38:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65fd759c-cfc1-4fd1-8d34-560f8e9a38d8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Stavros,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding your questions:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Correct. If you want to implement DFU update in your application you can follow the guide and integrate SMPSVR into your application. Note that MCUBoot also support recovery mode that you can hold a button and enter DFU mode.(CONFIG_&lt;span&gt;MCUBOOT_SERIAL=y)&amp;nbsp;&lt;/span&gt; This way you don&amp;#39;t need to implement anything in the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Currently we have the possibility to dynamically configuration a pin with &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/zephyr/samples/boards/nrf/dynamic_pinctrl/README.html"&gt;dynamic pinctrl.&lt;/a&gt; However, as far as I know it should only be used before the peripheral has been initialized ,as you can read &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/pinctrl/index.html#dynamic-pin-control"&gt;here .&lt;/a&gt;&amp;nbsp;I will need to double check with our team to get back to you.&amp;nbsp;&lt;br /&gt;Otherwise you can do what you planning, to connect the pin to two other GPIO pins and then use them as input.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>