This is an automated email from the ASF dual-hosted git repository.
raiden00 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 514f020ace nucleo-h745zi/stm32_bringup.c: the cpuname should be the
remote cpu name
514f020ace is described below
commit 514f020ace545dcaf8343eb862c6322328023aa6
Author: Bowen Wang <[email protected]>
AuthorDate: Mon Jan 8 17:29:06 2024 +0800
nucleo-h745zi/stm32_bringup.c: the cpuname should be the remote cpu name
The share memory name should be same, and the cpuname is the remote
cpu name.
Signed-off-by: Bowen Wang <[email protected]>
---
boards/arm/stm32h7/nucleo-h745zi/src/stm32_bringup.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/boards/arm/stm32h7/nucleo-h745zi/src/stm32_bringup.c
b/boards/arm/stm32h7/nucleo-h745zi/src/stm32_bringup.c
index a3a373affd..3331ae7f8c 100644
--- a/boards/arm/stm32h7/nucleo-h745zi/src/stm32_bringup.c
+++ b/boards/arm/stm32h7/nucleo-h745zi/src/stm32_bringup.c
@@ -57,14 +57,14 @@
void rpmsg_serialinit(void)
{
#ifdef CONFIG_ARCH_CHIP_STM32H7_CORTEXM7
- uart_rpmsg_init("cm7", "proxy", 4096, false);
+ uart_rpmsg_init("cm4", "proxy", 4096, false);
#endif
#ifdef CONFIG_ARCH_CHIP_STM32H7_CORTEXM4
# ifdef CONFIG_RPMSG_UART_CONSOLE
- uart_rpmsg_init("cm4", "proxy", 4096, true);
+ uart_rpmsg_init("cm7", "proxy", 4096, true);
# else
- uart_rpmsg_init("cm4", "proxy", 4096, false);
+ uart_rpmsg_init("cm7", "proxy", 4096, false);
# endif
#endif
}
@@ -104,9 +104,9 @@ int stm32_bringup(void)
#ifdef CONFIG_RPTUN
# ifdef CONFIG_ARCH_CHIP_STM32H7_CORTEXM7
- stm32_rptun_init("cm7-shmem", "cm7");
+ stm32_rptun_init("cm4-cm7-shmem", "cm4");
# else
- stm32_rptun_init("cm4-shmem", "cm4");
+ stm32_rptun_init("cm4-cm7-shmem", "cm7");
# endif
#endif