László Monda
|
b34fb9daa3
|
Add switch keymap USB command.
|
2018-03-30 11:18:31 +02:00 |
|
László Monda
|
0fd95b71b2
|
Add usb_command_set_i2c_baud_rate.[ch]
|
2018-01-13 03:54:06 +01:00 |
|
László Monda
|
6ad425cbf9
|
Log I2C error counts on a per slave and per error type basis and expose them via USB.
|
2018-01-05 03:23:48 +01:00 |
|
László Monda
|
1ac637af0f
|
Rename the GetProperty command to GetDeviceProperty.
|
2017-12-23 16:11:47 +01:00 |
|
László Monda
|
36951d1a34
|
Minor cleanups regarding the previous rename.
|
2017-12-23 16:08:45 +01:00 |
|
László Monda
|
5190265a2c
|
Rename get_module_properties.[ch] to get_module_property.[ch]. It seems that the header wasn't included in usb_protocol_handler.c possibly causing issues when using these commands.
|
2017-12-23 16:06:24 +01:00 |
|
László Monda
|
85e92d21b4
|
Add new UsbCommand_GetModuleProperties() device protocol command.
|
2017-12-15 02:46:30 +01:00 |
|
László Monda
|
28f98f179a
|
Change the value of UsbCommandId_{GetDeviceState,SetTestLed,GetDebugBuffer,GetAdcValue,SetLedPwmBrightness}.
|
2017-12-12 18:38:01 +01:00 |
|
László Monda
|
5798f9e4fb
|
Refactor UsbCommandId_LaunchEepromTransfer, change its arguments, and change its ID to 0x08.
|
2017-12-12 03:24:34 +01:00 |
|
László Monda
|
4fe5ce45ac
|
Change UsbCommandId_ApplyConfig to 0x07.
|
2017-12-12 02:15:20 +01:00 |
|
László Monda
|
a212c254a9
|
Change UsbCommandId_WriteHardwareConfig and UsbCommandId_WriteUserConfig to 0x05 and 0x06.
|
2017-12-12 01:59:53 +01:00 |
|
László Monda
|
7c91f8f6d1
|
Replace UsbCommandId_ReadHardwareConfig and UsbCommandId_ReadUserConfig with UsbCommandId_ReadConfig.
|
2017-12-12 01:22:26 +01:00 |
|
László Monda
|
c8cfe53136
|
Change UsbCommandId_SendKbootCommandToModule from 0x13 to 0x03.
|
2017-12-11 22:15:46 +01:00 |
|
László Monda
|
f1f47ece14
|
Change UsbCommandId_JumpToModuleBootloader from 0x12 to 0x02.
|
2017-12-11 21:44:35 +01:00 |
|
László Monda
|
a0dba2fa66
|
Change UsbCommandId_SetTestLed from 0x02 to 0x14.
|
2017-12-11 21:21:41 +01:00 |
|
László Monda
|
ab7e25692a
|
Use hex numbers as the values of UsbCommandId_*
|
2017-11-23 04:18:37 +01:00 |
|
László Monda
|
8252da86d8
|
Rename some files and identifiers that are related to USB commands.
|
2017-11-18 03:30:24 +01:00 |
|
László Monda
|
22141ba1e3
|
Replace {GET,SET}_USB_BUFFER_UINT8 with {Get,Set}UsbRxBufferUint8
|
2017-11-11 16:49:48 +01:00 |
|
László Monda
|
21c1ded972
|
Slightly tweak USB command names.
|
2017-11-08 23:14:12 +01:00 |
|
László Monda
|
9910fe536f
|
Add USB_STATUS_CODE_SIZE and use it to kill the magic numbers of usb_command_read_config()
|
2017-11-06 00:44:32 +01:00 |
|
László Monda
|
88514f82f4
|
Put all macro arguments into parentheses just to be safe.
|
2017-11-05 22:29:47 +01:00 |
|
László Monda
|
f7e26eef8a
|
Split usb_status_code_transfer_config_t as usb_status_code_read_config_t and usb_status_code_write_config_t
|
2017-11-05 22:14:49 +01:00 |
|
László Monda
|
a8bde4e007
|
Add {GET,SET}_USB_BUFFER_UINT* and use them wherever possible. Get rid of SetUsb*() functions.
|
2017-11-05 22:09:34 +01:00 |
|
László Monda
|
58778feb5b
|
Move UsbStatusCode_JumpToSlaveBootloader_InvalidModuleDriverId to usb_command_jump_to_slave_bootloader.h
|
2017-11-05 19:33:08 +01:00 |
|
László Monda
|
d78ac1bcf0
|
Start USB command specific status codes from 2 since 0 and 1 are taken.
|
2017-11-05 19:28:40 +01:00 |
|
László Monda
|
6db3eb3045
|
Rename UsbResponse_*() to UsbStatusCode_*(), SetUsbError() to SetUsbStatusCode(), and other USB status codes consistently.
|
2017-11-05 19:25:13 +01:00 |
|
László Monda
|
eb451d6153
|
Set UsbResponse_InvalidCommand upon encountering with an invalid USB command.
|
2017-11-05 19:12:37 +01:00 |
|
László Monda
|
3f52819c0e
|
Move UsbDebugInfo into usb_command_get_debug_info.[ch] and remove external UsbDebugInfo references.
|
2017-11-05 19:07:12 +01:00 |
|
László Monda
|
8c42ec27dd
|
Remove the now unused UsbCommandId_WriteLedDriver
|
2017-11-05 18:13:57 +01:00 |
|
László Monda
|
6dcfcca10f
|
Remove unneeded includes and comments from usb_protocol_handler.c
|
2017-11-05 18:10:35 +01:00 |
|
László Monda
|
45420a348b
|
Extract UsbCommand_SetLedPwmBrightness() into its own file.
|
2017-11-05 18:08:35 +01:00 |
|
László Monda
|
d547b9b324
|
Remove UsbCommandId_ReadMergeSensor now that it can be queried via UsbCommandId_GetKeyboardState.
|
2017-11-05 01:21:23 +01:00 |
|
László Monda
|
4de340967c
|
Extract UsbCommand_LaunchEepromTransferLegacy() into its own file.
|
2017-11-04 10:06:55 +01:00 |
|
László Monda
|
ad4fe1a18d
|
Extract system properties to usb_command_get_property.c
|
2017-11-04 02:38:00 +01:00 |
|
László Monda
|
336c2e5368
|
Extract UsbCommand_ReadConfig() to usb_command_read_config.c. Rename Set{Response,Error}* to SetUsb{Response,Error}
|
2017-11-04 02:11:49 +01:00 |
|
László Monda
|
c0b41b8e60
|
Remove the ApplyConfig() prototype because it doesn't exist anymore.
|
2017-11-04 01:36:55 +01:00 |
|
László Monda
|
457f4802d4
|
Rename usb_command_t to usb_command_id_t and UsbCommand_* to UsbCommandId_*
|
2017-11-04 01:35:31 +01:00 |
|
László Monda
|
ae3efce452
|
Extract the applyConfig USB command into usb_command_apply_config.[ch]
|
2017-11-04 01:32:03 +01:00 |
|
László Monda
|
569493cbfa
|
Add UsbDebugInfo to aid future debugging via USB.
|
2017-10-28 17:12:52 +02:00 |
|
László Monda
|
92ee3b5606
|
Add KBOOT I2C slave driver, its related USB command, and make the firmware updater script of the left half successfully reset the left half after firmware update.
|
2017-10-22 02:17:43 +02:00 |
|
László Monda
|
37c90cc4a7
|
Fix indentation.
|
2017-10-17 00:30:03 +02:00 |
|
László Monda
|
ef34094004
|
Add jump to slave bootloader command.
|
2017-10-12 19:57:41 +02:00 |
|
László Monda
|
751810ec4c
|
Explicitly add void to the argument list of zero argument functions.
|
2017-09-28 03:03:11 +02:00 |
|
László Monda
|
ecf1ad2468
|
Don't use the extern keyword for functions because it's redundant.
|
2017-09-28 02:37:55 +02:00 |
|
László Monda
|
e6b5b3b3a5
|
Read the hardware configuration area and the user configuration area of the EEPROM into the RAM and try to apply it.
|
2017-09-14 09:55:29 +02:00 |
|
László Monda
|
2bdcb87659
|
Add UsbCommand_GetDebugInfo.
|
2017-08-01 03:00:48 +02:00 |
|
László Monda
|
c5c44efd22
|
Add the GetKeyboardState USB command.
|
2017-07-25 02:38:51 +02:00 |
|
László Monda
|
c5abbdcd54
|
Move system property enum to system_properties.h
|
2017-07-23 20:14:29 +02:00 |
|
László Monda
|
d73a5e7880
|
Make reading and writing the hardware and user configuration possible via USB. Remove readEeprom() and writeEeprom(). Use enums instead of macros.
|
2017-07-23 17:37:25 +02:00 |
|
László Monda
|
4d15f6f756
|
Extract USB response codes into an enum.
|
2017-07-23 01:02:24 +02:00 |
|