1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00
Arduino/arduino-core
Angus Gratton a6909bdb49 Fix auto-reset on Leonardo-derived boards from Linux hosts
Also renamed the touchPort() function, as it's now unambiguously
single-purpose.

The 1200bps reset from Linux hosts wasn't working with these newer
JSSC-based versions. Adding a step which explicitly sets DTR low (via a
TIOCMSET ioctl clearing DTR) fixes this.

I'm fairly sure the reason why this worked on older Arduino with librxtx
and not with jssc is that librxtx appears to keep HUPCL in the termio
flags, but jssc appears to remove it. If HUPCL ("hangup on close") is
set, it causes DTR to be explicitly pulled low on close.
2015-02-27 11:13:09 +11:00
..
lib Moved specialized Platform classes and related resources to the 'arduino-core' project. 2014-11-13 16:34:25 +01:00
src Fix auto-reset on Leonardo-derived boards from Linux hosts 2015-02-27 11:13:09 +11:00
.classpath Moved specialized Platform classes and related resources to the 'arduino-core' project. 2014-11-13 16:34:25 +01:00
.gitignore Split IDE into 2 projects. 2014-11-13 16:34:24 +01:00
.project Split IDE into 2 projects. 2014-11-13 16:34:24 +01:00
build.xml arduino-core project is now correctly compiled through ant build script 2014-11-13 16:34:24 +01:00