diff options
author | Alex Schroeder <kensanata@gmail.com> | 2018-08-24 17:53:03 +0200 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-08-24 08:53:03 -0700 |
commit | 37d30552645dc1d1a2d8c0adba4c49b4a461c7ab (patch) | |
tree | a5d9d38fd4c9f45830e9ae1c96f7c8d412a62859 /keyboards | |
parent | c6eccb39e0da150b7575b96d68366ba46f22306b (diff) |
Keyboard: Support PCBDOWN variants for Atreus keyboard (#3735)
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/atreus/readme.md | 2 | ||||
-rw-r--r-- | keyboards/atreus/rules.mk | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/atreus/readme.md b/keyboards/atreus/readme.md index 6a86ff2e00..0756c186c4 100644 --- a/keyboards/atreus/readme.md +++ b/keyboards/atreus/readme.md @@ -16,4 +16,6 @@ Make example for this keyboard (after setting up your build environment): Unlike the TMK firmware, this command should be run from the root of the repository, not the directory containing this readme. +If your keyboard layout is a mirror image of what you expected (i.e. you do not get QWERTY on the left but YTREWQ on the right), then you have an A-Star powered Atreus (older than March 2016) with PCB labels facing *down* instead of up. Specify that by adding `PCBDOWN=yes` to your `make` commands. + See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. diff --git a/keyboards/atreus/rules.mk b/keyboards/atreus/rules.mk index 2c8418beb7..2488fd5e87 100644 --- a/keyboards/atreus/rules.mk +++ b/keyboards/atreus/rules.mk @@ -5,6 +5,9 @@ ifdef TEENSY2 ATREUS_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex else OPT_DEFS += -DATREUS_ASTAR +ifdef PCBDOWN + OPT_DEFS += -DPCBDOWN +endif ATREUS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \ avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) endif |