This is the Linux:
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
The Kernel version is:
And this is the Hardware platform: http://variwiki.com/index.php?title=DART-6UL
So I am familiar with SPI interface (I have developed SPI drivers for microcotrollers).
I found out nodeJs package for SPI but it requires SPIDEV in /dev/ directory, which is missing in the device list.
After some research I found out that I can rebuild the Kernel with new configuration so the SPIDEVx can appear in the device list. But this seems to more laborious approach. I have to install everything again.
Is it possible to write a C program to utilize the SPI interface on the installed OS/ I found out there is
spidev.h file in
/ust/include/linux/spi/ but it contains only
macros, no function declarations.
What would you advice me? What would be the least painful approach?