Commit Graph

29 Commits

Author SHA1 Message Date
László Monda
c370cab513 Use the renamed send-kboot-command-to-slave.js 2017-10-23 22:24:40 +02:00
László Monda
c46dcad490 Use reenumerate.js instead of jump-to-bootloader.js and make left/blhost-unix.sh handle argument related errors. 2017-10-23 16:52:15 +02:00
László Monda
ab807cd0c8 Make sendKbootCommand() accept various command types, not only reset. 2017-10-23 01:19:19 +02:00
László Monda
92ee3b5606 Add KBOOT I2C slave driver, its related USB command, and make the firmware updater script of the left half successfully reset the left half after firmware update. 2017-10-22 02:17:43 +02:00
László Monda
f67bcced4a Keep only one release and one debug build configuration. Add related kboot run configurations. 2017-10-21 03:35:17 +02:00
László Monda
5ec619532a Reference the latest version of Agent, containing the fixed uhk.js which makes jump-to-bootloader.js work. 2017-10-20 00:34:45 +02:00
László Monda
b3e025f443 Make reenumerate() set Wormhole.timeoutMs based on GenericHidInBuffer+2 2017-10-16 23:26:37 +02:00
László Monda
d4200524d7 Make the firmware depend of the wormhole.[ch] files of the bootloader. Remove local wormhole.[ch] files. 2017-10-13 22:09:52 +02:00
László Monda
3dd9744e4d Make I2C communication rock stable by hacking I2C_SlaveTransferHandleIRQ() of the KSDK and making the firmware use incoming bytes via userData. 2017-10-09 04:19:26 +02:00
László Monda
b88c6e4291 Add i2c_message_t and use it all across the codebase. This will allow handling variable-length I2C messages and validation with minimal effort. The test LED and brightness PWM update features got temporarily broken and will fix them soon. 2017-09-25 03:03:14 +02:00
László Monda
8924c36cb3 Implement I2C watchdog for the left half. Disable the watchdog because it causes a hard fault. Don't update the test LED inside of SlaveCommand_SetTestLed due to testing purposes until the watchdog issue gets resolved. 2017-09-21 23:40:49 +02:00
László Monda
282c77c850 Fix LED driver update, so it'll keep working after initialization. 2017-07-14 17:40:41 +02:00
László Monda
98701d1c85 Update BusPal USB VID and PID. 2017-05-24 02:16:25 +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
888eea2dd6 Point to the updated KSDK featuring the volatile I2C_Watchdog. 2017-03-16 14:02:53 +01:00
László Monda
c7aab821e9 Include the agent and bootloader repos and reference them from blhost-unix.sh to make the firmware update script work out of the box. 2017-03-07 00:55:43 +01:00
László Monda
e8331a108c Update README.md 2017-02-19 17:06:18 +01:00
László Monda
d6d0e5d97f Modify init_peripherials.c given that I2C_Watchdog is defined in the KSDK now. 2017-02-18 21:25:54 +01:00
László Monda
05e8b046f5 Clean up coding style. 2017-02-18 19:08:49 +01:00
László Monda
188faacdb2 Replace the KSDK_2.0_FRDM-K22F submodule with KSDK_2.0_MK22FN512xxx12. 2016-10-06 21:47:24 +02:00
László Monda
dd7b38b38f Remove the now unused KSDK_1.3_FRDM-KL03Z submodule. 2016-10-06 18:12:08 +02:00
László Monda
5f131eb599 Loosely port the firmware of the left keyboard half to KSDK 2.0 2016-10-06 18:00:05 +02:00
László Monda
4d3d8db40f Remove the KBOOT_2.0.0 submodule as it turns out it won't be needed. 2016-09-26 00:37:04 +02:00
László Monda
b0dcb52966 Add KBOOT 2.0.0 as a Git submodule. 2016-09-26 00:02:38 +02:00
László Monda
9aae53919a Add KSDK_1.3_FRDM-KL03Z as a Git submodule. 2016-03-08 13:18:53 +01:00
László Monda
1b1337b702 Update submodule. 2016-03-04 13:58:28 +01:00
László Monda
7223eaed8c Wrap lines. 2016-03-04 13:51:55 +01:00
László Monda
77f6621267 Create README.md 2016-03-04 13:42:56 +01:00
László Monda
5ce5dbc62d Rename the libs directory to lib. Reference KSDK via relative path instead of using the KSDK_DIR environment variable. 2016-02-13 17:25:55 +01:00