aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README12
2 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index ec992ae..1c6b6ba 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ CXXFLAGS = -DARDUINO_AVR_MODEL01 \
-DUSB_MANUFACTURER="\"keyboardio\"" -DUSB_PRODUCT="\"Model 01\"" \
-DKALEIDOSCOPE_HARDWARE_H="\"Kaleidoscope-Hardware-Model01.h\""
-ifeq ($(ENABLE_SERIAL),1)
+ifeq ($(ENABLE_SERIAL),yes)
CXXFLAGS += -DENABLE_SERIAL
endif
diff --git a/README b/README
index 4374e16..3352f2b 100644
--- a/README
+++ b/README
@@ -5,8 +5,8 @@ A firmware Sketch for the Keyboardio Model 01. Based algerno's:
https://git.madhouse-project.org/algernon/Model01-Sketch#base-layer
-Build
-=====
+Build firmware
+==============
On Debian systems, the following packages are required:
@@ -38,7 +38,7 @@ Initialize (or update) submodules:
To enable communicating with the host via a simple Serial protocol, use
- ~$ ENABLE_SERIAL=1 make
+ ~$ ENABLE_SERIAL=yes make
Flash firmware
@@ -50,10 +50,10 @@ Press down the 'prog' key while the board is rebooting. You can release
it once it glows red.
-Apply the color map
-===================
+Apply color map
+===============
~$ make apply-colormap
This requires a firmware supporting the Serial protocol. (Add
-ENABLE_SERIAL=1 to the build environment.)
+ENABLE_SERIAL=yes to the build environment.)