Gergely Nagy
780cd026f4
travis: Unset CC
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
da5adf1fb7
wip: docker: jic, mount $(pwd) as Kaleidoscope
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
3bdb987dcf
wip: Add a `docker_simulator_tests` target
...
This will build a Docker image with all dependencies installed, then run the
simulator tests within it, using the current bundle as a volume.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
e2d8b5a614
Revert "wip: kaleidoscope-builder: respect the prefix/suffix/basename env vars"
...
This reverts commit 202f4b818d
.
4 years ago
Gergely Nagy
503263976a
wip: CC, CXX, AR override support, with full paths
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
474a2c8cb8
wip: run prepare-virtual in the bundle when doing sim tests
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
840a61f87f
kaleidoscope-builder: Set compiler.c.elf.cmd to the c++ compiler too
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
202f4b818d
wip: kaleidoscope-builder: respect the prefix/suffix/basename env vars
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
1e190f00a2
kaleidoscope-builder: Use ${MAKE} if available
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
0774f3fc2f
wip: build tools stuff
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
637579b346
Revert "kaleidoscope-builder: Allow easily selecting a compiler"
...
This reverts commit 56a729260f
.
4 years ago
Gergely Nagy
56a729260f
kaleidoscope-builder: Allow easily selecting a compiler
...
While we do not currently support any other compiler than the gcc suite, we
eventually want to. Meanwhile, we also want to be able to easily switch to gcc
when that's not the default on the system.
For this reason, we introduce `KALEIDOSCOPE_COMPILER`, which can be set to `gcc`
or `clang`, and `kaleidoscope-builder` will then set up the appropriate
basenames.
This, combined with the previous change, allows us to easily select gcc for
virtual builds, even when clang is the default on the system.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
4f08df1c76
kaleidoscope-builder: When doing virtual builds, always clear COMPILER_PREFIX
...
When doing virtual builds, we never want to use the arch prefix. We want to use
the compiler as set.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Jesse Vincent
2870a0b8ec
Whitespace issues found by astyle
4 years ago
Jesse Vincent
ceecd5d71b
Clang requires these be explicitly marked as templates
4 years ago
Jesse Vincent
614bc41a14
Clang doesn't like delete getting called on virtual classes without destructors.
4 years ago
Jesse Vincent
309ac5339c
describeState needs to be marked override for clang
4 years ago
Gergely Nagy
7d991b7544
Revert "travis: Run the simulator tests too"
...
This reverts commit 0c846006fb
.
This needs a bit more setup and tweaking to work....
4 years ago
Gergely Nagy
0c846006fb
travis: Run the simulator tests too
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
bd44b458ee
astyle
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
6cc56403ec
wip: Add an all_actions test sketch
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
59aa18aca8
wip: Executor -> Simulator
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
8bd2efb9c7
wip: Simulator.h->macros.h
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
cbcb9c1586
wip: Add a dummy test
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
0454f8b66e
wip: simulator: guard GenerateHostEvent
...
This feature is currently only available on Linux, but we don't want a
platform-specific guard - not in itself, anyway - so guard it with
`KALEIDOSCOPE_VIRTUAL_HOST_EVENTS`, _and_ a linux-guard within.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
8f7be391e5
wip: AglaisInterface => LogProtocolInterface
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
507bf61b26
wip: Include AglaisInterface from Kaleidoscope-Simulator.h
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
85dc500bbb
wip: SimulatorCore: stop using deprecated interfaces
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
0fa406c5d1
wip: drop the executor namespace
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
ff06775608
wip: simulator/Executor.h => simulator/Simulator.h
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
5d83ac6ad3
wip: drop the vendors dir from simulator/interface
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
5d69c4f5c0
wip: interface::Simulator => interface::Simulator_
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
145d926510
wip: framework->interface
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
df73da9b80
wip: header cleanups
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
59540c8d2d
wip: version.h: Only do the check if building for AVR
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
4db7189ce9
wip: Fix COMPILER_PATH for virtual builds
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
ab12556f8b
wip: log protocol collapse v1
...
we do not currently plan to have a v2 anytime soon. Lets just merge the v1
namespace into the main one.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
3716ea4ab2
wip
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
917ed4184c
wip: Simulator
...
This is the same code as the previous branch, but without history to make
rebasing easier.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
902a60ab7f
Merge pull request #883 from Rom1deTroyes/patch-1
...
[Typo] The Plugin name is WavepoolEffect
4 years ago
Romain
c9b9281d21
[Typo] The Plugin name is WavepoolEffect
...
Just a little typo here.
Signed-off-by: Romain <Rom1deTroyes@users.noreply.github.com>
4 years ago
Jesse Vincent
0d50c846f2
Merge pull request #881 from tokencoder/patch-5
...
Additional methods for installing Arduino
4 years ago
tokencoder
771ba09add
Additional methods for installing Arduino
4 years ago
Jesse Vincent
0c16678050
Merge pull request #880 from tokencoder/patch-4
...
Arch distro command differs
4 years ago
tokencoder
5ca3183aab
Arch distro command differs
...
as referenced in: https://unix.stackexchange.com/questions/39370/how-to-reload-udev-rules-without-reboot
4 years ago
Jesse Vincent
c85233b7c0
Astyle.
4 years ago
Jesse Vincent
45ffbd9118
ADd some docs for the scan cycle timer
4 years ago
Jesse Vincent
ad83388ef9
Set our default debounce cycle time to bottom out at approximately 1500uS instead of 17000us. Measured, this gets us a 5ms debounce pretty reliably.
4 years ago
Jesse Vincent
a6e5c0a6f8
Merge pull request #877 from keyboardio/debouncer-cleanup
...
ATmega debouncer cleanup
4 years ago
Gergely Nagy
8157580b52
keyscanner::ATmega: Rename a few internal things again
...
To make their purpose clearer, rearrange our state: we now have the row-based
array on the top level, instead of every member being an array on its own. The
name of the state variable was changed to `matrix_state_`, to reflect its
purpose. This also allowed us to have its members be named `current`,
`previous`, `debouncer` and `masks`.
All devices using these APIs, and the documentation were updated accordingly.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago