Skip to content

2 Linux Fixes#24

Open
xxxajk wants to merge 2 commits into
sergev:masterfrom
xxxajk:master
Open

2 Linux Fixes#24
xxxajk wants to merge 2 commits into
sergev:masterfrom
xxxajk:master

Conversation

@xxxajk
Copy link
Copy Markdown

@xxxajk xxxajk commented Nov 15, 2015

Fix 1 adds a new makefile that allows full dynamic linking on Linux. This is the only way pic32prog is able to build on my system.
Fix 2 adds the DTR|RTS toggle on serial for any non-windows OS. This fixes the problem with detecting the UNO32. I don't have windows, but the fix is similar, therefore I have not included it as a patch. However code that should work will look something like this:

EscapeCommFunction(fd, CLRDTR);
EscapeCommFunction(fd, CLRRTS);
usleep(250*1000);
EscapeCommFunction(fd, SETDTR);
EscapeCommFunction(fd, SETRTS);
usleep(50*1000);

Hope this helps.

@sergev
Copy link
Copy Markdown
Owner

sergev commented Sep 24, 2019

Merged into a separate branch: https://github.com/sergev/pic32prog/tree/serial-dtr
Need to check it on Windows.

@sergev sergev self-assigned this Sep 24, 2019
@sergev sergev added enhancement in development The topic is currently under development labels Sep 24, 2019
@xxxajk
Copy link
Copy Markdown
Author

xxxajk commented Sep 25, 2019

Glad to see that you finally have begun to see the use case. :-)

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

Labels

enhancement in development The topic is currently under development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants