Commit Graph

64 Commits

Author SHA1 Message Date
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
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
László Monda
57a7cee62a Remove debug statements from updateActiveUsbReports() 2018-02-11 22:25:29 +01:00
Erich Styger
5581dd26b5 fixed and enabled software watchdog timer 2017-12-24 12:06:46 +01:00
László Monda
f8ad10b0c1 Make build/uhk60-left_{debug,release}_kboot.launch build the relevant firmware images before running their update script. 2017-11-09 01:34:23 +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
b49d5a7f7e Add launch configurations for the release and debug versions of the left half firmware. 2017-11-08 04:09:58 +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
010b276f8b Fix XML structure. 2017-10-31 01:33:18 +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
9db5c5e067 Port blhost-unix.sh as update-slave-firmware.js using ShellJS. 2017-10-24 13:59:36 +02:00
László Monda
c370cab513 Use the renamed send-kboot-command-to-slave.js 2017-10-23 22:24:40 +02:00
László Monda
85b1a65ea7 Implement KbootCommand_Ping and set set left BOOTLOADER_TIMEOUT_MS back to 100 ms. 2017-10-23 21:33:08 +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
e9920cfebb Increase the delay from 1s to 2s and flash the firmware script argument. 2017-10-21 03:28:54 +02:00
László Monda
a052f4f59c Add blhost script for the left firmware, too. 2017-10-21 01:27:33 +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
6b0ebb1385 Add debug_over_spi.[ch] 2017-10-08 03:38:43 +02:00
László Monda
8dba4df6f6 Set the heap size to 0 given that no dynamic memory is allocated in the firmware. This makes the bss go from 1252 to 740, exactly 0x200 difference. 2017-10-07 12:57:52 +02:00
László Monda
3d443a8bfc Remove semihosting related changes. 2017-10-06 22:36:02 +02:00
László Monda
1bca95d366 Don't stop execution upon starting a debugging session. 2017-10-04 19:31:28 +02:00
László Monda
c965fe185b Enable semihosting for the "uhk-left debug jlink" build. 2017-10-04 18:21:02 +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
Erich Styger
3f70b08c9f producing binary file for bootloader 2017-07-19 16:54:02 +02:00
Erich Styger
7c89020ccf disabled SWO (not used) in debug configuration 2017-07-19 16:51:33 +02:00
Erich Styger
c4e0be95a6 ignoring Eclipse generated files 2017-06-24 18:42:30 +02:00
Erich Styger
72904dfca1 fixed project refresh policy setting for all build configurations 2017-06-24 18:38:03 +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
237ef3c34a Rename action.h to key_action.h 2017-06-15 19:27:44 +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
f1f5c4141d Print binary sizes. 2017-05-01 21:26:46 +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
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
f7e2ee344c Gitignore core 2017-03-17 22:37:31 +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