Compilation under QNX
Open source flash program for STM32 using the ST serial bootloader
Brought to you by:
tormod
Originally created by: Alexey.B...@gmail.com
There is one small issue when compiling this project under QNX 6.3.
QNX does not have non-posix CRTSCTS flag for setting hardware flow control. It has 2 flags "IHFLOW" and "OHFLOW" (input & output hardware control acordingly) instead.
To fix the issue you need to replace line 134 in file serial_posix.c
from
h->newtio.c_cflag &= ~(CSIZE | CRTSCTS);
to
#ifdef __QNXNTO__
h->newtio.c_cflag &= ~(CSIZE | IHFLOW | OHFLOW);
#else
h->newtio.c_cflag &= ~(CSIZE | CRTSCTS);
#endif
Hope this helps someone.
Anonymous
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: lists.to...@gmail.com
Thanks for the patch, I have applied it to the "merging" git branch.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: lists.to...@gmail.com
This has now been fixed in the official repository and is included in version 0.3beta2.
Status: Fixed