Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Serial port communication

tangentksai
Beginner
673 Views
I did a research on serial port communication. It seems to me that intel fortran compiler for linux doesn't support the serial port communication. Instead, sport_XXX routines are only for windows. I am just wondering whether I missed something that enables me to do the serial port communication in linux. Or is there any way to do or any library to use?

thanks in adavance!
0 Kudos
1 Reply
Yuan_C_Intel
Employee
673 Views
Quoting - tangentksai
I did a research on serial port communication. It seems to me that intel fortran compiler for linux doesn't support the serial port communication. Instead, sport_XXX routines are only for windows. I am just wondering whether I missed something that enables me to do the serial port communication in linux. Or is there any way to do or any library to use?

thanks in adavance!

Linuxuse device file toaccess device by users.For serial port device, normally it named as /dev/ttyS0, /dev/ttyS1 for com0 and com1.You can refer toserial portprogrammingunder linux for details on how to access it through file operations.
0 Kudos
Reply