USB CDC send flush
Posted: Wed Sep 28, 2016 8:15 pm
Hello guys
I'm new to chibios/rt so bare with me please.
I want to implement the chibi shell over usb CDC. everything compiles and runs, for one exception: the controller doesnt send the data immediatly to the PC but waits until some kind of send buffer is full and then sends it all to the computer. So if i press enter long enough, i will finally get a response of lines of ch>. commands work as well but there is no immediate echo.
my setup:
chibios 16.1.0
stm32f373
arm-none-eabi-gcc (4.8.2-14ubuntu1+6) 4.8.2
thanks in advance!
I'm new to chibios/rt so bare with me please.
I want to implement the chibi shell over usb CDC. everything compiles and runs, for one exception: the controller doesnt send the data immediatly to the PC but waits until some kind of send buffer is full and then sends it all to the computer. So if i press enter long enough, i will finally get a response of lines of ch>. commands work as well but there is no immediate echo.
my setup:
chibios 16.1.0
stm32f373
arm-none-eabi-gcc (4.8.2-14ubuntu1+6) 4.8.2
thanks in advance!