Commit Graph

141 Commits

Author SHA1 Message Date
László Monda
57a6c94145 Move config_buffer.[ch] to the config_parser directory. 2017-06-15 17:53:35 +02:00
László Monda
1f556a8095 Move deserialize.c into the newly create config_parser subdirectory. 2017-06-15 13:09:31 +02:00
László Monda
0391259dab Replace tabs with spaces. 2017-06-05 16:14:46 +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
8c96d2a042 Resolve compilation warning. 2017-05-30 17:12:14 +02:00
László Monda
b039afc37a Remove UHK_PCB_MAJOR_VERSION macro from the right firmware and default to v7. 2017-05-23 02:29:19 +02:00
László Monda
c8df7eb099 Make USB_COMMAND_GET_ADC_VALUE trigger the relevant function. 2017-05-08 02:59:09 +02:00
László Monda
19adb8d3a4 Add USB command to retrieve ADC value. 2017-05-08 02:31:38 +02:00
László Monda
d2eed48418 Rename bridge_protocol_scheduler.[ch] to slave_scheduler.[ch] 2017-05-05 00:17:27 +02:00
László Monda
c291107312 Rename bridge_slave_*.[ch] to slave_driver_*.[ch] 2017-05-05 00:08:18 +02:00
László Monda
03a18e7acb Rename the bridge_slaves directory to slave_drivers. 2017-05-04 23:43:12 +02:00
László Monda
8675effabc Add wormhole.[ch] 2017-05-01 17:02:18 +02:00
László Monda
cca1e49d18 Rename the misspelled peripherials directory to peripherals. 2017-04-15 01:00:55 +02:00
László Monda
6c749e2c4c Set the LED PWM values of both halves at once. 2017-03-18 22:43:22 +01: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
3fdd183f33 Remove commented out code. 2017-03-18 21:14:10 +01:00
László Monda
1bb76d7d3f Simplify JumpToBootloader() by only using the first method to reset the MCU. 2017-03-18 21:13:25 +01:00
László Monda
487c02335b Fix the state transfer of the test LED. 2017-03-18 21:06:40 +01:00
László Monda
6e415696d7 Move merge_sensor.[ch], reset_button.[ch] and test_led.[ch] into the newly created peripherials directory. 2017-02-26 02:50:21 +01:00
László Monda
fc0fc4a3f4 Start to implement the fully asynchronous bridge protocol scheduler and use it to transfer key and LED state. 2017-02-03 01:37:25 +01:00
László Monda
d8761a95ba Use >= relations instead of == for comparing UHK_PCB_MAJOR_VERSION. 2017-01-21 02:20:47 +01:00
László Monda
ece0ffc6fc Control the left and right side PWM brightness via separate protocol messages. 2017-01-15 04:52:23 +01:00
László Monda
9ef9e5f734 Drive the LED_PWM line of the left half via TPM which doesn't work yet for some reason. Add protocol command for setting the LED_PWM brightness of the left half. Expose UpdateUsbReports() 2017-01-13 21:43:47 +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
38245d9749 Zero the content of GenericHidOutBuffer before processing protocol commands. 2017-01-02 21:09:11 +01:00
László Monda
af1741ae4e Use I2cRead() and I2cWrite() wherever possible. 2017-01-02 19:29:13 +01:00
László Monda
61fa9c4bd8 Implement JumpToBootloader() based on Santiago's snippet. 2016-12-17 01:31:50 +01:00
László Monda
f961260443 Expose ISO jumper state over USB. 2016-10-20 00:14:01 +02:00
László Monda
7a6e5523fb Make bidirectional communication work between the keyboard halves. Make the set test LED USB command set the test LED of the left half, too. 2016-10-19 19:39:00 +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
9172493642 Rename TEST_RED_* to TEST_LED_* 2016-10-04 16:21:19 +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