Understood. Thanks. On Thu, 28 Mar 2019 at 12:52, Sebastian Huber < [email protected]> wrote:
> On 28/03/2019 10:44, Ярослав Лещинский wrote: > > Hello, > > > > I wrote spidev driver. In user space it works fine, but when I moved > > them into the kernel as a part of BSP(calling from bspstart.c) I've > > got RTEMS_FATAL_SOURCE_EXCEPTION. > > > > Could you please tell me what is a proper way to add driver into the > > kernel space? > > There is no kernel/user space separation in RTEMS. In the early startup > (bspstart.c) you cannot anything which uses threads since no thread > exists yet. You should do you high level initialization in the > initialization thread. > > -- > 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 : [email protected] > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. > > _______________________________________________ > users mailing list > [email protected] > http://lists.rtems.org/mailman/listinfo/users -- -- Kind regards, *Yaroslav Leshchinsky*
_______________________________________________ users mailing list [email protected] http://lists.rtems.org/mailman/listinfo/users
