From 9d538b467cd0ef7db5b149ff66b1cfc89af5032e Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 27 Jun 2019 02:15:32 +0200 Subject: Build: Replace 'ENABLE_SERIAL=1' with 'ENABLE_SERIAL=yes'. That is, to enable communicating with the host via a simple Serial protocol. The feature is disabled by default. --- Makefile | 2 +- README | 12 ++++++------ 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.) -- cgit v1.2.3