Commit Graph

1307 Commits

Author SHA1 Message Date
László Monda
328865b63b Update LEDs in small chunks, improving the responsivity of the keys of the left keyboard half dramatically. 2017-06-01 00:46:51 +02:00
László Monda
a9fa765f99 Extract currentLedDriverState. 2017-05-31 23:59:39 +02:00
László Monda
0e41e403a9 Move LED control register commands to ledDriverStates. 2017-05-31 23:29:02 +02:00
László Monda
24addf1648 Add led_driver_state_t.i2cAddress 2017-05-31 22:46:43 +02:00
László Monda
2bb86eab70 Utilize the phase member of the LED driver state structure. 2017-05-31 22:33:06 +02:00
László Monda
291fddb0a4 Start to consolidate LED driver state into a struct. 2017-05-31 22:10:14 +02:00
László Monda
0bfdffa4e3 Remove uhkModuleExternalStates for the time being. Caching will be reintroduced later. 2017-05-31 21:48:45 +02:00
László Monda
3b181c1f87 Rename UHK module *state* identifiers to *phase*. 2017-05-31 21:45:33 +02:00
László Monda
55f505ac8c Rename LED driver *state* varibles to *phase*. 2017-05-31 21:41:11 +02:00
László Monda
1e290ebc34 Verify the integrity of key state update messages using CRC16-CCITT. 2017-05-31 03:26:50 +02:00
László Monda
57319489d2 Make the left half send only as many bytes of key state information as required. 2017-05-31 02:24:55 +02:00
László Monda
2172b58a00 Remove redundant newline. 2017-05-31 01:42:46 +02:00
László Monda
b969feb346 Simplify bool array converter functions. 2017-05-31 01:41:44 +02:00
László Monda
a8cb94ef15 Extract KEY_STATE_BUFFER_SIZE 2017-05-31 01:34:35 +02:00
László Monda
0edd56fa82 Serialize key states much more efficiently by using bits instead of bytes. 2017-05-31 01:26:16 +02:00
László Monda
8b69dd7d90 Move crc16.[ch] to shared 2017-05-30 17:20:06 +02:00
László Monda
8c96d2a042 Resolve compilation warning. 2017-05-30 17:12:14 +02:00
László Monda
8ac4f5a069 Rename bridge_protocol.h to slave_protocol.h 2017-05-29 22:17:40 +02:00
László Monda
1daf6db53c Rename *bridge* identifiers to *slave* 2017-05-29 22:14:11 +02:00
László Monda
2b0094f29c Fix guard macro name. 2017-05-29 22:07:52 +02:00
László Monda
2e66d4bc21 Rename bridge_protocol_handler.[ch] to slave_protocol_handler.[ch] 2017-05-29 22:07:13 +02:00
László Monda
98701d1c85 Update BusPal USB VID and PID. 2017-05-24 02:16:25 +02:00
László Monda
61dbe69d3b Update the VID and PID of the bootloader. 2017-05-24 02:10:10 +02:00
László Monda
28bf0cdeef Set final USB VID and PID. 2017-05-23 23:13:34 +02:00
László Monda
5b07a52848 Move test actions to the Fn layer. 2017-05-23 22:24:15 +02:00
László Monda
03ef36cb3a Enable the LED of the ISO key. 2017-05-23 22:20:32 +02:00
László Monda
84108b921d Fix filename. 2017-05-23 13:01:37 +02:00
László Monda
942a54469c Fix include filename. 2017-05-23 03:24:48 +02:00
László Monda
40498a15b9 Fix typo by renaming init_peripherials.[ch] to init_peripherals.[ch] 2017-05-23 03:19:24 +02:00
László Monda
67a5140e91 Mark functions of void arguments as such in the left firmware. 2017-05-23 03:15:53 +02:00
László Monda
f6f5a13c48 Fix header section names. 2017-05-23 03:12:22 +02:00
László Monda
debe0240dc Fix #ifdef macro names to be in sync with header filenames. 2017-05-23 03:08:31 +02:00
László Monda
54deb41e6c Get rid of v6 build and run configurations. 2017-05-23 02:44:21 +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
2b08775e4e Indent array elements nicely. 2017-05-23 01:51:46 +02:00
László Monda
6e7bab2db4 Extract bootloader specific code to bootloader.[ch] 2017-05-23 01:50:42 +02:00
László Monda
8686d554eb Fix coding style. 2017-05-23 01:38:49 +02:00
László Monda
727229051c Remove the v6 run configurations. 2017-05-23 01:34:55 +02:00
László Monda
ebbe07474e Remove v6 build configurations. 2017-05-23 01:23:39 +02:00
László Monda
1b4d27cfa6 Remove UHK_PCB_MAJOR_VERSION macro conditionals and default to v7. 2017-05-23 01:10:41 +02:00
László Monda
207da96fd3 Change .peripheralDetectionTimeoutMs to 3000 2017-05-23 00:56:28 +02:00
László Monda
cd5a2db73d Use the "used" attribute, so that GCC won't remove BootloaderConfig as part of its optimization process. 2017-05-22 02:04:39 +02:00
László Monda
29474f7c73 Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware 2017-05-11 00:10:21 +02:00
László Monda
891b063786 Remove BootloaderConfiguration alias. 2017-05-11 00:09:50 +02:00
László Monda
7863e68853 Update README.md 2017-05-10 00:53:51 +02:00
László Monda
6d2d882787 Add back .travis.yml in the hope that Travis will start getting shit done. 2017-05-09 21:18:13 +02:00
László Monda
1344bfed9d Temporarily remove .travis.yml 2017-05-09 21:17:52 +02:00
László Monda
1c303a99a9 Try to trigger Travis. 2017-05-09 21:16:13 +02:00
László Monda
3c011437ad Merge pull request #39 from stephengroat/patch-1
Create .travis.yml
2017-05-09 21:05:42 +02:00
Stephen
80e2b9c6a6 Create .travis.yml 2017-05-08 11:28:34 -07:00