Catalin Miron commented on a discussion on bsps/arm/stm32f4/console/console-config.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1518#note_160441 > + > +static int stm32f4_poll_char(void) > +{ > + if (PORT_COUNT == 0) { > + return -1; > + } > + return stm32f4_usart_read_polled((int) Console_Port_Minor); > } > +BSP_output_char_function_type BSP_output_char = > stm32f4_output_char_init_early; > > -BSP_output_char_function_type BSP_output_char = output_char; > +BSP_polling_getchar_function_type BSP_poll_char = stm32f4_poll_char; > > -BSP_polling_getchar_function_type BSP_poll_char = NULL; > +RTEMS_SYSINIT_ITEM( > + stm32f4_output_char_init, STM32H7 bsp does the same here: rtems/bsps/arm/stm32h7/console/printk-support.c -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1518#note_160441 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/5-3pgrh3qief0a67ywmy0jvtpxm-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
