-dev] function write in char driver (ARM - AT91)
Hi Ramon,
rflores wrote:
[snip]
The code in the application side is:
/int fd;/
/char buf[80];/
/fd = open (/dev/swspi,rw);/
Not an appropriate argument type for this field. The flags field
of open
Hi Ramon,
rflores wrote:
[snip]
The code in the application side is:
/int fd;/
/char buf[80];/
/fd = open (“/dev/swspi”,”rw”);/
Not an appropriate argument type for this field. The flags field
of open() is an int. Read the open manual page for details.
Hi Ramon this is Juanba what's going on? I see don't explain me anything
else..
Uhmm could you supply us the node the* ls -al /dev/swspi *results of your
system, ehhh the -9 errno code value means that the file descriptor returned
from the kernel side is not valid one to perform read/write