Commit Graph

109 Commits

Author SHA1 Message Date
László Monda
272ff3ccbe Tweak firmware updater script paths according to the changes of the Agent repo. 2017-11-08 18:33:00 +01:00
László Monda
49a94d82b0 Move update-{master,slave}-firmware.js and shared.js into the Agent repo and reference those scripts. 2017-11-08 01:27:49 +01:00
László Monda
00dfd96d55 Instead of scanning the keyboard matrix from the main loop and utilizing busy loops, try to use a PIT interrupt handler to do the same thing, scanning one row per interrupt call without busy loops.
For some reason, this makes the movement of the mouse pointer very slow and makes it jump from time to time, so I ended up adding INTERRUPT_KEY_SCANNER and disabling the timer interrupt.
Also double bufferred the mouse report just like the others. Unfortunately this does not affect this issue.
2017-11-02 01:11:41 +01:00
László Monda
ba5a49f7d1 Hoist {left,right}/build/kds/* to {left,right}/build to simplify the directory hierarchy. 2017-10-31 23:11:22 +01:00
László Monda
1d7790f74e Generate .hex files instead of .srec for the right half firmware. 2017-10-29 22:27:47 +01:00
László Monda
808d916687 Clean up .cproject and .gitignore files after the rename of the build and run configurations. 2017-10-29 22:04:48 +01:00
László Monda
52bb02bc3d Rename build and run configurations to reflect device ids. 2017-10-29 21:54:02 +01:00
László Monda
72b279841c Port the blhost-unix.sh firmware update script of the right keyboard half to ShellJS resulting in update-master-firmware.js 2017-10-29 18:20:13 +01: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
3d46584b79 Don't try to npm install the dependencies of jump-to-bootloader.js but rather display instructions. 2017-10-20 00:31:06 +02:00
László Monda
53cb8aa129 Delete armgcc build scripts because they aren't planned to be used anymore. 2017-10-14 13:04:39 +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
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
2f90e40c92 Set chip type, so that EmbSys Register View can show the content of MCU-specific registers in debug mode. 2017-09-14 10:44:31 +02:00
Erich Styger
399847510e added configuration and launch configuration to debug the right half keyboard without the need for the bootloader 2017-09-06 16:09:22 +02:00
Erich Styger
0f2c7d53c9 added section for custom user configuration used in right/src/config_parser/config_state.c 2017-08-08 13:49:10 +02:00
Erich Styger
b4ce3b227a disabled unused SWO option 2017-07-19 17:23:40 +02:00
Erich Styger
3d8839ee35 adding native debug configuration with J-Link for application 2017-06-24 19:13:09 +02:00
Erich Styger
72904dfca1 fixed project refresh policy setting for all build configurations 2017-06-24 18:38:03 +02:00
Erich Styger
1fa15cb16c ignoring generated files 2017-06-19 17:19:08 +02:00
Erich Styger
4a3b031c8b updated project settings: enabled parallel build and fixed refresh policy 2017-06-19 17:16:23 +02:00
László Monda
679ea45908 Remove excess whitespace. 2017-06-16 19:15:29 +02:00
László Monda
97675bd324 Use the right blhost binary on OSX. 2017-06-16 19:14:01 +02:00
László Monda
99e185339a Add /usr/local/bin to the path to make blhost-unix.sh work on OSX. 2017-06-16 18:44:25 +02:00
László Monda
6c60af4ba8 Preserve state across resets by putting Wormhole to the newly added .noinit section. Rename The jump to bootloader USB command to reenumerate and generalize accordingly by handling the passed reenumeration mode. 2017-06-04 23:32:48 +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
54deb41e6c Get rid of v6 build and run configurations. 2017-05-23 02:44:21 +02:00
László Monda
ebbe07474e Remove v6 build configurations. 2017-05-23 01:23:39 +02:00
László Monda
13e0d02574 Init the ADC. 2017-05-08 02:19:20 +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
59be7dd5ea Erase the whole flash but the bootloader. 2017-04-29 00:13:32 +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
László Monda
91b3dcc910 Disable security with the backdoor key. 2017-04-25 17:19:48 +02:00
László Monda
7d448058f1 Move bl_peripheral.h one level upwards in the directory tree. 2017-04-13 23:38:46 +02:00
László Monda
e39c5be9a9 Add BusPal to the right firmware. 2017-04-11 22:11:56 +02:00
László Monda
ebc1c6156c Add perf.data to gitignore 2017-03-17 22:36:40 +01:00
László Monda
0dfa87754e Add /v6-release-srec/ to gitignore. 2017-03-16 15:30:45 +01:00
László Monda
832c687ea7 Add v6-{release,debug}-srec build configurations. Add "uhk-right v6 {release,debug} kboot" run configurations. 2017-03-08 00:48:44 +01:00
László Monda
eb951dd3d2 Add kboot launch files. 2017-03-08 00:36:02 +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
797c51ca7a Rework blhost-unix.sh a bit now that jump-to-bootloader.js times out and returns a relevant return code. 2017-02-28 00:13:31 +01:00
László Monda
e76910318a Remove the unused ../../.. include path. 2017-02-26 03:07:47 +01:00
László Monda
5055fa6e77 Remove the usb_desciptors include path and include the full path of these files. 2017-02-26 03:05:15 +01:00