László Monda
65006cc376
Bump firmware version to 8.3.1, update changelog, package.json, versions.h
2018-06-07 15:26:06 +02:00
László Monda
e60a282742
Bump firmware version to 8.3.0, update changelog and package.json
2018-06-03 14:36:18 +02:00
László Monda
3fc4419f4f
Bump firmware version to 8.2.5, update changelog, package.json, and versions.h
2018-05-27 01:53:41 +02:00
László Monda
95d7197394
Bump firmware version to 8.2.4, update the changelog, package.json and versions.h
2018-05-21 14:26:41 +02:00
László Monda
01e92e57f4
Bump firmware version to 8.2.3, update changelog, package.json and versions.h
2018-05-15 23:21:16 +02:00
László Monda
7c1431f0ab
Bump firmware version to 8.2.2, update changelog, package.json, versions.h
2018-05-09 00:24:24 +02:00
László Monda
6854fa68dc
Bump firmware version to 8.2.1 and update the changelog.
2018-05-02 14:57:24 +02:00
László Monda
02d6fb4628
Rename version from 8.1.6 to 8.2.0 because the minor device protocol version has changed.
2018-04-20 09:55:44 +02:00
László Monda
1b9ec89e20
Bump firmware version to 8.1.6 - Update package.json, changelog, versions.h
2018-04-10 22:32:11 +02:00
László Monda
f1ed699fa2
Bump version to 8.1.5, update changelog, package.json, versions.h
2018-04-04 15:44:35 +02:00
László Monda
5093a0c0a6
Bump version to 8.1.4. Update changelog, package.json, and versions.h
2018-03-05 15:57:14 +01:00
László Monda
c6d60780f4
Bump version to 8.1.3 and update package.json, versions.h and the changelog accordingly.
2018-02-18 00:46:17 +01:00
László Monda
cc49118868
Bump version to 8.1.2. Update changelog, package.json, versions.h and reference the latest Agent repo.
2018-02-13 03:31:35 +01:00
László Monda
6881f8e340
Update versions.h to 8.1.1
2018-02-11 04:23:31 +01:00
László Monda
56f7753afc
Bump firmware version to 8.1.0 and update changelog, package.json, and versions.h
2018-01-15 10:35:22 +01:00
László Monda
c51542795f
Bump version to 8.0.1
2017-12-25 23:16:27 +01:00
László Monda
40bf252852
Bump version to 8.0.0. Update version numbers. Update changelog.
2017-12-15 04:03:51 +01:00
László Monda
fd43e81e46
Query module key count and pointer count in separate messages instead of a combined message for better clarity.
2017-12-15 02:13:58 +01:00
László Monda
c994a97d03
Make the modules transfer their firmware version to the device. Fix the message length of the module protocol version.
2017-12-15 01:42:58 +01:00
László Monda
c1b887cea8
Rename UhkModulePhase_*ProtocolVersion to UhkModulePhase_*ModuleProtocolVersion.
2017-12-15 01:16:27 +01:00
László Monda
beb7c3d4ee
Forgot to update versions.h for the previous release. Updating now.
2017-12-14 23:08:34 +01:00
László Monda
94af52892c
Add generate-versions-h.js and versions.h. Execute generate-versions-h.js from make-release.js
2017-12-14 15:41:20 +01:00
László Monda
729e0be0ad
Make scrolling utilize mouse_kinetic_state_t, just like mouse movements. Fix scrolling issue by making distance float. Add new debug functions for ints and float.
2017-11-28 02:01:26 +01:00
László Monda
5c84620704
Call KeyMatrix_ScanRow() from an LPTMR interrupt for the left half. Remove KeyMatrix_Scan()
2017-11-14 02:29:18 +01:00
László Monda
80240c8e9b
Add shared/buffer.[ch] for easily dealing with array values.
2017-11-11 03:40:06 +01:00
László Monda
0421c2f339
Swap SlaveCommand_RequestKeyStates and SlaveCommand_JumpToBootloader, thereby making SlaveCommand_JumpToBootloader the lower number because it's more basic and shouldn't change in the future.
2017-11-09 01:49:32 +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
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
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
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
215d4c33bb
Add slave_protocol.c that I forgot to add.
2017-10-07 12:29:44 +02:00
László Monda
3d443a8bfc
Remove semihosting related changes.
2017-10-06 22:36:02 +02:00
László Monda
96eb2ef7a3
Make slaves send their protocol version to the master.
2017-10-05 17:55:59 +02:00
László Monda
bd76fb44c2
Make slaves send their module id to the master.
2017-10-05 17:26:10 +02:00
László Monda
b0e706d894
Remove redundant extern modifier before function.
2017-10-04 22:33:58 +02:00
László Monda
4295793fb9
Add ATTR_* macros in the newly created attributes.h and use them wherever possible for improved readability.
2017-10-04 22:26:48 +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
c707f0e408
Transfer a synchronization message to make I2C recovery more robust.
2017-10-04 02:24:34 +02:00
László Monda
724d72132a
Rearrange slave_command_t enum values a bit to reflect their relative importance and rearrange a related case block too.
2017-10-01 22:21:00 +02:00
László Monda
1b1111e9da
Rename I2C_BUFFER_MAX_LENGTH to I2C_MESSAGE_MAX_TOTAL_LENGTH.
2017-10-01 21:55:37 +02:00
László Monda
b443b56357
Rename I2C_MESSAGE_MAX_LENGTH to I2C_MESSAGE_MAX_PAYLOAD_LENGTH.
2017-10-01 21:52:41 +02:00
László Monda
4ade25d739
Add I2C_MESSAGE_HEADER_LENGTH and use it in i2cSlaveCallback() instead of magic numbers.
2017-10-01 21:42:55 +02:00
László Monda
ea71253d6a
Remove KEY_STATE_SIZE in favor of the more general BOOL_BYTES_TO_BITS_COUNT() macro.
2017-09-30 00:57:10 +02:00
László Monda
04047eb128
Make modules send their features (key count and whether they have pointer input) to the master upon enumeration.
2017-09-30 00:08:28 +02:00
László Monda
145443c65c
Fix the computation of KEY_STATE_SIZE and the byte count to memset in BoolBytesToBits()
2017-09-26 20:18: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
ac138d2da6
Rename SlaveCommand_GetKeyStates to SlaveCommand_RequestKeyStates
2017-09-22 02:47:05 +02:00
László Monda
92647b36a9
Move DEFINE_BOOTLOADER_CONFIG_AREA(I2C_ADDRESS_LEFT_KEYBOARD_HALF_BOOTLOADER) from bootloader_config.c to main.c and delete bootloader_config.c
2017-09-22 02:02:23 +02:00
László Monda
d210f46983
Update guard macro name.
2017-09-22 02:00:40 +02:00
László Monda
dbada9dd5d
Extract DEFINE_BOOTLOADER_CONFIG_AREA()
2017-09-22 02:00:00 +02:00