Commit Graph

169 Commits

Author SHA1 Message Date
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
debe0240dc Fix #ifdef macro names to be in sync with header filenames. 2017-05-23 03:08:31 +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
891b063786 Remove BootloaderConfiguration alias. 2017-05-11 00:09:50 +02:00
László Monda
f1f5c4141d Print binary sizes. 2017-05-01 21:26:46 +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
14225a9ba9 Implement disabling keyboard matrix scanning for the left keyboard half, too. 2017-04-30 03:39:27 +02:00
László Monda
f46832d840 Add BootloaderConfiguration and BootloaderConfig 2017-04-27 02:56:08 +02:00
László Monda
70ac3fc93e Delete PEMicro build configurations. 2017-04-25 20:57:16 +02:00
László Monda
d7fd5ebe0d Add v7-release-srec left build configuration. 2017-04-23 06:49:32 +02:00
László Monda
6b03b99324 Add left v7-debug-srec build configuration. 2017-04-21 09:57:15 +02:00
László Monda
621dd9fcec Add JumpToBootloader() 2017-04-21 09:52:51 +02:00
László Monda
1cc5145e36 Convert bool s_dHidMscActivity[2] to bool s_dHidActivity by trashing the unused MSC part. 2017-04-12 23:39:57 +02:00
László Monda
487c02335b Fix the state transfer of the test LED. 2017-03-18 21:06:40 +01:00
László Monda
4a5e5019aa Update LED PWM and test LED states of UHK modules in an async manner. 2017-03-18 15:12:31 +01:00
László Monda
f7e2ee344c Gitignore core 2017-03-17 22:37:31 +01:00
László Monda
b9aa846637 Move i2CSlaveCallback() to init_peripherials.c. Remove IsoJumperState. 2017-03-16 14:23:57 +01:00
László Monda
f3c814a68e The I2C watchdog of the right keyboard half was buggy, but not now that it's fixed, I2C_MasterInit() is not required anymore. 2017-03-16 14:13:09 +01:00
László Monda
7013d0421f Apparently, even the 7th generation prototype needs this code block to work for some reason. 2017-03-16 04:18:17 +01:00
László Monda
ac872f8d85 Fix numOfChnls by setting it to 1. 2017-03-16 04:11:42 +01:00
László Monda
a6ff990288 Implement mysterious workaround to make the left keyboard half of the 6th generation prototype send scancodes to the right half. 2017-03-13 01:42:47 +01:00
László Monda
44f1d46268 Remove incorrect I2C addressing mode setting that was copied from the buggy KSDK examples. The default addressing mode value is correct. 2017-03-13 01:30:28 +01:00
László Monda
e3d632e4f0 Make LedPwm_*() do nothing for <7 prototypes. 2017-03-12 22:25:22 +01:00
László Monda
3ef944353f Fix TEST_LED_TOGGLE() 2017-03-12 22:24:44 +01:00
László Monda
eb951dd3d2 Add kboot launch files. 2017-03-08 00:36:02 +01:00
László Monda
c1f8cca455 Enable LEDs on both halves by default. 2017-02-27 14:08:21 +01:00
László Monda
880981ac14 Initialize I2C slave mode with I2C_SlaveInit(). 2017-02-05 20:55:13 +01:00
László Monda
d1955ffa54 Don't call I2C_MasterInit() as the left keyboard half is an I2C slave. 2017-02-05 14:25:18 +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
4137f919a2 Clean up the case BRIDGE_COMMAND_SET_TEST_LED clause of the bridge protocol handler. 2017-01-14 00:35:01 +01:00
László Monda
50443faa23 Don't blink the test LED anymore for the set PWM command. 2017-01-14 00:32:48 +01:00
László Monda
64eeb3a000 Make global LED PWM brightness adjustment work by enabling the TPM clock. 2017-01-14 00:30:40 +01:00
László Monda
1f4672e2f4 Clean up both LedPwm_Init() functions. 2017-01-13 23:32:37 +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
74c965190c Explicitly run the relevant build when starting debug configurations. 2017-01-07 18:39:10 +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
a817118eb3 Change test LED pin for the v7 PCB. 2017-01-03 02:29:50 +01:00
László Monda
d1040653a1 Add build and debug configuration files for version 6 and version 7 of the left keyboard half. 2017-01-03 02:11:34 +01:00
László Monda
e543068df1 Use the UHK_PCB_MAJOR_VERSION macro instead of PROTOTYPE_VERSION_7 2017-01-02 14:35:30 +01:00
László Monda
82d61d36d5 Add updated key matrix for the left half of the 7th generation prototype. 2016-12-21 09:06:05 +01:00
Robert Csordas
93752a7347 CPU suspend for left half 2016-11-13 15:56:31 +01:00
Robert Csordas
190d555221 Refactoring and bugfixes. 2016-11-13 11:25:29 +01:00