The console does not work for applications that use simple console driver, including testsuites applications. The reason is that Console_Port_Tbl is NULL, which causes a fatal error when trying to get the console_tbl and usart instance. This patch fixes that by making usart_write_polled use a default console_tbl instead of a value from Console_Port_Tbl. This default instance is the USART with smallest number that is enabled (the first element in Console_Configuration_Ports).
Duc Doan (1): bsps/stm32f4: Fix usart_write_polled() bsps/arm/stm32f4/console/console-config.c | 4 +++- bsps/arm/stm32f4/console/usart.c | 6 ++++++ bsps/arm/stm32f4/include/bsp/usart.h | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) -- 2.37.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel