Commit Graph

28 Commits

Author SHA1 Message Date
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
László Monda
b87cafd10e Extract system properties as enums. 2017-07-23 00:53:27 +02:00
László Monda
e0dcf81421 Extract USB commands as enums of the same type. 2017-07-23 00:49:50 +02:00
László Monda
0acb1c54ca Expose EEPROM_LaunchTransfer() via USB. 2017-07-23 00:41:08 +02:00
László Monda
6c60af4ba8 Preserve state across resets by putting Wormhole to the newly added .noinit section. Rename The jump to bootloader USB command to reenumerate and generalize accordingly by handling the passed reenumeration mode. 2017-06-04 23:32:48 +02:00
László Monda
19adb8d3a4 Add USB command to retrieve ADC value. 2017-05-08 02:31:38 +02:00
László Monda
b80e1cbef1 The LED driver doesn't get read, so remove related code. 2017-03-18 21:18:36 +01:00
László Monda
c16032174b The test LED only gets set, so name identifiers accordingly. 2017-03-18 21:17:24 +01:00
László Monda
6f6d116351 Move usb_interface_*.[ch] files to the newly created usb_interfaces directory. 2017-02-26 02:45:43 +01:00
László Monda
0ded50b43a PWM the R_EXT of the LED driver using FTM. 2017-01-13 14:58:31 +01:00
László Monda
3348fb0848 Lowercase protocol handler functions according to our coding standards because they're not extern. 2017-01-10 01:30:46 +01:00
László Monda
1433b57a46 Add update config and apply config protocol commands. 2017-01-07 03:26:44 +01:00
László Monda
ce1b16f406 Remove LED jumper and ISO jumper related code, as the presence of LEDs and ISO/ANSI configuration will be stored in the hardware configuration area of the EEPROM instead of using solder jumpers. 2017-01-05 19:25:39 +01:00
László Monda
f961260443 Expose ISO jumper state over USB. 2016-10-20 00:14:01 +02:00
László Monda
5a32ff743c Expose the LED jumper via USB. 2016-10-18 18:58:00 +02:00
László Monda
0ed30b4591 Expose the merge sensor via USB. 2016-10-17 23:21:37 +02:00
László Monda
9436be444c Implement read EEPROM and write EEPROM USB commands. 2016-10-12 12:51:22 +02:00
László Monda
b519cd412d Implement the write LED driver protocol command. 2016-09-27 02:03:43 +02:00
László Monda
7855fa3f87 Add system properties. 2016-09-27 01:42:28 +02:00
László Monda
13a71ea826 Extract dedicated protocol handler functions per command. 2016-09-27 00:11:26 +02:00
László Monda
9e29018ff7 Move the USB protocol handler into its own file. 2016-09-26 23:49:50 +02:00