-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Arvind wrote:
> Hi,
>
> I am using DM355 board I want to use DM355 serial port0 & serial port1.
> How can i use this..
>
> my Code:
>
> #include <fcntl.h>
> #include <stdio.h>
> #include <stdlib.h>
> #include <sys/types.h>
> #include <unistd.h>
>
> int main(void){
> int fd;
> //char buf[10];
> //fd = open("/dev/ttys0",O_RDONLY);
> fd = open("/dev/ttys0",O_WRONLY);
this must be /dev/ttySO
Regards,
Caglar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAkl+xzAACgkQ/nL+S5dojejrkgCeNUyybEYIcKgTsAFvW89d7a8J
EywAoIU7oz4iJWQlrcx12fQVw63Y8lYL
=q0L4
-----END PGP SIGNATURE-----
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source