László Monda
|
fd43e81e46
|
Query module key count and pointer count in separate messages instead of a combined message for better clarity.
|
2017-12-15 02:13:58 +01:00 |
|
László Monda
|
c994a97d03
|
Make the modules transfer their firmware version to the device. Fix the message length of the module protocol version.
|
2017-12-15 01:42:58 +01:00 |
|
László Monda
|
c1b887cea8
|
Rename UhkModulePhase_*ProtocolVersion to UhkModulePhase_*ModuleProtocolVersion.
|
2017-12-15 01:16:27 +01:00 |
|
László Monda
|
0421c2f339
|
Swap SlaveCommand_RequestKeyStates and SlaveCommand_JumpToBootloader, thereby making SlaveCommand_JumpToBootloader the lower number because it's more basic and shouldn't change in the future.
|
2017-11-09 01:49:32 +01:00 |
|
László Monda
|
3d443a8bfc
|
Remove semihosting related changes.
|
2017-10-06 22:36:02 +02:00 |
|
László Monda
|
96eb2ef7a3
|
Make slaves send their protocol version to the master.
|
2017-10-05 17:55:59 +02:00 |
|
László Monda
|
bd76fb44c2
|
Make slaves send their module id to the master.
|
2017-10-05 17:26:10 +02:00 |
|
László Monda
|
4295793fb9
|
Add ATTR_* macros in the newly created attributes.h and use them wherever possible for improved readability.
|
2017-10-04 22:26:48 +02:00 |
|
László Monda
|
c965fe185b
|
Enable semihosting for the "uhk-left debug jlink" build.
|
2017-10-04 18:21:02 +02:00 |
|
László Monda
|
c707f0e408
|
Transfer a synchronization message to make I2C recovery more robust.
|
2017-10-04 02:24:34 +02:00 |
|
László Monda
|
724d72132a
|
Rearrange slave_command_t enum values a bit to reflect their relative importance and rearrange a related case block too.
|
2017-10-01 22:21:00 +02:00 |
|
László Monda
|
1b1111e9da
|
Rename I2C_BUFFER_MAX_LENGTH to I2C_MESSAGE_MAX_TOTAL_LENGTH.
|
2017-10-01 21:55:37 +02:00 |
|
László Monda
|
b443b56357
|
Rename I2C_MESSAGE_MAX_LENGTH to I2C_MESSAGE_MAX_PAYLOAD_LENGTH.
|
2017-10-01 21:52:41 +02:00 |
|
László Monda
|
4ade25d739
|
Add I2C_MESSAGE_HEADER_LENGTH and use it in i2cSlaveCallback() instead of magic numbers.
|
2017-10-01 21:42:55 +02:00 |
|
László Monda
|
04047eb128
|
Make modules send their features (key count and whether they have pointer input) to the master upon enumeration.
|
2017-09-30 00:08:28 +02:00 |
|
László Monda
|
b88c6e4291
|
Add i2c_message_t and use it all across the codebase. This will allow handling variable-length I2C messages and validation with minimal effort. The test LED and brightness PWM update features got temporarily broken and will fix them soon.
|
2017-09-25 03:03:14 +02:00 |
|
László Monda
|
ac138d2da6
|
Rename SlaveCommand_GetKeyStates to SlaveCommand_RequestKeyStates
|
2017-09-22 02:47:05 +02:00 |
|
László Monda
|
5dd3b8e0be
|
Handle SlaveCommand_JumpToBootloader
|
2017-09-22 01:17:58 +02:00 |
|
László Monda
|
430c02f0ed
|
Remove test actions and related code.
|
2017-08-19 13:32:02 +02:00 |
|
László Monda
|
8ac4f5a069
|
Rename bridge_protocol.h to slave_protocol.h
|
2017-05-29 22:17:40 +02:00 |
|