When to register termios devices?

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Nov 4 14:59:56 UTC 2020


Hello Jan,

if it is a custom BSP, why don't you add it to the console driver of 
this BSP?

If you add

RTEMS_SYSINIT_ITEM(

  register_additional_termios,

RTEMS_SYSINIT_DEVICE_DRIVERS,

RTEMS_SYSINIT_ORDER_LAST_BUT_5

);


to the module which defines bsp_start(), then your drivers are 
registered. They are also registered, when the application doesn't need 
them. So, doing a driver registration in the application configuration 
is not that bad.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list