diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2019-06-27 02:15:32 +0200 | 
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2019-06-27 03:17:30 +0200 | 
| commit | 9d538b467cd0ef7db5b149ff66b1cfc89af5032e (patch) | |
| tree | 45d700156445a621d7edda973a1c2849002794a3 | |
| parent | cfc91f61ad120c5a9de658af1c16f092954dfd11 (diff) | |
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.
| -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.) | 
