Commit Graph

164 Commits

Author SHA1 Message Date
Josh Klar
7d2d04f070
Some backports from work on #46 to greatly speed up Circle builds
This backports from topic-docker the base image, which we can now use in
Circle to MASSIVELY speed up our CI situation.

The base image can currently only be pushed by @klardotsh as nobody else
has access to the Docker Hub org, but that can change in the future.
2018-10-11 17:50:39 -07:00
Josh Klar
3c5c95cfd7
Merge pull request #57 from KMKfw/topic-rotary-encoders-lol-reddit
Turn down for WHAT?! Rotary encoder support
2018-10-11 13:57:05 -07:00
Josh Klar
d5a2be38ef
Default rotary encoder to raw no-slop access, opt-in in keymap. Feels WAY better now. 2018-10-11 13:38:33 -07:00
Josh Klar
6589982eda
Support a special form of macro based on rotary encoder directions 2018-10-11 13:38:32 -07:00
Josh Klar
e2c9567bbf
Raw rotary encoder support 2018-10-11 13:38:32 -07:00
Josh Klar
3b0cd6c421
Refactor MatrixScanner to use enhanced Pins abstraction; add DEBUG_ENABLED to SAMD51 boards 2018-10-11 13:38:31 -07:00
Kyle Brown
70db4ae84d Add new keyboard now on Circuitpython. 2018-10-11 12:37:06 -07:00
Josh Klar
f30b4aaf19
Merge pull request #51 from tannewt/patch-1
Correct SAMD chip number
2018-10-10 12:46:28 -07:00
Scott Shawcroft
74c2f220c9
Correct SAMD chip number 2018-10-10 12:17:12 -07:00
Josh Klar
53580a1e96
Silence the "Entering directory" notices in Makefile 2018-10-08 16:16:05 -07:00
Josh Klar
f79c6714f6
Merge pull request #50 from KMKfw/topic-more-makefile-improvements
Bugfixes for Makefile, almost entirely silence it (send most output to .build.log)
2018-10-08 16:10:08 -07:00
Josh Klar
a383af2dc8
Bugfixes for Makefile, almost entirely silence it (send most output to .build.log) 2018-10-08 07:06:34 -07:00
Josh Klar
c86abe20f3
Fix Makefile for keymap validation on atmel 2018-10-08 06:10:07 -07:00
Josh Klar
21ccad7bd3
Merge pull request #49 from KMKfw/topic-faster-macros
Make some events (and especially macros) faster by caching BareEvents and many key events in RAM
2018-10-08 05:22:51 -07:00
Josh Klar
0d847f99ef
Make some events (and especially macros) faster by caching BareEvents and many key events in RAM 2018-10-08 05:04:06 -07:00
Josh Klar
c0b78fe3f2
Merge pull request #48 from KMKfw/topic-emotes-as-strings
Ability to create emote/emoji macros from strings directly, on-board.
2018-10-08 04:13:37 -07:00
Josh Klar
aa423e3690
Fix an exhausted generator bug by converting to list 2018-10-08 03:59:16 -07:00
Josh Klar
eca4bf087e
Ability to create emote/emoji macros from strings directly, on-board. 2018-10-08 03:51:02 -07:00
Josh Klar
64888f1df8
Merge pull request #47 from KMKfw/topic-leader-mode-clean
@kdb424's Leader Mode Enter work as a clean diff
2018-10-08 03:50:10 -07:00
Josh Klar
bf8ad1319a
Allow natural LEADER_MODE rollover 2018-10-08 03:21:39 -07:00
Josh Klar
c6d8e5b406
Simplify LeaderHelper stuff, unbreak my own boards 2018-10-08 02:41:43 -07:00
Josh Klar
8c9fc9db95
@kdb424's Leader Mode work as a clean diff 2018-10-08 02:31:30 -07:00
Josh Klar
914b305fee
Merge pull request #45 from KMKfw/topic-feather-express-m4
Add support for Adafruit Feather+ItsyBitsy M4 Express boards through CircuitPython
2018-10-07 19:00:04 -07:00
Josh Klar
247cb28d63
More CI/Makefile fixes 2018-10-07 18:47:26 -07:00
Josh Klar
f9c19a19b4
Make sure we use pipenv-provided Python within nested Make targets 2018-10-07 18:33:27 -07:00
Josh Klar
614f49759f
Rewrite Circle config to hopefully support gcc-arm-embedded needed by atmel-samd 2018-10-07 18:22:27 -07:00
Josh Klar
6d204176e0
Unbreak pyboards 2018-10-07 04:54:25 -07:00
Josh Klar
7d02786959
Remove a stupid sanity check that is not always correct anyway 2018-10-07 04:51:31 -07:00
Josh Klar
50a834a9f0
Use frozen _main.py on atmel 2018-10-07 03:51:14 -07:00
Josh Klar
ed593ec9d3
Bump to build of CircuitPython that trims MSC and adds frozen _main.py support 2018-10-07 03:24:47 -07:00
Josh Klar
f6bebdcc24
Move off D13 to avoid clobbering the onboard LED just in case 2018-10-07 03:23:36 -07:00
Josh Klar
71af18819f
Makefile: Simplify flash rules to have cleaner dependency trees. Fully remove targets for unsupported Teensy. 2018-10-07 01:55:53 -07:00
Josh Klar
392f8d7e51
Abstract away platform-dependent pin references
Quote taken straight from the docstring of get_pin:

>Cross-platform method to find a pin by string.
>
>The pin definitions are platform-dependent, but this provides
>a way to say "I'm using pin D20" without rolling a D20 and
>having to actually learn MicroPython/CircuitPython and the
>differences in how they handle pinouts.
>
>This also makes the keymap sanity checker actually work for
>CircuitPython boards, since it's not possible in CPY to
>define a module stub for `board` that uses Passthrough
>natively (which is how the MicroPython stub worked originally)
2018-10-07 01:40:09 -07:00
Josh Klar
ec9591ad8a
Makefile: Enable keymap checker on SAMD51. Fix Unix MPY build 2018-10-07 01:39:47 -07:00
Josh Klar
004b80e4b6
Some Makefile fixes 2018-10-07 01:01:37 -07:00
Josh Klar
d61d3b7b38
Makefile fix on installing devdeps 2018-10-07 00:51:37 -07:00
Josh Klar
8e743642db
Add the SAMD51 chips to Circle config. Finally banish the Teensy to save build jobs 2018-10-07 00:49:33 -07:00
Josh Klar
a23acc6131
Update various internal key handling stuff to be CircuitPython-compatible 2018-10-07 00:45:35 -07:00
Josh Klar
d379acfc97
Support ItsyBitsy M4 Express as an effective clone of the Feather M4 Express with less pins. Because that's what it is. 2018-10-07 00:45:34 -07:00
Josh Klar
c4c28ad039
Decrease typing lag by about 80 billion percent by upping the logging threshold to WARNING on SAMD51 2018-10-07 00:45:33 -07:00
Josh Klar
472b08d77b
Support KEYBOARD and CONSUMER modes of HID on Feather M4 Express 2018-10-07 00:45:32 -07:00
Josh Klar
0b11f42cc2
Massive README update while waiting on builds to finish... 2018-10-07 00:45:31 -07:00
Josh Klar
ae3eda26b9
Make kmk_keyboard_user importable on SAMD51 by reducing recursion (read: import) depth 2018-10-07 00:45:31 -07:00
Josh Klar
e11934ab2d
Able to build a VERY basic KMK image for Feather M4 Express, flashable over UF2 only 2018-10-07 00:45:30 -07:00
Josh Klar
478e198d6d
Merge pull request #43 from KMKfw/topic-lazy-kc
Make KC object lazy but cached to avoid huge AttrDict compilation (most keycodes probably are not used anyway)
2018-10-06 17:03:17 -07:00
Josh Klar
d61f4470af
Make KC object lazy but cached to avoid huge AttrDict compilation (most keycodes probably are not used anyway) 2018-10-06 03:28:17 -07:00
Josh Klar
b6cc0276cd
Merge pull request #41 from KMKfw/topic-improve-build-process
Improve Makefile: Stop clobbering /vendor, detect submodule changes more intelligently
2018-10-05 21:41:36 -07:00
Josh Klar
8fd627e7f6
Ignore build files from linter 2018-10-05 21:18:43 -07:00
Josh Klar
04d30f1e42
Make sure unix micropython refers to correct location 2018-10-05 15:39:50 -07:00
Josh Klar
05c1b42802
Make sure Circle has rsync available 2018-10-05 15:35:13 -07:00