Commit Graph

124 Commits

Author SHA1 Message Date
László Monda
1a47c6e629 Minor MCUXpresso .cproject file modification. 2018-08-05 22:22:21 +02:00
László Monda
047a232e7e Update .cproject file to make MCUXpresso IDE not pop up the warning regarding SDK version. 2018-08-04 23:48:11 +02:00
Kristian Sloth Lauszus
fe7065be4a Select the "MK22FN512xxx12" under MCU settings 2018-06-23 18:47:26 +02:00
László Monda
58e4919c0e Revert {left,right}/build/.cprojects 2018-05-07 09:06:44 +02:00
László Monda
dd7b0a6e3b Make builds parallel by adding -j8 to make commands in build configurations and external tool configurations. 2018-05-07 00:58:13 +02:00
László Monda
59396baf76 Don't make external configurations overwrite PATH. 2018-05-06 23:23:23 +02:00
Kristian Sloth Lauszus
4577b118bc Revert "Set the MCU type for both projects"
This reverts commit 8bb9711793.
2018-05-06 20:26:44 +02:00
Kristian Sloth Lauszus
8bb9711793 Set the MCU type for both projects
This is needed if we want to use MCUXpresso's config tools
2018-05-06 20:16:51 +02:00
Kristian Sloth Lauszus
3cb0490e5e Modified launch configurations to use the Makefile to flash the firmware 2018-05-06 20:16:51 +02:00
Kristian Sloth Lauszus
58fa1ed6a4 Use the bundled Makefiles instead of having the IDE generate them automatically 2018-05-06 20:16:51 +02:00
Kristian Sloth Lauszus
c3407e1410 Added Makefiles as linked resources, so they show up in the IDE 2018-05-06 15:22:24 +02:00
Kristian Sloth Lauszus
47e026006e Forgot to fix linker errors for both linker scripts in: e0528e1714 2018-05-02 01:05:40 +02:00
László Monda
f650032fef Set the optimization levels of both left and right firmwares to -O3 (most optimized). 2018-04-10 12:06:23 +02:00
Kristian Sloth Lauszus
e0528e1714 Fix linker error on newer compilers by just declaring the two usb sections after the .bss section
See: https://community.nxp.com/thread/449264
2018-04-08 19:52:03 +02:00
Erich Styger
5581dd26b5 fixed and enabled software watchdog timer 2017-12-24 12:06:46 +01:00
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