Commit Graph
8 Commits
Author SHA1 Message Date
Tomasz bla FortunaandTomasz bla Fortuna f771cb545f Asynchronous, robust serial protocol. (#39)
* bla personal ap2-c18 keymap.

* Bidirectional, asynchronous message-based communication with Shine.

- Requires a matching Shine version.
- Protocol is resiliant to loosing bytes during communication, chips won't lock
  waiting for bytes that aren't coming.
- Chips resynchronize in event of loosing a byte using a AA0D header.

Regressions:
- Key masking/locking doesn't work right now. (did it work before?)
- Not all user keymaps build against it.

* Clang-format + code to ease reducing speed of LED UART.

- Did clang-format --style=file -i on multiple files according to
  coding_conventions_c.md

- Added separate serial speed for IAP boot and Led communication, it's possible
  that reducing this to 9600 helped someone with faulty HW. With this code they
  can do it with simple replacing of a value.

* Main chip can set/clear foreground using a mask mechanism.

- Some preparations for selective colouring.

* Selective mask works - tested on capslock.

- Migrated personal keymaps to new status API.

* Clear the foreground colors to show profile when it's modified.

- Show example of achieving selective caps-lock painting + foreground painting
  for layers.
- annepro2LedMaskSetRow is implemented, but still requires testing.

* Implement the QMK side of led blinking to indicate the command was received.

- This stupidly blinks the key when user presses one of the bluetooth commands
to let the user know that the command was received and forwarded to the BT chip.

- TODO: Row/col key positions are hardcoded and not taken from the keymap.

* Reduce memory footprint.

Applying code review suggestions. Moved msgId to globals - preparing for
transmission without copying payload when no retries are necessary.

Added empty readme.md files - required by QMK lint.

Co-authored-by: Tomasz bla Fortuna <bla@thera.be>
2021-09-12 09:26:38 +02:00
jmarmstrong1207 54de886aab Implement QMK's IAP default keybind (#29)
* Add keymap for going into IAP

* switch to default QMK keybind for IAP mode

* implement bluetooth IAP mode
2021-09-12 09:26:27 +02:00
tech2077 4bbc680a28 Add persistent led support with eeprom (#9)
* adding HT32 support to chibios SPI master driver

* add support for W25X20CL SPI eeprom

* add makefile flag for eeprom feature

* add spi support to keyboard startup and config

* example keymap using eeprom profile loading
2021-09-12 09:26:16 +02:00
tech2077 46c222143b Keyboard annepro2 bidir led comms (#5)
* Added bidirectional shine comms and moved led functionality to new file

* Added bidirectional shine comms and moved led functionality to new file

* Restore original functionality to existing keymaps using new shine commands

* Fix dangling bracketless if statements

* PR cleanup
2021-09-12 09:26:06 +02:00
Codetector 7b3726e917 keyboard/annepro2 BLE Support 2021-09-12 09:25:25 +02:00
Fagl4 e240591628 Disable Combo feature 2021-08-29 13:43:19 +02:00
codetector 5712e04ec2 keyboard/annepro2: typo fix 2021-08-29 13:43:09 +02:00
codetector 7e4486187f support for annepro2 c18 2021-08-29 13:42:01 +02:00