GPIO tested; add monitoring. TODO: USB/SPI/I2C

This commit is contained in:
Edward Emelianov
2026-03-10 00:20:43 +03:00
parent 9713b10cd4
commit 8e78a12f06
12 changed files with 770 additions and 199 deletions

View File

@@ -44,8 +44,8 @@ void linecoding_handler(uint8_t ifno, usb_LineCoding *lc);
#define DISCONN_TMOUT (2)
// sizes of ringbuffers for outgoing and incoming data
#define RBOUTSZ (1024)
#define RBINSZ (1024)
#define RBOUTSZ (512)
#define RBINSZ (256)
#define newline(ifno) USB_putbyte(ifno, '\n')
#define USND(ifno, s) do{USB_sendstr(ifno, s); USB_putbyte(ifno, '\n');}while(0)