Skip to content
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

[Info] escom does work good with ansicon & now also with 921600 Baud #1

Open
guidol70 opened this issue Dec 21, 2021 · 2 comments
Open

Comments

@guidol70
Copy link

for using escom on the Win10-console I did try sucessfully ansicon as
ANSI-escapecode-wrapper.

The new version of mecrisp-stellaris for the RPi Pico R2040 does also use a baudrate up to 921.600, so I recompiled escom with TDM-GCC-32
(had to add the new baudrates to /TDM-GCC-32/include/winbase.h)

Compile went fine and 921.600 Baud are now useable - maybe you will release a new version with your compiler?

escom32_921k6
escom32_921k6.zip

@Edzelf
Copy link
Owner

Edzelf commented Dec 21, 2021

Thanks,
The higher baudrates were not defined in windows.h. But all baudrates are allowed.
So now Escom will allow non-standard baudrates, although a warning is printed when using non-standard baudrates.

@guidol70
Copy link
Author

guidol70 commented Dec 21, 2021

Thanks, The higher baudrates were not defined in windows.h.

but windows.h does "#include <winbase.h>" where I defined the baudrates (named CBR_) not these BAUD_ - so my version isnt showing the baudrate warning ;)
[EDIT] Ahh - you did mean your version - which is also new :)

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

No branches or pull requests

2 participants