-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation leads to error: use of undeclared identifier 'dwBytesRead' #9
Comments
Hello, this should be a problem with a Mac version probably. Nobody has built it yet and I see some problems in the UART processing code: I have only MINGW32 and __linux defines there, so I guess Mac doesn't know what to do. Unfortunately I don't have a Mac, so I can't find a solution for this issue :( You have to write some Mac code for writing and reading a serial port to make it possible. |
Hey, I found a solution, but I can't make a pull. For macs, you can use the same as for __linux. I also like to control RTS and DTR pins. Would it be possible to add a flag to set/clear rts and dts?
|
Can you make a pull request? |
ok, will do. I created a programmer which can switch between uart and updi on the same serial terminal connected to the computer. I use the DTR line to control if I use uart or updi on the mcu. For this reason I need to clear DTR and set RTS. |
could it be that I have no permissions to push?
|
I have sent you an invite, it will be probably possible to push to the repository directly after accepting it |
Thanks! Do you think I can re-use the argument onDTR to set DTR and clear RTS? I would also do a pull for it then |
Hi
Thanks for providing this code!
I tried to compile it on my mac:
The text was updated successfully, but these errors were encountered: