Commit Graph

  • 420097dddc Keep uhk_slave_t.isConnected updated. László Monda 2017-06-01 02:31:04 +02:00
  • 7be20e34c2 Reinitialize slaves after reconnecting them. László Monda 2017-06-01 01:32:57 +02:00
  • 909c6196b2 Add slave driver initializers to the slaves array. László Monda 2017-06-01 01:21:04 +02:00
  • 4ef45e2e3c Rename led_driver_state_t.frames to .ledValues László Monda 2017-06-01 01:08:56 +02:00
  • 22ea86eaf1 Get rid of ledsBuffer in favor of led_driver_state_t.frames László Monda 2017-06-01 01:01:08 +02:00
  • 281d3f547f Capitalize the first letter of ledDriverId_* enum values. László Monda 2017-06-01 00:51:19 +02:00
  • 328865b63b Update LEDs in small chunks, improving the responsivity of the keys of the left keyboard half dramatically. László Monda 2017-06-01 00:46:51 +02:00
  • a9fa765f99 Extract currentLedDriverState. László Monda 2017-05-31 23:59:39 +02:00
  • 0e41e403a9 Move LED control register commands to ledDriverStates. László Monda 2017-05-31 23:29:02 +02:00
  • 24addf1648 Add led_driver_state_t.i2cAddress László Monda 2017-05-31 22:46:43 +02:00
  • 2bb86eab70 Utilize the phase member of the LED driver state structure. László Monda 2017-05-31 22:33:06 +02:00
  • 291fddb0a4 Start to consolidate LED driver state into a struct. László Monda 2017-05-31 22:10:14 +02:00
  • 0bfdffa4e3 Remove uhkModuleExternalStates for the time being. Caching will be reintroduced later. László Monda 2017-05-31 21:48:45 +02:00
  • 3b181c1f87 Rename UHK module *state* identifiers to *phase*. László Monda 2017-05-31 21:45:33 +02:00
  • 55f505ac8c Rename LED driver *state* varibles to *phase*. László Monda 2017-05-31 21:41:11 +02:00
  • 1e290ebc34 Verify the integrity of key state update messages using CRC16-CCITT. László Monda 2017-05-31 03:26:50 +02:00
  • 57319489d2 Make the left half send only as many bytes of key state information as required. László Monda 2017-05-31 02:24:55 +02:00
  • 2172b58a00 Remove redundant newline. László Monda 2017-05-31 01:42:46 +02:00
  • b969feb346 Simplify bool array converter functions. László Monda 2017-05-31 01:41:44 +02:00
  • a8cb94ef15 Extract KEY_STATE_BUFFER_SIZE László Monda 2017-05-31 01:34:35 +02:00
  • 0edd56fa82 Serialize key states much more efficiently by using bits instead of bytes. László Monda 2017-05-31 01:26:16 +02:00
  • 8b69dd7d90 Move crc16.[ch] to shared László Monda 2017-05-30 17:20:06 +02:00
  • 8c96d2a042 Resolve compilation warning. László Monda 2017-05-30 17:12:14 +02:00
  • 8ac4f5a069 Rename bridge_protocol.h to slave_protocol.h László Monda 2017-05-29 22:17:40 +02:00
  • 1daf6db53c Rename *bridge* identifiers to *slave* László Monda 2017-05-29 22:14:11 +02:00
  • 2b0094f29c Fix guard macro name. László Monda 2017-05-29 22:07:52 +02:00
  • 2e66d4bc21 Rename bridge_protocol_handler.[ch] to slave_protocol_handler.[ch] László Monda 2017-05-29 22:07:13 +02:00
  • 98701d1c85 Update BusPal USB VID and PID. László Monda 2017-05-24 02:16:25 +02:00
  • 61dbe69d3b Update the VID and PID of the bootloader. László Monda 2017-05-24 02:10:10 +02:00
  • 28bf0cdeef Set final USB VID and PID. László Monda 2017-05-23 23:13:34 +02:00
  • 5b07a52848 Move test actions to the Fn layer. László Monda 2017-05-23 22:24:15 +02:00
  • 03ef36cb3a Enable the LED of the ISO key. László Monda 2017-05-23 22:20:32 +02:00
  • 84108b921d Fix filename. László Monda 2017-05-23 13:01:37 +02:00
  • 942a54469c Fix include filename. László Monda 2017-05-23 03:24:48 +02:00
  • 40498a15b9 Fix typo by renaming init_peripherials.[ch] to init_peripherals.[ch] László Monda 2017-05-23 03:19:24 +02:00
  • 67a5140e91 Mark functions of void arguments as such in the left firmware. László Monda 2017-05-23 03:15:53 +02:00
  • f6f5a13c48 Fix header section names. László Monda 2017-05-23 03:12:22 +02:00
  • debe0240dc Fix #ifdef macro names to be in sync with header filenames. László Monda 2017-05-23 03:08:31 +02:00
  • 54deb41e6c Get rid of v6 build and run configurations. László Monda 2017-05-23 02:44:21 +02:00
  • b039afc37a Remove UHK_PCB_MAJOR_VERSION macro from the right firmware and default to v7. László Monda 2017-05-23 02:29:19 +02:00
  • 2b08775e4e Indent array elements nicely. László Monda 2017-05-23 01:51:46 +02:00
  • 6e7bab2db4 Extract bootloader specific code to bootloader.[ch] László Monda 2017-05-23 01:50:42 +02:00
  • 8686d554eb Fix coding style. László Monda 2017-05-23 01:38:49 +02:00
  • 727229051c Remove the v6 run configurations. László Monda 2017-05-23 01:34:55 +02:00
  • ebbe07474e Remove v6 build configurations. László Monda 2017-05-23 01:23:39 +02:00
  • 1b4d27cfa6 Remove UHK_PCB_MAJOR_VERSION macro conditionals and default to v7. László Monda 2017-05-23 01:10:41 +02:00
  • 207da96fd3 Change .peripheralDetectionTimeoutMs to 3000 László Monda 2017-05-23 00:56:28 +02:00
  • cd5a2db73d Use the "used" attribute, so that GCC won't remove BootloaderConfig as part of its optimization process. László Monda 2017-05-22 02:04:39 +02:00
  • 29474f7c73 Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware László Monda 2017-05-11 00:10:21 +02:00
  • 891b063786 Remove BootloaderConfiguration alias. László Monda 2017-05-11 00:09:50 +02:00
  • 7863e68853 Update README.md László Monda 2017-05-10 00:53:51 +02:00
  • 6d2d882787 Add back .travis.yml in the hope that Travis will start getting shit done. László Monda 2017-05-09 21:18:13 +02:00
  • 1344bfed9d Temporarily remove .travis.yml László Monda 2017-05-09 21:17:52 +02:00
  • 1c303a99a9 Try to trigger Travis. László Monda 2017-05-09 21:16:13 +02:00
  • 3c011437ad Merge pull request #39 from stephengroat/patch-1 László Monda 2017-05-09 21:05:42 +02:00
  • 80e2b9c6a6 Create .travis.yml Stephen 2017-05-08 11:28:34 -07:00
  • c8df7eb099 Make USB_COMMAND_GET_ADC_VALUE trigger the relevant function. László Monda 2017-05-08 02:59:09 +02:00
  • 19adb8d3a4 Add USB command to retrieve ADC value. László Monda 2017-05-08 02:31:38 +02:00
  • 13e0d02574 Init the ADC. László Monda 2017-05-08 02:19:20 +02:00
  • 1fb3c8b132 Add ADC peripheral. László Monda 2017-05-08 02:09:50 +02:00
  • abd894e906 Rename bridgeSlave to slave László Monda 2017-05-05 02:35:01 +02:00
  • 387652faaa Rename uhk_slave_t.moduleId to uhk_slave_t.perDriverId László Monda 2017-05-05 02:32:45 +02:00
  • 588596662a Rename currentBridgeSlaveId to currentSlaveId László Monda 2017-05-05 02:28:34 +02:00
  • 32e1b8e17f Rename slave_handler_t to slave_updater_t and uhk_slave_t.slaveHandler to uhk_slave_t.updater László Monda 2017-05-05 02:26:48 +02:00
  • bbf937ff07 Fix indentation. László Monda 2017-05-05 02:25:06 +02:00
  • 58f295638b Rename InitUhkModules() to UhkModuleSlaveDriver_Init() and UhkSlaveUhkModuleHandler() to UhkModuleSlaveDriver_Update() László Monda 2017-05-05 02:21:59 +02:00
  • 3853adc02c Rename InitLedSlaveDriver() to LedSlaveDriver_Init() and UhkSlaveLedDriverHandler() to LedSlaveDriver_Update() László Monda 2017-05-05 02:18:39 +02:00
  • 1b2d819944 Fix indentation. László Monda 2017-05-05 02:16:10 +02:00
  • 575b10af24 Fix indentation. László Monda 2017-05-05 02:15:18 +02:00
  • 107a771a4c Add slave_driver_initializer_t, slaveDriverInitializers, and initialize slaves in a more organized fashion. László Monda 2017-05-05 02:06:13 +02:00
  • 5371a3c17f Rename bridgeSlaves to slaves. László Monda 2017-05-05 01:25:57 +02:00
  • a13a458683 Rename BridgeSlave*Handler() to UhkSlave*Handler() László Monda 2017-05-05 01:16:12 +02:00
  • f9a9ebb1d9 Rename InitBridgeProtocolScheduler() to InitSlaveScheduler() László Monda 2017-05-05 01:13:36 +02:00
  • b21cd8b493 Make the slave scheduler always jump to the next slave by disallowing slave drivers to lock the scheduler. László Monda 2017-05-05 01:08:39 +02:00
  • f713a13a21 Remove dead code which is supposed to retrieve SP, but not sure if it actually does. László Monda 2017-05-05 00:21:09 +02:00
  • b649d83d4f Rename #ifdef macro guards of recently renamed files according to the new filenames. László Monda 2017-05-05 00:19:39 +02:00
  • d2eed48418 Rename bridge_protocol_scheduler.[ch] to slave_scheduler.[ch] László Monda 2017-05-05 00:17:27 +02:00
  • 4ce83593fa Rename BridgeSlaveType_* enums to UhkSlaveType_* László Monda 2017-05-05 00:13:40 +02:00
  • c8abc2ec8e Rename bridge_slave_t to uhk_slave_t and bridge_slave_type_t to uhk_slave_type_t László Monda 2017-05-05 00:10:42 +02:00
  • c291107312 Rename bridge_slave_*.[ch] to slave_driver_*.[ch] László Monda 2017-05-05 00:08:18 +02:00
  • 03a18e7acb Rename the bridge_slaves directory to slave_drivers. László Monda 2017-05-04 23:43:12 +02:00
  • f1f5c4141d Print binary sizes. László Monda 2017-05-01 21:26:46 +02:00
  • c73f70c9e2 Remove the non-existing buspal/bootloader include path. László Monda 2017-05-01 21:24:14 +02:00
  • d1d847ff57 Branch to BusPal vs keyboard function depending on Wormhole->enumerationMode László Monda 2017-05-01 19:26:38 +02:00
  • 8675effabc Add wormhole.[ch] László Monda 2017-05-01 17:02:18 +02:00
  • 151925337e Only enable HSRUN mode if the reset button is not pressed upon startup. László Monda 2017-04-30 22:50:53 +02:00
  • a1a3a052dd Implement "disable LED driver SDB pin" and "set LED PWM to 0" test actions. László Monda 2017-04-30 22:03:21 +02:00
  • b7bdceaac4 Implement TestAction_DisableLedDriverPwm László Monda 2017-04-30 04:40:12 +02:00
  • 7f45f1fc0d Implement TestAction_DisableUsb László Monda 2017-04-30 04:27:07 +02:00
  • 14225a9ba9 Implement disabling keyboard matrix scanning for the left keyboard half, too. László Monda 2017-04-30 03:39:27 +02:00
  • fef5deea4a Handle disable key matrix scan test action for the right keyboard half. László Monda 2017-04-29 21:15:04 +02:00
  • 59be7dd5ea Erase the whole flash but the bootloader. László Monda 2017-04-29 00:13:32 +02:00
  • 56500c52bf Make the disable I2c test action work. László Monda 2017-04-28 17:03:42 +02:00
  • e287b15068 Add test states. László Monda 2017-04-28 17:03:28 +02:00
  • 533ee5d228 Map test actions to the current keymap. László Monda 2017-04-28 16:36:43 +02:00
  • aaaeab0498 Add test actions. László Monda 2017-04-28 16:24:19 +02:00
  • f46832d840 Add BootloaderConfiguration and BootloaderConfig László Monda 2017-04-27 02:56:08 +02:00
  • d6f1a76f09 Point to the most recent revision of KSDK_2.0_MKL03Z8xxx4 László Monda 2017-04-27 01:05:17 +02:00
  • b094249ab9 Read the extra zero byte earlier. I'm not sure if the KL03 bootloader is nondeterministic or what's going on. László Monda 2017-04-26 21:25:26 +02:00
  • 70ac3fc93e Delete PEMicro build configurations. László Monda 2017-04-25 20:57:16 +02:00