Commit Graph

1307 Commits

Author SHA1 Message Date
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
13e0d02574 Init the ADC. 2017-05-08 02:19:20 +02:00
László Monda
1fb3c8b132 Add ADC peripheral. 2017-05-08 02:09:50 +02:00
László Monda
abd894e906 Rename bridgeSlave to slave 2017-05-05 02:35:01 +02:00
László Monda
387652faaa Rename uhk_slave_t.moduleId to uhk_slave_t.perDriverId 2017-05-05 02:32:45 +02:00
László Monda
588596662a Rename currentBridgeSlaveId to currentSlaveId 2017-05-05 02:28:34 +02:00
László Monda
32e1b8e17f Rename slave_handler_t to slave_updater_t and uhk_slave_t.slaveHandler to uhk_slave_t.updater 2017-05-05 02:26:48 +02:00
László Monda
bbf937ff07 Fix indentation. 2017-05-05 02:25:06 +02:00
László Monda
58f295638b Rename InitUhkModules() to UhkModuleSlaveDriver_Init() and UhkSlaveUhkModuleHandler() to UhkModuleSlaveDriver_Update() 2017-05-05 02:21:59 +02:00
László Monda
3853adc02c Rename InitLedSlaveDriver() to LedSlaveDriver_Init() and UhkSlaveLedDriverHandler() to LedSlaveDriver_Update() 2017-05-05 02:18:39 +02:00
László Monda
1b2d819944 Fix indentation. 2017-05-05 02:16:10 +02:00
László Monda
575b10af24 Fix indentation. 2017-05-05 02:15:18 +02:00
László Monda
107a771a4c Add slave_driver_initializer_t, slaveDriverInitializers, and initialize slaves in a more organized fashion. 2017-05-05 02:06:13 +02:00
László Monda
5371a3c17f Rename bridgeSlaves to slaves. 2017-05-05 01:25:57 +02:00
László Monda
a13a458683 Rename BridgeSlave*Handler() to UhkSlave*Handler() 2017-05-05 01:16:12 +02:00
László Monda
f9a9ebb1d9 Rename InitBridgeProtocolScheduler() to InitSlaveScheduler() 2017-05-05 01:13:36 +02:00
László Monda
b21cd8b493 Make the slave scheduler always jump to the next slave by disallowing slave drivers to lock the scheduler. 2017-05-05 01:08:39 +02:00
László Monda
f713a13a21 Remove dead code which is supposed to retrieve SP, but not sure if it actually does. 2017-05-05 00:21:09 +02:00
László Monda
b649d83d4f Rename #ifdef macro guards of recently renamed files according to the new filenames. 2017-05-05 00:19:39 +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
4ce83593fa Rename BridgeSlaveType_* enums to UhkSlaveType_* 2017-05-05 00:13:40 +02:00
László Monda
c8abc2ec8e Rename bridge_slave_t to uhk_slave_t and bridge_slave_type_t to uhk_slave_type_t 2017-05-05 00:10:42 +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
f1f5c4141d Print binary sizes. 2017-05-01 21:26:46 +02:00
László Monda
c73f70c9e2 Remove the non-existing buspal/bootloader include path. 2017-05-01 21:24:14 +02:00
László Monda
d1d847ff57 Branch to BusPal vs keyboard function depending on Wormhole->enumerationMode 2017-05-01 19:26:38 +02:00
László Monda
8675effabc Add wormhole.[ch] 2017-05-01 17:02:18 +02:00
László Monda
151925337e Only enable HSRUN mode if the reset button is not pressed upon startup. 2017-04-30 22:50:53 +02:00
László Monda
a1a3a052dd Implement "disable LED driver SDB pin" and "set LED PWM to 0" test actions. 2017-04-30 22:03:21 +02:00
László Monda
b7bdceaac4 Implement TestAction_DisableLedDriverPwm 2017-04-30 04:40:12 +02:00
László Monda
7f45f1fc0d Implement TestAction_DisableUsb 2017-04-30 04:27:07 +02:00
László Monda
14225a9ba9 Implement disabling keyboard matrix scanning for the left keyboard half, too. 2017-04-30 03:39:27 +02:00
László Monda
fef5deea4a Handle disable key matrix scan test action for the right keyboard half. 2017-04-29 21:15:04 +02:00
László Monda
59be7dd5ea Erase the whole flash but the bootloader. 2017-04-29 00:13:32 +02:00
László Monda
56500c52bf Make the disable I2c test action work. 2017-04-28 17:03:42 +02:00
László Monda
e287b15068 Add test states. 2017-04-28 17:03:28 +02:00
László Monda
533ee5d228 Map test actions to the current keymap. 2017-04-28 16:36:43 +02:00
László Monda
aaaeab0498 Add test actions. 2017-04-28 16:24:19 +02:00
László Monda
f46832d840 Add BootloaderConfiguration and BootloaderConfig 2017-04-27 02:56:08 +02:00
László Monda
d6f1a76f09 Point to the most recent revision of KSDK_2.0_MKL03Z8xxx4 2017-04-27 01:05:17 +02:00
László Monda
b094249ab9 Read the extra zero byte earlier. I'm not sure if the KL03 bootloader is nondeterministic or what's going on. 2017-04-26 21:25:26 +02:00
László Monda
70ac3fc93e Delete PEMicro build configurations. 2017-04-25 20:57:16 +02:00
László Monda
e85c60bd05 Remove unused macros. 2017-04-25 19:11:05 +02:00
László Monda
434a11664f Only keep the *-srec debug configurations. 2017-04-25 18:34:25 +02:00
László Monda
54c0aaeae9 Delete CMSIS-DAP and PNE debug configurations. 2017-04-25 18:30:31 +02:00
László Monda
a64e5aede7 Delete JLink debug configurations. 2017-04-25 18:29:38 +02:00
László Monda
f263f0a9f9 Extract the usb parameters of blhost. 2017-04-25 18:15:46 +02:00
László Monda
b1c2a82c35 Ignore new build configuration. 2017-04-25 17:28:31 +02:00