Re: Add driver to the kernel space

2019-03-28 Thread Ярослав Лещинский
Understood. Thanks. On Thu, 28 Mar 2019 at 12:52, Sebastian Huber < sebastian.hu...@embedded-brains.de> 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

Re: Add driver to the kernel space

2019-03-28 Thread Sebastian Huber
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

Add driver to the kernel space

2019-03-28 Thread Ярослав Лещинский
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? Thanks. -- -- Kind regards, *Yar