László Monda
|
057f048d1b
|
Fix pointer arithmetic.
|
2017-07-23 17:51:52 +02:00 |
|
László Monda
|
5a9286537e
|
Remove the commented out uploadConfig()
|
2017-07-23 17:49:15 +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
|
57136e279d
|
Be explicit about void function arguments.
|
2017-07-23 00:56:43 +02:00 |
|
László Monda
|
c86bfff38f
|
Remove function prototypes for USB handlers and move usbProtocolHandler to the end of the file.
|
2017-07-23 00:55:06 +02:00 |
|
László Monda
|
b87cafd10e
|
Extract system properties as enums.
|
2017-07-23 00:53:27 +02:00 |
|
László Monda
|
d8825cc617
|
Add missing break that could cause troubles later.
|
2017-07-23 00:50:37 +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
|
8ed4a6ba09
|
Separate the configuration to hardware configuration and user configuration. Implement async I2C EEPROM handling. Remove USB functions that dealt with EEPROM and individual LEDs because they were dependent on sync I2C functions.
|
2017-07-22 23:49:47 +02:00 |
|
Eric Tang
|
595ced9902
|
Treat the LED driver as a peripheral with a driver
|
2017-07-12 20:03:50 -07:00 |
|
Eric Tang
|
ec5f774944
|
Add the parser for the top-level configuration
|
2017-07-09 10:35:52 -07:00 |
|
Eric Tang
|
fa79957ab2
|
Convert ConfigBuffer to serialized_buffer_t
|
2017-07-09 10:23:51 -07:00 |
|
Eric Tang
|
c7977c905c
|
Send the final position of the configuration parser to the host
|
2017-07-03 19:42:45 -07:00 |
|
Eric Tang
|
ebb154472c
|
Send the status code returned by the configuration parser to the host
|
2017-07-03 19:41:17 -07:00 |
|
Eric Tang
|
0f92b0ba22
|
Take a step towards parsing keymaps
|
2017-06-24 11:07:56 -07:00 |
|
László Monda
|
bdaef763a4
|
Rename deserialize_Layer() to parseLayer() and process* functions to parse*
|
2017-06-15 18:13:42 +02:00 |
|
László Monda
|
1958b1dee4
|
Rename config_buffer.[ch] to config_state.[ch]
|
2017-06-15 18:04:03 +02:00 |
|
László Monda
|
fd66ce5c40
|
Rename deserialize.[ch] to parse_keymap.[ch]
|
2017-06-15 17:59:15 +02:00 |
|
László Monda
|
94f0430c27
|
Rename config_parser to config
|
2017-06-15 17:55:50 +02:00 |
|
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 |
|