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