Commit graph

107 commits

Author SHA1 Message Date
Pete Johanson
54f1ddc1f5
Merge pull request #59 from petejohanson/sensors/en11-encoder-sensor
Initial low level EC11 sensor driver
2020-07-21 14:38:32 -04:00
Pete Johanson
3a508c42d0 Trailing newline fix. 2020-07-21 14:28:59 -04:00
Pete Johanson
b49755b724 Skip chosen node for now. 2020-07-21 14:24:58 -04:00
Pete Johanson
ec74adb3b7 Better chosen name. 2020-07-21 14:01:48 -04:00
Pete Johanson
a734d58ffe More consistent DT for the split encoders. 2020-07-21 14:01:15 -04:00
Pete Johanson
3338b3f7de Revert minor change to main. 2020-07-21 13:53:43 -04:00
Pete Johanson
f3267e6030 Tweaks for orientation and A/B pins for Kyria left 2020-07-21 13:52:03 -04:00
Pete Johanson
b48011ace6 Remove sensor test code. 2020-07-21 13:40:16 -04:00
Pete Johanson
c619d36294 Support multiple instances of the encoder. 2020-07-21 13:37:02 -04:00
Pete Johanson
ac9ba3ae7d Code cleanup for non-trigger mode. 2020-07-21 13:29:21 -04:00
Pete Johanson
aa7c74fe07 Filename fix for EN11 -> EC11. 2020-07-21 13:24:44 -04:00
Pete Johanson
7da9a1039f Working encoder detection. 2020-07-21 13:16:15 -04:00
Pete Johanson
b6b982fcef Code clean up 2020-07-20 23:51:40 -04:00
Pete Johanson
c4d3c03eb0 Improved function naming for central functions. 2020-07-20 23:02:27 -04:00
Pete Johanson
542a9de48a Replace magic 16 with sane constant. 2020-07-20 22:52:37 -04:00
Pete Johanson
c058757252 Fetch/get implementation work. 2020-07-20 22:47:50 -04:00
Pete Johanson
109c69cbab EN11 is actually EC11, some sample work. 2020-07-20 20:54:58 -04:00
Pete Johanson
331bfa7052 Interrupt fixes. 2020-07-20 10:27:44 -04:00
Pete Johanson
fd407c4876 Update connectin params once we're connected to. 2020-07-19 22:40:49 -04:00
Pete Johanson
2a6b9ec86e Fixed min/max. 2020-07-19 22:33:15 -04:00
Pete Johanson
879fd5b8e7 Connection params tweaks. 2020-07-19 22:20:42 -04:00
Pete Johanson
893b99d907 Initial en11 exploration. 2020-07-19 22:11:17 -04:00
Pete Johanson
1951883def Bump max BT connections for testing. 2020-07-17 23:04:47 -04:00
Pete Johanson
64b9963bca Name each Lily58 side differently. 2020-07-17 23:02:00 -04:00
Pete Johanson
5b61c211ea Tweaks for split Lily58 sync. 2020-07-17 22:44:35 -04:00
Pete Johanson
339a15881a Tweaks for turning off USB for split peripherals. 2020-07-17 22:43:40 -04:00
Pete Johanson
eb0bf2337e More cleanup of BLE split code. 2020-07-17 22:43:40 -04:00
Pete Johanson
7778ceec92 One more lingering global behavior bit. 2020-07-17 22:43:40 -04:00
Pete Johanson
f4cb3a7cba Clean up old global behavior logic. 2020-07-17 22:43:40 -04:00
Pete Johanson
6701b7babc Working BT settings. 2020-07-17 22:43:40 -04:00
Pete Johanson
0321c490b5 Disable USB on the peripheral size. 2020-07-17 22:43:40 -04:00
Pete Johanson
d4afd989f3 More split implementation.
* Propogate key position state changes on central.
* Various BLE tweaks.
2020-07-17 22:43:40 -04:00
Pete Johanson
d74efb331a Kconfig fixes for split roles. 2020-07-17 22:43:40 -04:00
Pete Johanson
d1a5c7ee5a Swtich to SYS_INIT. 2020-07-17 22:43:40 -04:00
Pete Johanson
be537d0656 Lots of work on split peripheral/central logic. 2020-07-17 22:43:40 -04:00
Pete Johanson
a165db6358 Initial work on split central support. 2020-07-17 22:43:40 -04:00
Pete Johanson
3796f76c56 Initial exploration of split BLE service.
* Service for split peripheral to report
  position state to split central.
* Updated advertising info.
* Behavior for split BT until we have a proper
  event system.
2020-07-17 22:43:40 -04:00
Pete Johanson
4495aaa7be Minor keymap fix from PR review. 2020-07-17 22:35:33 -04:00
Pete Johanson
c3dd7b694d Initial Lily58 shield definition. 2020-07-16 23:41:55 -04:00
Pete Johanson
33d4341320 Code partition size fix for nice!nano. 2020-07-15 23:27:15 -04:00
Pete Johanson
4ab6132f70 Bump the default USB EP write retries. 2020-07-14 10:12:25 -04:00
Pete Johanson
fff18dd33e Windows build fixes. 2020-07-13 23:49:36 -04:00
Pete Johanson
e448f2d32b kscan: matrix: Remove verbose logging in read. 2020-07-11 13:10:01 -04:00
Pete Johanson
c45dbe3c8f boards: nice_nano: Fix i2c usage.
* change conflicting pins usage for uart.
* use i2c0 properly instead.
2020-07-11 13:09:18 -04:00
Pete Johanson
497049ff68 Detect additional key presses on the same output.
* Interrupts won't follow on additional keys
  pressed on an already "held" output pin,
  so queue additional reads while any keys are held.
2020-07-07 16:26:11 -04:00
Pete Johanson
6cafa9556c nice!nano fixes for necessary USB CDC ACM UART console. 2020-07-07 10:49:51 -04:00
Pete Johanson
7c5fb7adb5 Use SYS_INIT for BLE and USB init. 2020-07-07 10:20:23 -04:00
Pete Johanson
9bee640ae3 More Planck rev6 fixes. 2020-07-06 10:19:44 -04:00
Pete Johanson
a9b949cd94 Fixes for WIP planck board definition. 2020-07-06 00:43:03 -04:00
Pete Johanson
7ce82fbd12 Add ability to have board overlay combined w/ shield keymap. 2020-07-01 22:58:30 -04:00