[RTEMS Project] #4209: STM32H743ZI Nucleo Consle support not working without workaround
RTEMS trac
trac at rtems.org
Sat Jan 2 18:33:13 UTC 2021
#4209: STM32H743ZI Nucleo Consle support not working without workaround
----------------------+------------------------------
Reporter: rmueller | Owner: Sebastian Huber
Type: defect | Status: assigned
Priority: normal | Milestone: 6.1
Component: admin | Version: 6
Severity: normal | Resolution:
Keywords: stm32 | Blocked By:
Blocking: |
----------------------+------------------------------
Comment (by rmueller):
I found the UART config in console-uart3.c
{{{
static const stm32h7_uart_config stm32h7_usart3_config = {
.gpio = {
.regs = GPIOB,
.config = {
.Pin = GPIO_PIN_9 | GPIO_PIN_10,
.Mode = GPIO_MODE_AF_PP,
.Pull = GPIO_NOPULL,
.Speed = GPIO_SPEED_FREQ_LOW,
.Alternate = GPIO_AF7_USART3
}
},
.irq = USART3_IRQn,
.device_index = 2
};
}}}
and tried to replace it with this:
{{{
static const stm32h7_uart_config stm32h7_usart3_config = {
.gpio = {
.regs = GPIOD,
.config = {
.Pin = GPIO_PIN_8 | GPIO_PIN_9,
.Mode = GPIO_MODE_AF_PP,
.Pull = GPIO_NOPULL,
.Speed = GPIO_SPEED_FREQ_LOW,
.Alternate = GPIO_AF7_USART3
}
},
.irq = USART3_IRQn,
.device_index = 2
};
}}}
Recompiled the BSP but it still is not working without the workaround from
above. If I call printf, the function also never exits and something
appears to be broken.. I don't really know why..
--
Ticket URL: <http://devel.rtems.org/ticket/4209#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list