Commit Graph

168 Commits

Author SHA1 Message Date
Martin Preuss
6386153775 avr: added routines to read/write EEPROM. 2023-01-22 17:46:16 +01:00
Martin Preuss
a978bf9686 main: added timer callbacks for 10s and 1m. removed debug code. 2023-01-22 01:06:23 +01:00
Martin Preuss
fed877fbf5 timer: Added callbacks for every 10s and every minute. 2023-01-22 01:05:39 +01:00
Martin Preuss
e364ac0297 com: added field to PIN message (src address) 2023-01-22 01:05:11 +01:00
Martin Preuss
53e60c7304 main: added debug code. 2023-01-22 00:17:21 +01:00
Martin Preuss
127a6d3b48 com: fixed a bug. 2023-01-22 00:17:11 +01:00
Martin Preuss
962d7c18a0 ringbuffer: Fixed a few bugs. 2023-01-22 00:16:42 +01:00
Martin Preuss
aeee0c6f64 Debugging. 2023-01-21 18:11:23 +01:00
Martin Preuss
a4b7b7fe21 Fixed a few bugs. 2023-01-21 18:11:13 +01:00
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