Skip to content

Conversation

cloche-leythal-pastalia

Added stty command when flashing on linux to set the baudrate to 1200 so you don't have to do this manually anymore.

@cloche-leythal-pastalia cloche-leythal-pastalia changed the title Development run stty when flashing arduino due May 23, 2017
Copy link
Owner

@sqrtroot sqrtroot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To reset the device this is needed but a better cross platform way would be nice.


if(bossac)
if(WIN32)
if(MSYS OR MINGW)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if i use other build systems like ninja on windows?
what was wrong with checking for win32?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking for win32 checks the build target and since it's compiling for arduino win32 will never be defined.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dangit, well we need to find another cross platform way. I'll merge this for now to get things working. But any help finding a better cross platform way for windows users would be nice

@sqrtroot sqrtroot merged commit 4508bb5 into sqrtroot:development May 24, 2017
@Jieiku
Copy link

Jieiku commented Nov 18, 2019

I have installed from the latest from tar, currently on Arduino IDE 1.8.10 under Ubuntu 18.04 + KDE Plasma and I still have to manually issue:

stty -F /dev/ttyACM0 speed 1200 cs8 -cstopb -parenb

in order for my sketches to upload, any idea what the problem might be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants