Commit Graph

309 Commits

Author SHA1 Message Date
Martin Preuss
e1131871ef ringbuffer: alloc no less than 2 bytes.
This protects against race conditions. We can now preset the first two
bytes which are used for size and flags by the COM module (currently the
only user of the ringbuffer module).
2023-01-19 23:18:28 +01:00
Martin Preuss
118d713244 com: added remarks. 2023-01-19 23:16:46 +01:00
Martin Preuss
4e310e82d9 Ringbuffer: clear first byte. 2023-01-19 22:08:03 +01:00
Martin Preuss
cde7e4bb74 Added COM_EnqueuePing. 2023-01-19 22:07:45 +01:00
Martin Preuss
ad2ff142c4 AVR: More work on COM module. 2023-01-19 00:18:27 +01:00
Martin Preuss
531cf49a6f Added and simplified COM module.
Directly use pins, no complicated redirections.
Router modules will probably use real UARTs or MCUs programmed as UARTs.
2023-01-18 01:09:31 +01:00
Martin Preuss
4eb9dd8777 Started working on COM module. 2023-01-17 20:56:18 +01:00
Martin Preuss
db7fd9e333 Minor beautifications. 2023-01-17 20:56:04 +01:00
Martin Preuss
112e15e41b Initial import. 2023-01-16 23:12:09 +01:00