The uart_unif module tries to access either the STM32 HAL for STM32 builds or the esp-idf for ESP32 builds. There is no actual platform-agnostic support through Arduino functions.
Support can be added by doing the following:
- Compile-time conditional timeout for the queue in
cli_server
- Combine line reading and edge cases catching in
uart_unif_read with appropriate queue inputs
- Correct parsing of non-ESP32/non-STM32 Arduino FW projects (simply checking
ARDUINO macro won't be enough)
The central difference is that the cli_server won't be a worker woken up by an event or interrupt system, but a polling loop with configurable timeout.
Check what boards have enough RAM for jescore!
The
uart_unifmodule tries to access either the STM32 HAL for STM32 builds or the esp-idf for ESP32 builds. There is no actual platform-agnostic support through Arduino functions.Support can be added by doing the following:
cli_serveruart_unif_readwith appropriate queue inputsARDUINOmacro won't be enough)The central difference is that the
cli_serverwon't be a worker woken up by an event or interrupt system, but a polling loop with configurable timeout.Check what boards have enough RAM for
jescore!