Jesse Vincent
d515f0088b
Make the linter happy
8 years ago
Jesse Vincent
91da0ae68e
Make the linter happy
8 years ago
Jesse Vincent
135f91dfa3
Add build infrastructure
8 years ago
Jesse Vincent
002174a4f1
Add build infrastructure
8 years ago
Jesse Vincent
a0b2d400db
astyle with current project style guidelines
8 years ago
Jesse Vincent
959e20b678
astyle with current project style guidelines
8 years ago
Jesse Vincent
ecef342f1f
astyle with current project style guidelines
8 years ago
Jesse Vincent
89c79ef6fe
astyle with current project style guidelines
8 years ago
Jesse Vincent
b75b3ac960
astyle with current project style guidelines
8 years ago
Jesse Vincent
8c6b8433cc
astyle pass
8 years ago
Jesse Vincent
57ebb17d8f
Revert "switch from one space indent to two space indent before public: and private:"
...
This reverts commit 502bc0b59f
.
Now that we have two space indent, astyle does the right thing
8 years ago
Gergely Nagy
8782cea7c1
Focus: When printing the keymap, use the effective layout
...
Instead of printing the keymap from EEPROM, print the effective layout.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ba6128dddc
Kaleidoscope Style Guide conformance
...
Updated the code to conform to the latest style guide. And added a bit of
documentation too, while there.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
502bc0b59f
switch from one space indent to two space indent before public: and private:
...
This matches what astyle does, so it's one less thing to stress about
8 years ago
Jesse Vincent
9129b8e9a7
Switch up the -libraries order so the local version of a library gets
...
found first
8 years ago
Gergely Nagy
522fcc8c25
doc/CODING_STYLE.html: Fix a small typo
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
e57cfbc0db
remove a bunch of semicolons that the linter says are superfluous
8 years ago
Jesse Vincent
02b144cff3
Switch to cpplint 1.30 from https://pypi.python.org/pypi/cpplint
...
Unlike the upstream google linter, it understands '#pragma once'
8 years ago
Jesse Vincent
37d0f1cb8c
Switch HIDTables.h to #pragma once to satisfy the linter.
...
This _might_ get us in trouble with duplicate definitions in KeyboardioHID
8 years ago
Jesse Vincent
854a7c73b2
Import google cpplint
8 years ago
Jesse Vincent
554b43c2b5
Remove an unneeded ; caught by cpplint.py
8 years ago
Jesse Vincent
4b27f711f9
Strike through windows-specific stuff
8 years ago
Jesse Vincent
cf4886f653
Add a note about access control. Remove a google-specific note
8 years ago
Jesse Vincent
44d95f050e
We use astyle
8 years ago
Jesse Vincent
7cd1eee07d
our guidance on inline functions is a little bit difference because we're targeting embedded devices
8 years ago
Jesse Vincent
02ea090ac7
We use #pragma once
8 years ago
Jesse Vincent
01bfee48cb
GCC extensions are ok
8 years ago
Jesse Vincent
5873b461ac
we don't use std::hash
8 years ago
Jesse Vincent
b0577d241c
Boost does not make sense in this context
8 years ago
Jesse Vincent
30edd7da2f
64 bit portability is a non-goal
8 years ago
Jesse Vincent
ce595a848e
Switch the style guide to HTML, rather than wasting hours butchering
...
Google's nice semantic HTML to Markdown
8 years ago
Jesse Vincent
f7b071d134
Add notes from @obra and @algernon. As yet not integrated
8 years ago
Jesse Vincent
b33669af45
Checking in a markdown-ified (but otherwise unmodified) version of the
...
Google C++ style guide as of June 2, 2017
8 years ago
Jesse Vincent
915e7068f6
Merge pull request #7 from keyboardio/f/get-led-index
...
Add a `get_led_index` function
8 years ago
Gergely Nagy
733511fc37
Add a `get_led_index` function
...
Given a `row`/`col` coordinate, this new function returns the index of the LED
under that key. To be used with the `led_set_crgb_at(i, crgb)` function.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
813a48a04f
Add the ability to specify CFLAGS through the builder
8 years ago
Jesse Vincent
356dd681f9
astyle 3.0 fixups
8 years ago
Jesse Vincent
ede5fdba6c
astyle with astyle 3.0, which matters for this code
8 years ago
Jesse Vincent
46d40dd3d5
make astyle
8 years ago
Jesse Vincent
3adb8c28af
make astyle
8 years ago
Jesse Vincent
e3dc58f384
make astyle
8 years ago
Jesse Vincent
d75939d456
make astyle
8 years ago
Jesse Vincent
97008a28f0
"make astyle
8 years ago
Jesse Vincent
a0cebeb0ee
Switch to modern build infrastructure
8 years ago
Jesse Vincent
9825e4057a
Attempt to switch to shared build infrastructure for build and test.
...
The one downside to this is that we're now using the version of builder
in Arduino-boards rather than in the current checkout.
8 years ago
Jesse Vincent
0e0f3037e5
Modernize build and test infra
8 years ago
Jesse Vincent
90f5c51386
New build infrastructure
8 years ago
Jesse Vincent
2b33266452
New build infrastructure
8 years ago
Jesse Vincent
59c361e6c8
New build infrastructure
8 years ago
Jesse Vincent
c5c361cb3c
"build-all" now works for a top-level sketch
8 years ago