mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
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 <raiden00@railab.me>
This commit is contained in:
@@ -96,7 +96,7 @@ static int nrf53_appcore_bleinit(void)
|
|||||||
#ifdef CONFIG_BLUETOOTH_RPMSG
|
#ifdef CONFIG_BLUETOOTH_RPMSG
|
||||||
struct bt_driver_s *bt_dev = NULL;
|
struct bt_driver_s *bt_dev = NULL;
|
||||||
|
|
||||||
bt_dev = rpmsghci_register("appcore", "bthci");
|
bt_dev = rpmsghci_register("netcore", "bthci");
|
||||||
if (bt_dev == NULL)
|
if (bt_dev == NULL)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: rpmsghci_register() failed: %d\n", -errno);
|
syslog(LOG_ERR, "ERROR: rpmsghci_register() failed: %d\n", -errno);
|
||||||
@@ -157,9 +157,9 @@ static int nrf53_netcore_bleinit(void)
|
|||||||
void rpmsg_serialinit(void)
|
void rpmsg_serialinit(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_NRF53_APPCORE
|
#ifdef CONFIG_NRF53_APPCORE
|
||||||
uart_rpmsg_init("appcore", "proxy", 4096, false);
|
uart_rpmsg_init("netcore", "proxy", 4096, false);
|
||||||
#else
|
#else
|
||||||
uart_rpmsg_init("netcore", "proxy", 4096, true);
|
uart_rpmsg_init("appcore", "proxy", 4096, true);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -225,9 +225,9 @@ int nrf53_bringup(void)
|
|||||||
|
|
||||||
#ifdef CONFIG_RPTUN
|
#ifdef CONFIG_RPTUN
|
||||||
#ifdef CONFIG_NRF53_APPCORE
|
#ifdef CONFIG_NRF53_APPCORE
|
||||||
nrf53_rptun_init("appcore");
|
|
||||||
#else
|
|
||||||
nrf53_rptun_init("netcore");
|
nrf53_rptun_init("netcore");
|
||||||
|
#else
|
||||||
|
nrf53_rptun_init("appcore");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ static int nrf53_appcore_bleinit(void)
|
|||||||
#ifdef CONFIG_BLUETOOTH_RPMSG
|
#ifdef CONFIG_BLUETOOTH_RPMSG
|
||||||
struct bt_driver_s *bt_dev = NULL;
|
struct bt_driver_s *bt_dev = NULL;
|
||||||
|
|
||||||
bt_dev = rpmsghci_register("appcore", "bthci");
|
bt_dev = rpmsghci_register("netcore", "bthci");
|
||||||
if (bt_dev == NULL)
|
if (bt_dev == NULL)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: rpmsghci_register() failed: %d\n", -errno);
|
syslog(LOG_ERR, "ERROR: rpmsghci_register() failed: %d\n", -errno);
|
||||||
@@ -144,9 +144,9 @@ static int nrf53_netcore_bleinit(void)
|
|||||||
void rpmsg_serialinit(void)
|
void rpmsg_serialinit(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_NRF53_APPCORE
|
#ifdef CONFIG_NRF53_APPCORE
|
||||||
uart_rpmsg_init("appcore", "proxy", 4096, false);
|
uart_rpmsg_init("netcore", "proxy", 4096, false);
|
||||||
#else
|
#else
|
||||||
uart_rpmsg_init("netcore", "proxy", 4096, true);
|
uart_rpmsg_init("appcore", "proxy", 4096, true);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -192,9 +192,9 @@ int nrf53_bringup(void)
|
|||||||
|
|
||||||
#ifdef CONFIG_RPTUN
|
#ifdef CONFIG_RPTUN
|
||||||
#ifdef CONFIG_NRF53_APPCORE
|
#ifdef CONFIG_NRF53_APPCORE
|
||||||
nrf53_rptun_init("appcore");
|
|
||||||
#else
|
|
||||||
nrf53_rptun_init("netcore");
|
nrf53_rptun_init("netcore");
|
||||||
|
#else
|
||||||
|
nrf53_rptun_init("appcore");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user