Commit Graph

1101 Commits

Author SHA1 Message Date
László Monda
95faf64b76 Remove the now unused FORCE_BUSPAL macro. 2017-10-21 03:50:07 +02:00
László Monda
5149e7e8ad Remove the now unused ALWAYS_ENTER_BOOTLOADER macro. 2017-10-21 03:40:10 +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
2e07627359 Temporarily increase left bootloader timeout from 100ms to 3000 ms for testing purposes. 2017-10-21 03:12:21 +02:00
László Monda
89fef3d933 Upon receiving the reset BusPal command, reset the MCU and reenumerate in normal keyboard mode. 2017-10-21 01:29:05 +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
25f8017879 Get rid of the now obsoleted bootloader_config.h 2017-10-20 00:52:32 +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
968c6c0416 Call NVIC_SystemReset() instead of custom code. 2017-10-20 00:34:01 +02:00
László Monda
0b4ca43ed6 Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware 2017-10-20 00:32:37 +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
Stephen
8951ca992b Build linux in CI (#61)
* Linux build

* Trigger another build

* Another travis bump

* cleanup travis

* quotes required

* Update .travis.yml

* Update .travis.yml

* try double escape

* Update .travis.yml
2017-10-19 19:11:00 +02:00
László Monda
3230b94973 Make the left half call NVIC_SystemReset() upon receiving SlaveCommand_JumpToBootloader instead of jumping to the ROM address of the bootloader. This way the bootloader timeouts. Remove bootloader.c because it only contained JumpToBootloader() which is now unused. 2017-10-17 00:58:23 +02:00
László Monda
37c90cc4a7 Fix indentation. 2017-10-17 00:30:03 +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
53cb8aa129 Delete armgcc build scripts because they aren't planned to be used anymore. add-dev-name 2017-10-14 13:04:39 +02:00
László Monda
7285630264 Make the release script put put package.json into the release. 2017-10-14 02:28:01 +02:00
László Monda
4563d26a5c Update changelog and package.json v2.1.0 2.1.0 2017-10-13 22:58:26 +02:00
László Monda
0b120a3286 Fix generic HID descriptor enumeration error by making UsbGenericHidReportDescriptor extern. 2017-10-13 22:49:09 +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
ef34094004 Add jump to slave bootloader command. 2017-10-12 19:57:41 +02:00
László Monda
d2fd7bc613 Add conditions that external components must satisfy in regards to version numbers in order to be interface with the UHK. 2017-10-11 15:32:57 +02:00
László Monda
7da33c606b Add package.json v2.0.0 2.0.0 2017-10-11 03:14:45 +02:00
László Monda
0f3ceef332 Add newline. 2017-10-11 03:12:24 +02:00
László Monda
908102855b Uppercase Data Model. 2017-10-11 03:11:30 +02:00
László Monda
a216d400ca Fix typo. 2017-10-11 02:29:43 +02:00
László Monda
8959dde107 Adhere to the newly added UHK versioning conventions. 2017-10-11 02:11:25 +02:00
László Monda
a2e20e6b32 Create VERSIONING.md 2017-10-11 02:07:05 +02:00
László Monda
ef7ae5dd42 Use backticks to display tags. 2017-10-10 23:57:30 +02:00
László Monda
24377e6778 Create CHANGELOG.md 2017-10-10 23:25:43 +02:00
László Monda
e3958cdca6 Merge pull request #60 from stephengroat/version-pin
Fix gcc-arm-embedded version in cask
2017-10-10 20:46:55 +02:00
Stephen
9d5588a6c2 follow cask style guide 2017-10-10 10:12:37 -07:00
Stephen
8c42074534 try a harder pin
worked locally the other way, doesn't seem to be respect the local formula on travis
2017-10-10 09:18:55 -07:00
Stephen G
fce054eb9c Fix gcc-arm-embedded vesion in cask 2017-10-10 08:38:25 -07:00
László Monda
fb320ee4bd Merge pull request #59 from stephengroat/patch-2
brew updated, travis is behind
2017-10-10 16:24:23 +02:00
Stephen
6595884c99 fix eclipse path
caught new install directory https://travis-ci.org/UltimateHackingKeyboard/firmware/builds/285828200#L1599
2017-10-09 16:44:07 -07:00
Stephen
7b7af0c5bc test where brew is installing apps 2017-10-09 16:14:33 -07:00
Stephen
1d4c8d3019 brew updated, travis is behind 2017-10-09 14:14:40 -07: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
859a770ca3 Dump byteIn after xfer->event via SPI. Make the firmware build without using the DEBUG_OVER_SPI macro. 2017-10-08 23:12:40 +02:00
László Monda
6b0ebb1385 Add debug_over_spi.[ch] 2017-10-08 03:38:43 +02:00
László Monda
302a750621 Improve file according to our coding standards. 2017-10-07 16:37:20 +02:00
László Monda
457894ecd8 Remove redundant InitI2cV2() function prototype. 2017-10-07 16:35:34 +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
215d4c33bb Add slave_protocol.c that I forgot to add. 2017-10-07 12:29:44 +02:00
László Monda
9f411dc1d4 Throw ParserError_InvalidKeymapCount if keymapCount == 0. 2017-10-06 23:37:05 +02:00
László Monda
3d443a8bfc Remove semihosting related changes. 2017-10-06 22:36:02 +02:00
László Monda
1cc01c4f48 Merge pull request #58 from stephengroat/osx-brew
Improve OSX dependency management through brew bundle
2017-10-06 22:21:05 +02:00
László Monda
fd7f2c3b25 Expose the currently attached module ids via getKeyboardState() 2017-10-05 20:53:15 +02:00