adapts to updated uart register layout

This commit is contained in:
2025-07-01 12:07:11 +02:00
parent b375ff4a72
commit d642f80972
14 changed files with 1518 additions and 955 deletions

View File

@ -35,7 +35,7 @@ ssize_t __wrap_read(int fd, void *ptr, size_t len) {
if (isatty(fd)) {
#if defined(BOARD_ehrenberg) || defined(BOARD_tgc_vp)
for (current = (uint8_t *)ptr; (current < ((uint8_t *)ptr) + len) &&
(get_uart_rx_tx_reg_rx_avail(uart) > 0);
(get_uart_status_reg_rx_avail(uart) > 0);
current++) {
*current = uart_read(uart);
result++;