From 514f020ace545dcaf8343eb862c6322328023aa6 Mon Sep 17 00:00:00 2001 From: Bowen Wang Date: Mon, 8 Jan 2024 17:29:06 +0800 Subject: [PATCH] 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 --- 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