Gergely Nagy
a02cde9c21
Automatically pull in EEPROMSettings, and set up defaults
...
To make it easier to use the plugin, pull in `EEPROMSettings` by default, and
explicitly call its `onSetup` (it is safe to do so), so user sketches don't have
to if they don't use `EEPROMSettings` directly. Also set `Layer.getKey` to
`EEPROMKeymap.getKeyOverride` to provide a sensible default.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
aad0e3a734
Declare layer_count extern, so that plugins outside of core can use it too
...
Without declaring it extern, other plugins will not have access to the symbol.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
47efb47506
Seal the EEPROM layout automatically
...
If `EEPROMSettings.seal()` wasn't explicitly called, seal the layout in
`beforeEachCycle()`. On the flip side, this makes user sketches simpler, because
they don't have to seal explicitly. This is done at the cost of an if check each
cycle.
In the long run, EEPROM layout management will be moving out of this plugin, so
this check will be eventually dropped too.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
ce921d48c5
Merge pull request #5 from martinakcsilla/drop-debugging-println
...
Remove a debugging Serial.print()
6 years ago
Csilla Nagyné Martinák
ba332c1846
Remove a debugging Serial.print()
...
These two lines went in by mistake earlier, they were meant for local
debugging only. As such, having them in the plugin is a bug, easily
squashed by removing them.
Signed-off-by: Csilla Nagyné Martinák <csilla@csillger.hu>
6 years ago
Jesse Vincent
47ce0989ba
Merge pull request #9 from martinakcsilla/travis-by-example
...
Add an example sketch, and a Travis CI control file
6 years ago
Csilla Nagyné Martinák
a2195357c6
Add an example sketch, and a Travis CI control file
...
Fixes #4 .
Signed-off-by: Csilla Nagyné Martinák <csilla@csillger.hu>
6 years ago
Jesse Vincent
ad59dfec5e
Merge pull request #360 from keyboardio/f/shellcheck-in-makefile
...
.travis.yml: Remove shellcheck from the script step
6 years ago
Gergely Nagy
dc0168216e
.travis.yml: Remove shellcheck from the script step
...
With keyboardio/Kaleidoscope-Build-Tools#2, it is now done by the `travis-test`
target. We still need to install the shellcheck package, however.
Fixes #356 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
aa6b4c3885
etc/kaleidoscope-builder.conf: Fix ARDUINO_IDE_VERSION
...
We had one zero too much, fix that.
Fixes #287 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
8ad5366850
Merge pull request #20 from Dygmalab/master
...
fix overflow bug on ARM and use millisAtCycleStart
6 years ago
Gergely Nagy
57f3ddd43a
Use Kaleidoscope.millisAtCycleStart()
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
4e8b738521
Coding style fix
...
Our coding style says that private properties should end with an underscore,
lets make it so.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
36a38b23b0
Merge pull request #7 from jamadagni/limit-refresh-rate
...
Limit refresh rate and don't update on every cycle
6 years ago
Jesse Vincent
19b47984f8
Merge pull request #357 from keyboardio/f/builder/max-size-workaround
...
kaleidoscope-builder: Support boards with multiple max sizes
6 years ago
Gergely Nagy
f8d42b72c4
kaleidoscope-builder: Support boards with multiple max sizes
...
With the Atreus, we have a board that has a different max upload size depending
on what MCU is used. Until we figure out how to properly support that in the CLI
builder, default to using the first value. That's a reasonable approximation in
most cases.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Jesse Vincent
9320ade74f
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
5e672725c5
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
c738e6b991
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
480e644104
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
637943c924
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
e886a27853
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
e525aef803
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
fbdc8bdf35
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
a643e323e6
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
69b05c652a
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
9bab4e0bbf
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
6d2a3edbd2
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
cb081d2b90
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
020a67a413
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
1972c9f7c4
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
78816f4b36
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
cc26fcc996
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
4606191ff6
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
6d3d67157b
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
5e9202d25d
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
b9c5fd4c91
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
8605ff7d1d
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
cddb35e172
Update .travis.yml with new bundle pointer
6 years ago
Jesse Vincent
c749214e48
Update README to point to new Kaleidoscope-Bundle-Keyboardio
6 years ago
matt venn
96cfdd5c65
Merge branch 'master' of https://github.com/keyboardio/Kaleidoscope-LED-Stalker
...
Signed-off-by: matt venn <matt@mattvenn.net>
6 years ago
matt venn
ab89785ab5
moved to millisAtCycleStart and fixed overflow bug present on ARM platform
6 years ago
Jesse Vincent
d97b2060ba
The previous factoring just didn't work
6 years ago
Jesse Vincent
8a33793a1c
Improve the 'port unwritable' error message
6 years ago
Jesse Vincent
3a3281cb54
Clean up our flashing and warning messages.
...
Refactor the 'no bootloader port' message to only show up once, rather
than twice
6 years ago
Jesse Vincent
edd671cd41
Quiet down linux USB port detection in cases where everything works ok
6 years ago
Jesse Vincent
dda8787cf4
Merge pull request #8 from keyboardio/f/license-update-and-contributing
...
License clarification & CONTRIBUTING.md
6 years ago
Jesse Vincent
1dfffc5ce6
Merge pull request #7 from keyboardio/f/license-update-and-contributing
...
License clarification & CONTRIBUTING.md
6 years ago
Jesse Vincent
d3dfdae9fb
Merge pull request #11 from keyboardio/f/license-update-and-contributing
...
License clarification & CONTRIBUTING.md
6 years ago
Jesse Vincent
7aecb267be
Merge pull request #4 from keyboardio/f/license-update-and-contributing
...
License clarification & CONTRIBUTING.md
6 years ago