Closed snortman closed 6 years ago
No one is answering, so I try: Did you forget to map the device in the container setup? You need to map the spi interface like:
You can type:
ls /dev/spi*
inside the container and you should get /dev/spidev0.0
as answer. Otherwise, you didn't link the host device with the Docker container.
The communication between the netPI (Raspberry CPU) and netX chip goes across an SPI interface. On netPI this device is named spidev0.0 and as usual on Linux such devices are located in the /dev/ folder. If a container is now started under Docker, by default no host devices are mapped into a container, so you have to map it yourself. And as @lemariva has already mentioned you have to use the Runtime menu item and +add device option to insert a new line adding the /dev/spidev0.0 -> /dev/spidev0.0 device entry.
Hi,
Using a NIOT-E-NPI3-51-EN-RE device. Followed instructions from README.md.
Was able to install driver and build the code.
However, when attempting to run the EtherCAT slave example, I received the following error message: