<?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>Multiple definition of  `UARTE0_UART0_IRQHandler&amp;#39;:</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81017/multiple-definition-of-uarte0_uart0_irqhandler</link><description>Hello All, 
 I am using nRF52840 Dev-kit and SDK 4.0 for Zigbee and thread. Due to some functions, we are using SDK 4.0 for this project which is not present in SDK 4.1. 
 I interfacing the UART0 in my thread example. I am getting the below errors. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Nov 2021 13:12:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81017/multiple-definition-of-uarte0_uart0_irqhandler" /><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/339432?ContentTypeID=1</link><pubDate>Wed, 17 Nov 2021 13:12:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c0685c8-5ca5-43b9-9708-e4d35dabeba4</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Rohit,&lt;/p&gt;
&lt;p&gt;From the build log it looks like you haven&amp;#39;t enabled the USB modules in the sdk_config.h file, since you are getting so many &amp;quot;undefined reference to &amp;#39;app_usbd_enabled&amp;#39;&amp;quot; etc. Try to enable USB in sdk_config.h, asI think this is mandatory when using the usb lib.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/337812?ContentTypeID=1</link><pubDate>Mon, 08 Nov 2021 03:24:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ceb0320c-9dc5-49a7-a00d-de4b11fdc0cd</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the late response. Due to the festival holiday in India, we are closed for a week.&lt;/p&gt;
&lt;p&gt;We are back and working on the suggestion.&lt;/p&gt;
[quote userid="73427" url="~/f/nordic-q-a/81017/multiple-definition-of-uarte0_uart0_irqhandler/337037#337037"]To have used UART0 in another product using Zigbee is not a very good argument. Using UARTE1 in your application would be the easiest option in your case I think.[/quote]
&lt;p&gt;Since Zigbee and BLE product is ready using UART0, we are continuing the same with Thread. We want to make uniforms in all protocol products.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Before your feedback, we thought the same to work with UARTE1 till we get positive feedback and make UART0 free for users. I made the changes in the project with UARTE1 but this is temporary, I need UART0 free for uniform.&lt;/p&gt;
[quote userid="73427" url="~/f/nordic-q-a/81017/multiple-definition-of-uarte0_uart0_irqhandler/337037#337037"]Another thing you can try is to change libopenthread-nrf52840-sdk.a with libopenthread-nrf52840-sdk-spi.a or libopenthread-nrf52840-sdk-usb.a, so the stacks occupy a SPI instance or USB instance instead..[/quote]
&lt;p&gt;- I tried to replace the &lt;span&gt;libopenthread-nrf52840-sdk.a&amp;nbsp;&lt;/span&gt;file with lib libopenthread-nrf52840-sdk-usb.a but getting the too many errors.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Below is the error list. let me know what other things need to be included to make error-free code related to USB lib,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: missing --end-group; added as last command line option
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk-usb.a(usb-cdc-uart.c.o): in function `usbdUserEventHandler&amp;#39;:
1&amp;gt; C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:142: undefined reference to `app_usbd_disable&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk-usb.a(usb-cdc-uart.c.o): in function `isPortOpened&amp;#39;:
1&amp;gt; C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:176: undefined reference to `app_usbd_cdc_acm_line_state_get&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk-usb.a(usb-cdc-uart.c.o): in function `cdcAcmUserEventHandler&amp;#39;:
1&amp;gt; C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:107: undefined reference to `app_usbd_cdc_acm_read_any&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:121: undefined reference to `app_usbd_cdc_acm_rx_size&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk-usb.a(usb-cdc-uart.c.o): in function `nrf5UartInit&amp;#39;:
1&amp;gt; C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:272: undefined reference to `app_usbd_serial_num_generate&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:274: undefined reference to `app_usbd_init&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:283: undefined reference to `app_usbd_class_append&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:286: undefined reference to `app_usbd_power_events_enable&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk-usb.a(usb-cdc-uart.c.o): in function `nrf5UartDeinit&amp;#39;:
1&amp;gt; C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:292: undefined reference to `nrfx_usbd_is_started&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:294: undefined reference to `app_usbd_stop&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:296: undefined reference to `app_usbd_event_queue_process&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:305: undefined reference to `app_usbd_class_remove_all&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:300: undefined reference to `nrfx_usbd_is_enabled&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:302: undefined reference to `app_usbd_disable&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:306: undefined reference to `app_usbd_uninit&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk-usb.a(usb-cdc-uart.c.o): in function `nrf5UartProcess&amp;#39;:
1&amp;gt; C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:318: undefined reference to `app_usbd_event_queue_process&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk-usb.a(usb-cdc-uart.c.o): in function `processConnection&amp;#39;:
1&amp;gt; C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:194: undefined reference to `nrfx_usbd_is_enabled&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:196: undefined reference to `app_usbd_enable&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:217: undefined reference to `nrfx_usbd_is_enabled&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:219: undefined reference to `app_usbd_start&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk-usb.a(usb-cdc-uart.c.o): in function `processReceive&amp;#39;:
1&amp;gt; C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:235: undefined reference to `app_usbd_cdc_acm_read_any&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk-usb.a(usb-cdc-uart.c.o): in function `processTransmit&amp;#39;:
1&amp;gt; C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:247: undefined reference to `app_usbd_cdc_acm_write&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk-usb.a(usb-cdc-uart.c.o): in function `processConnection&amp;#39;:
1&amp;gt; C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:201: undefined reference to `nrfx_usbd_is_started&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:203: undefined reference to `app_usbd_stop&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\bamboo\xml-data\build-dir\KNG-OL-BOLO\sdk\sdk\nrf5\external\openthread\project\nrf52840\openthread_nrf52840\sdk\usb\armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/usb-cdc-uart.c:207: undefined reference to `app_usbd_disable&amp;#39;
1&amp;gt; c:/program files (x86)/gnu arm embedded toolchain/10 2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk-usb.a(usb-cdc-uart.c.o):(.rodata.sAppCdcAcm+0x4): undefined reference to `app_usbd_cdc_acm_class_methods&amp;#39;
1&amp;gt; collect2.exe: error: ld returned 1 exit status&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Waiting for your response.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and Regrads&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/337037?ContentTypeID=1</link><pubDate>Tue, 02 Nov 2021 10:20:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df9d07a5-2397-4ac9-8593-37e467fe469a</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Rohit,&lt;/p&gt;
&lt;p&gt;Sometimes it takes some time to find the answer to your questions, so I hope you understand the late reply. UART instance 1 doesn&amp;#39;t have legacy UART, so you need to use UARTE.&amp;nbsp; I tried to rebuild the stack with UARTE1 and got the following error message:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:14px;"&gt;&lt;em&gt;&lt;span style="background-color:rgba(255, 255, 255, 1);color:rgba(36, 36, 36, 1);float:none;font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-weight:400;letter-spacing:normal;text-indent:0;text-transform:none;white-space:normal;"&gt;../../../../../openthread/third_party/NordicSemiconductor/nrfx/mdk/nrf52840.h:2891:37: error: passing argument 1 of &amp;#39;nrf_uart_txrx_pins_set&amp;#39; from incompatible pointer type [-Werror=incompatible-pointer-types]&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;br style="background-color:rgba(255, 255, 255, 1);color:rgba(36, 36, 36, 1);font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0;text-transform:none;white-space:normal;" /&gt;&lt;span style="font-size:14px;"&gt;&lt;em&gt;&lt;span style="background-color:rgba(255, 255, 255, 1);color:rgba(36, 36, 36, 1);float:none;font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-weight:400;letter-spacing:normal;text-indent:0;text-transform:none;white-space:normal;"&gt;#define NRF_UARTE1 ((NRF_UARTE_Type*) NRF_UARTE1_BASE)&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;So it&amp;#39;s doesn&amp;#39;t look like it&amp;#39;s possible to change to UARTE1 without modifying the nRF UART driver in OpenThread to use nrf_uarte instead of nrf_uart. &lt;span style="font-size:14px;"&gt;&lt;span style="background-color:rgba(255, 255, 255, 1);color:rgba(36, 36, 36, 1);float:none;font-family:&amp;#39;Segoe UI&amp;#39;, system-ui, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, sans-serif;font-weight:400;letter-spacing:normal;text-indent:0;text-transform:none;white-space:normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;My question for you, why aren&amp;#39;t you able to use UARTE1 in your application instead of UART0?&lt;/p&gt;
[quote user="Rohit Rajapure"]I need UART0 as I have already developed a function on it and using in Zigbee and other protocols. We need to keep it the same for all protocols of the nRF devices.&amp;nbsp;[/quote]
&lt;p&gt;To have used UART0 in another product using Zigbee is not a very good argument. Using UARTE1 in your application would be the easiest option in your case I think.&lt;/p&gt;
&lt;p&gt;Another thing you can try is to change libopenthread-nrf52840-sdk.a with libopenthread-nrf52840-sdk-spi.a or libopenthread-nrf52840-sdk-usb.a, so the stacks occupy a SPI instance or USB instance instead..&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/336837?ContentTypeID=1</link><pubDate>Mon, 01 Nov 2021 11:16:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea4b2816-d7a7-41f4-8535-a0a5537bc47f</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any update or still have to wait for feedback!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/336590?ContentTypeID=1</link><pubDate>Fri, 29 Oct 2021 06:51:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b07f0376-59fd-4716-8c88-1dd0b37038a4</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any update to my last request.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Urgent help need.&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/336432?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 11:18:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd79537b-54b6-4e45-a012-69dab6eb792a</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hello Marjeris,&lt;/p&gt;
[quote userid="73427" url="~/f/nordic-q-a/81017/multiple-definition-of-uarte0_uart0_irqhandler/336389#336389"]Removing the CLI libraries if you are not using it should be fine. Can I ask what have you removed so far and which example are you basing your application on? You may need to remove prs and other source files.[/quote]
&lt;blockquote class="quote"&gt;
&lt;div class="quote-user"&gt;&lt;em&gt;&lt;strong&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/81017/multiple-definition-of-uarte0_uart0_irqhandler/336389#336389"&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;- Removed the cli library fle&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Excluded nrfx_prs.c, nrfx_uarte.c files.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But still getting below error,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;quot;../../../external/openthread/lib/nrf52840/gcc/libopenthread-nrf52840-sdk.a(uart.c.o): in function `UARTE0_UART0_IRQHandler&amp;#39;:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;multiple definition of `UARTE0_UART0_IRQHandler&amp;#39;; Output/Executable_1 Release External/Obj/nrfx_uart.o:D:\Project\Eurotronics\Thread_Radiator\nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b\examples\thread\Thread_VAS_20211024/../../../modules/nrfx/drivers/src/nrfx_uart.c:649: first defined here&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-&amp;nbsp;&lt;/strong&gt;I have created examples from scratch with an external toolchain and included nRF libraries which are required for my project.&lt;/p&gt;
&lt;p&gt;- For the nRF library, I referred to the freeRTOS_coap and cli_mtd example to enable thread, freertos parts in code.&lt;/p&gt;
&lt;p&gt;And,&lt;/p&gt;
&lt;p&gt;We are using UART0 in our legacy hardware product.&lt;/p&gt;
&lt;p&gt;When we built our application using nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8,we had similar issue with the 4.1 version where there was an error with libopenthread-nrf52840-transport.a.&lt;br /&gt;When I posted on the DevZone I was advised:&lt;br /&gt; 1. Remove - libopenthread-cli-mtd.a file from project.&lt;br /&gt; 2. Replace - libopenthread-nrf52840-transport.a with libopenthread-nrf52840-transport-none.a file in project.&lt;br /&gt; 3. In project-&amp;gt;option-&amp;gt;common-&amp;gt; preprocessor-&amp;gt;preprocessor_definition remove this UART0_ENABLED=0 in project.&lt;br /&gt;The suggestion worked for me. I did not have to build any library for me.&lt;br /&gt;For some reasons I have to downgrade to version 4.0 of the SDK for this varient of the product.&lt;br /&gt;Now I am getting an error with libopenthread-nrf52840-SDK.a. Per your suggestion I need to rebuild the library with UART1 so that UART0 is available for my application.&lt;br /&gt;However, I do not have the necessary Python environment to build the library to my requirement. I could not locate any document that explains the Python requirements including modules.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would appreciate if you could point to a pre-built library file that excludes UART0 from the Library similar to libopenthread-nrf52840-transport-none.a in SDK version 4.1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance for your assistance and understanding of our issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/336389?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 09:27:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:041fbde1-0b82-4920-b7aa-329f4e6a8d32</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]- I have removed the cli library to make UART free[/quote]
&lt;p&gt;Removing the CLI libraries if you are not using it should be fine. Can I ask what have you removed so far and which example are you basing your application on? You may need to remove prs and other source files. &lt;/p&gt;
&lt;p&gt;You can also use this guide for recompiling the library and remove the UART0 files: &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/thread_ot_libraries_building.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/thread_ot_libraries_building.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/336374?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 09:00:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae5523a3-1084-4774-b0d0-7a8b16c6cfa4</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;Marjeris,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the feedback.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But is it not possible to rebuild the library and make UART0 free for our option. I need UART0 as I have already developed a function on it and using in Zigbee and other protocols. We need to keep it the same for all protocols of the nRF devices.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please share the details to make the library file rebuild procedure and make UART0 free.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for understanding.&lt;/p&gt;
&lt;p&gt;Let me know your feedback as early as possible. Already 3 days late feedback.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/336358?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 08:38:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dc7db11-26f3-4eda-9f75-5234e85464be</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;Marjeris,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the feedback.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But is it not possible to rebuild the library and make UART0 free for our option. I need UART0 as I have already developed a function on it and using in Zigbee and other protocols. We need to keep it the same for all protocols of the nRF devices.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please share the details to make the library file rebuild procedure and make UART0 free.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for understanding.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/336354?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 08:32:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b4cb5ba-c4d7-4fea-a859-0ce4f03c93c2</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Rohit R,&lt;/p&gt;
&lt;p&gt;I am sorry for the late reply. The default compile settings for the OpenThread stack uses UART0 instance. You can try to use another UART instance, for example you can try using UART1 instead?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1635408890749v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/336149?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 09:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f40f2b1-b67a-4b19-af50-93eca928a81e</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am waiting for feedback. Urgent for me to solve this issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I need an open thread library file that does not use UART.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/335895?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 09:25:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df1d2dc9-d3ea-4734-9066-d12756135446</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please update on this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple definition of  `UARTE0_UART0_IRQHandler':</title><link>https://devzone.nordicsemi.com/thread/335841?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 03:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:876c84cc-0b79-4980-a1e9-ddd261a53d08</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any update regarding this?&lt;/p&gt;
&lt;p&gt;I think this issue is with&amp;nbsp;&lt;em&gt;&lt;strong&gt;libopenthread-nrf52840-SDK.a&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;library. Because, when tried to include the UART and Openthread step by step. I observed that after adding open thread libraries to the project I got the multiple definition error.&lt;/p&gt;
&lt;p&gt;I need an alternative library file from SDK 4.0. So that I can use UART as well as the open thread library.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Urgent!&lt;/p&gt;
&lt;p&gt;Let me know your feedback on this as early as possible.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>