This is an automated email from the ASF dual-hosted git repository.

simbit18 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 491e86762bb boards/nrf53: correct rptun names
491e86762bb is described below

commit 491e86762bba83bdee210ccede0f7bf0b056b042
Author: raiden00pl <[email protected]>
AuthorDate: Tue Jan 20 14:59:04 2026 +0100

    boards/nrf53: correct rptun names
    
    after recent changes in rptun framework, HCI over rptun was broken due to
    wrong cpu names.
    
    Signed-off-by: raiden00pl <[email protected]>
---
 boards/arm/nrf53/nrf5340-dk/src/nrf53_bringup.c | 10 +++++-----
 boards/arm/nrf53/thingy53/src/nrf53_bringup.c   | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/boards/arm/nrf53/nrf5340-dk/src/nrf53_bringup.c 
b/boards/arm/nrf53/nrf5340-dk/src/nrf53_bringup.c
index e21543f54f3..03c64034c5e 100644
--- a/boards/arm/nrf53/nrf5340-dk/src/nrf53_bringup.c
+++ b/boards/arm/nrf53/nrf5340-dk/src/nrf53_bringup.c
@@ -96,7 +96,7 @@ static int nrf53_appcore_bleinit(void)
 #ifdef CONFIG_BLUETOOTH_RPMSG
   struct bt_driver_s *bt_dev = NULL;
 
-  bt_dev = rpmsghci_register("appcore", "bthci");
+  bt_dev = rpmsghci_register("netcore", "bthci");
   if (bt_dev == NULL)
     {
       syslog(LOG_ERR, "ERROR: rpmsghci_register() failed: %d\n", -errno);
@@ -157,9 +157,9 @@ static int nrf53_netcore_bleinit(void)
 void rpmsg_serialinit(void)
 {
 #ifdef CONFIG_NRF53_APPCORE
-  uart_rpmsg_init("appcore", "proxy", 4096, false);
+  uart_rpmsg_init("netcore", "proxy", 4096, false);
 #else
-  uart_rpmsg_init("netcore", "proxy", 4096, true);
+  uart_rpmsg_init("appcore", "proxy", 4096, true);
 #endif
 }
 #endif
@@ -225,9 +225,9 @@ int nrf53_bringup(void)
 
 #ifdef CONFIG_RPTUN
 #ifdef CONFIG_NRF53_APPCORE
-  nrf53_rptun_init("appcore");
-#else
   nrf53_rptun_init("netcore");
+#else
+  nrf53_rptun_init("appcore");
 #endif
 #endif
 
diff --git a/boards/arm/nrf53/thingy53/src/nrf53_bringup.c 
b/boards/arm/nrf53/thingy53/src/nrf53_bringup.c
index 00006a5610e..87dc786bfe9 100644
--- a/boards/arm/nrf53/thingy53/src/nrf53_bringup.c
+++ b/boards/arm/nrf53/thingy53/src/nrf53_bringup.c
@@ -83,7 +83,7 @@ static int nrf53_appcore_bleinit(void)
 #ifdef CONFIG_BLUETOOTH_RPMSG
   struct bt_driver_s *bt_dev = NULL;
 
-  bt_dev = rpmsghci_register("appcore", "bthci");
+  bt_dev = rpmsghci_register("netcore", "bthci");
   if (bt_dev == NULL)
     {
       syslog(LOG_ERR, "ERROR: rpmsghci_register() failed: %d\n", -errno);
@@ -144,9 +144,9 @@ static int nrf53_netcore_bleinit(void)
 void rpmsg_serialinit(void)
 {
 #ifdef CONFIG_NRF53_APPCORE
-  uart_rpmsg_init("appcore", "proxy", 4096, false);
+  uart_rpmsg_init("netcore", "proxy", 4096, false);
 #else
-  uart_rpmsg_init("netcore", "proxy", 4096, true);
+  uart_rpmsg_init("appcore", "proxy", 4096, true);
 #endif
 }
 #endif
@@ -192,9 +192,9 @@ int nrf53_bringup(void)
 
 #ifdef CONFIG_RPTUN
 #ifdef CONFIG_NRF53_APPCORE
-  nrf53_rptun_init("appcore");
-#else
   nrf53_rptun_init("netcore");
+#else
+  nrf53_rptun_init("appcore");
 #endif
 #endif
 

Reply via email to