Device driver initialization sequence

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Nov 12 06:55:18 UTC 2018


Hello,

please make sure that you initialize the node control with 
IMFS_GENERIC_INITIALIZER() and that you do not set any handler to NULL.

On 09/11/2018 16:02, Ярослав Лещинский wrote:
> [...]
> static const rtems_filesystem_file_handlers_r gpio_node_handlers = {
>     .open_h = rtems_filesystem_default_open,
>     .close_h = rtems_filesystem_default_close,
>     .read_h = NULL,
>     .write_h = NULL,

NULL handlers are not allowed.

-- 
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