io interface; relying on patched lwip

This commit is contained in:
2024-08-26 23:03:38 +02:00
parent ee06c79bf4
commit 8e7424bb2f
4 changed files with 141 additions and 9 deletions

View File

@ -77,6 +77,7 @@ void uart0_enable_receiver() {
}
int uart0_read(char *ptr, int len) {
// TODO for blocking, if first call was successfull, further calls need to be delay=0
int received = 0;
while (len > 0) {
BaseType_t result = xQueueReceive(uart0_receive_queue, ptr, 0);