#pragma once #include "FreeRTOS.h" #include "irq.h" // Number of bytes for receive FIFO #define IO_CLI_RXQUEUE_SIZE 64 // Number of bytes for transmit FIFO #define IO_CLI_TXQUEUE_SIZE 64 void io_cli_init(); void __irq__ io_cli_isr(); unsigned io_cli_read(char *buf, unsigned count, portTickType timeout); unsigned io_cli_write(const char *buf, unsigned count, portTickType timeout); #define IO_CLI_XMACRO \ X(FILE_CLI, io_cli_init, io_cli_read, io_cli_write)