diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README | 12 |
2 files changed, 7 insertions, 7 deletions
@@ -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 @@ -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.) |