This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem with termios: tcgetattr


Jonathan Larmour wrote:
 

It should have gone to termios_get_config in
io/serial/curent/src/common/termiostty.c

Did you enable CYGPKG_IO_SERIAL_TERMIOS_TERMIOS2 in your configuration?
 
 

I did now, and it still doesn't work when I try to open /dev/ser2, but it does with /dev/termios2. What are the differences between them?

Besides, I read your discussion with Trenton D. Adams about " Simple serial program" : Could you explain me why open(/dev/ser1,..) doesn't fail when   this UART is used for GDB connection?

Thanks,
Franck.
 

-- 
& france telecom 
Mamalet Franck
FTR&D DIH/OCF
Tél  : 04 76 76 45 71   Fax : 04 76 90 34 43
franck.mamalet@rd.francetelecom.fr
 
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]