I´m new to embedded Linux development.
We wish to use a mcp23s17 I/O expander on the TX2. We have used the jetsonhacks script to get the kernel GUI
In this configuration the mcp23xxx driver is enabled. After making the kernel and booted with the new kernel using the following scripts:
$ ./makeKernel.sh$ ./copyImage.sh
And using the lsmod command, we where unable to find a mcp23xxx module.
What are the step to enable this driver, and how to use them in user space using c++ code to drive the I/O of the mcp23xxx driver?
I managed to get the gpio_mcp23s08 to show up in /lib/module/kernel/drivers/gpio
Also, when I use
it hows up in
The remaining question is, how to use the driver to talk to the device?