Matteo Concas created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5283
## Summary bsps/noelv: Fix using console in polled mode The console driver needs `BSP_CONSOLE_USE_INTERRUPTS` to be defined or it does not build. The intent was to use polled mode if the macro was equal to zero but not using interrupt means the macro won't be defined instead. This is the faulty code: ```c if (BSP_CONSOLE_USE_INTERRUPTS) { handler = &apbuart_handler_interrupt; } ``` In `bsps/riscv/noel/console/console-config.c` . ## Steps to reproduce Create a INI with the following contents: ```ini [riscv/noel64imafd_polling] INHERIT = noel64imafd RTEMS_SMP = True BSP_CONSOLE_USE_INTERRUPTS = 0 ``` Build the RTEMS kernel, it will fail to build due to `BSP_CONSOLE_USE_INTERRUPTS` being undefined. ## Expected behaviour BSP should build successfully. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5283 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs