Commit Graph

54 Commits (a0297a892ee1fc571cd9bdc447d2c2726a210629)

Author SHA1 Message Date
Fred Sundvik a0297a892e Rename system to serial_link
9 years ago
Fred Sundvik b4ab61171e Configurable serializer thread priority
9 years ago
Fred Sundvik a08bcea998 Don't accept remote objects with the wrong size
9 years ago
Fred Sundvik 3b422d2ac4 Add debug print for serial link errors
9 years ago
Fred Sundvik 59657355d2 Master mode remains active
9 years ago
Fred Sundvik f7275f0ede Configurable baud setting
9 years ago
Fred Sundvik d835ad91a3 Resend the keyboard state every ms
9 years ago
Fred Sundvik 32f0171d39 Fix crash when receiving unregistered remotes
9 years ago
Fred Sundvik 11bd4ba0dd Remote object callable from many places
9 years ago
Fred Sundvik 168c5b679f Call remote matrix update, when the matrix changes
9 years ago
Fred Sundvik 6fe6d111bf Send the keyboard matrix over the serial link
9 years ago
Fred Sundvik d8d4622802 Improve serial link initialization, and add driver
9 years ago
Fred Sundvik 46482460fa Some small fixes for the serial update loop
9 years ago
Fred Sundvik 9cb139adc4 Add simple loop for updating the serial link
9 years ago
Fred Sundvik 36e4869531 Create a thread for the serial link
9 years ago
Fred Sundvik 6873b17117 Support for Chibios compilation
9 years ago
Fred Sundvik 8cbfe79dd9 Add master to single slave transport
9 years ago
Fred Sundvik 7b88b8b7e1 Add slave to master transport
9 years ago
Fred Sundvik 64b7efeb72 Add proper initialization of transport buffers
9 years ago
Fred Sundvik 415ab91c9d Add master to slave transport
9 years ago
Fred Sundvik fe1db50fc3 Writing signals events
9 years ago
Fred Sundvik 2710361cd8 Change the triple buffer object interface
9 years ago
Fred Sundvik 679bfe7c54 More transport WIP
9 years ago
Fred Sundvik 4ee6eadf9e Local and remote objects WIP
9 years ago
Fred Sundvik b7059d35f9 Working triple buffering
9 years ago
Fred Sundvik 8e2d70d11f Simplify the triple buffer implementation
9 years ago
Fred Sundvik 4bb5733cdc Updates to triple buffer
9 years ago
Fred Sundvik 50edb3d90c Add first version of triple buffered object
9 years ago
Fred Sundvik c78eefba49 Add first transport tests
9 years ago
Fred Sundvik ea346125e8 Add some validation for invalid router destinations
9 years ago
Fred Sundvik 532f98eef6 Support for other links sending to master
9 years ago
Fred Sundvik c28e19c546 First link sending to master
9 years ago
Fred Sundvik 82b5037b9d Add master send to specific destinations
9 years ago
Fred Sundvik cee5406ed7 Add complete master broadcast test
9 years ago
Fred Sundvik 4b9fccc756 Start implement router
9 years ago
Fred Sundvik 5a1600e24f Add link parameter
9 years ago
Fred Sundvik 419908e5ef Hide the byte stuffer state inside it
9 years ago
Fred Sundvik 8d50880686 Use memcpy instead of cast to avoid alignment issues
9 years ago
Fred Sundvik f22d2543b1 Rename route_frame to route_incoming_frame
9 years ago
Fred Sundvik 0eb62c4ce6 Rename recv_frame to validator_recv_frame
9 years ago
Fred Sundvik 2a6696bd3d Add validator send frame
9 years ago
Fred Sundvik 62058329ff Add crc32 validation of received frames
9 years ago
Fred Sundvik a3ec3bbef8 Start implement frame validator
9 years ago
Fred Sundvik 713465fb41 Add some full round trip tests
9 years ago
Fred Sundvik 6956c177da Add byte stuffing send support for large frames
9 years ago
Fred Sundvik 2f3ea76428 Fix name of some unit tests
9 years ago
Fred Sundvik f3beeb0270 Hanlde sending of zero bytes for small packets
9 years ago
Fred Sundvik a089eaa868 Add sending of small frames with no zeroes
9 years ago
Fred Sundvik 26537474ae Add byte stuffer recv handling of too long frames
9 years ago
Fred Sundvik e8cb6d8023 Bytestuffer recv handling of long frames
9 years ago