From 6e97a4c8b915e7be4d86ea9969c0e7d7e9876b8b Mon Sep 17 00:00:00 2001 From: nopunin10did Date: Tue, 24 Nov 2020 04:59:22 -0500 Subject: Railroad fix (#10935) * Fix Railroad build issues * Update keyboards/nopunin10did/railroad/rev0/rules.mk * Update keyboards/nopunin10did/railroad/rev0/rev0.h * Add extra copy of readme to the rev0 folder * Update keyboards/nopunin10did/railroad/rev0/readme.md --- keyboards/nopunin10did/railroad/readme.md | 2 +- keyboards/nopunin10did/railroad/rev0/railroad.c | 17 -------- keyboards/nopunin10did/railroad/rev0/railroad.h | 53 ------------------------- keyboards/nopunin10did/railroad/rev0/readme.md | 15 +++++++ keyboards/nopunin10did/railroad/rev0/rev0.c | 17 ++++++++ keyboards/nopunin10did/railroad/rev0/rev0.h | 51 ++++++++++++++++++++++++ keyboards/nopunin10did/railroad/rev0/rules.mk | 22 ++++++++++ keyboards/nopunin10did/railroad/rules.mk | 22 ---------- 8 files changed, 106 insertions(+), 93 deletions(-) delete mode 100644 keyboards/nopunin10did/railroad/rev0/railroad.c delete mode 100644 keyboards/nopunin10did/railroad/rev0/railroad.h create mode 100644 keyboards/nopunin10did/railroad/rev0/readme.md create mode 100644 keyboards/nopunin10did/railroad/rev0/rev0.c create mode 100644 keyboards/nopunin10did/railroad/rev0/rev0.h create mode 100644 keyboards/nopunin10did/railroad/rev0/rules.mk delete mode 100644 keyboards/nopunin10did/railroad/rules.mk (limited to 'keyboards') diff --git a/keyboards/nopunin10did/railroad/readme.md b/keyboards/nopunin10did/railroad/readme.md index c84e3573f2..aac088f12e 100644 --- a/keyboards/nopunin10did/railroad/readme.md +++ b/keyboards/nopunin10did/railroad/readme.md @@ -10,6 +10,6 @@ A long keyboard with ortholinear alphas and semi-standard modifier keys. For mor Make example for this keyboard (after setting up your build environment): - make nopunin10did/railroad:default + make nopunin10did/railroad/rev0:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/nopunin10did/railroad/rev0/railroad.c b/keyboards/nopunin10did/railroad/rev0/railroad.c deleted file mode 100644 index 7a0aff3d13..0000000000 --- a/keyboards/nopunin10did/railroad/rev0/railroad.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2020 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.com) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include "railroad.h" diff --git a/keyboards/nopunin10did/railroad/rev0/railroad.h b/keyboards/nopunin10did/railroad/rev0/railroad.h deleted file mode 100644 index 44610cfb59..0000000000 --- a/keyboards/nopunin10did/railroad/rev0/railroad.h +++ /dev/null @@ -1,53 +0,0 @@ -/* Copyright 2020 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.com) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ -\ - K0000, K0500, K0100, K0001, K0101, K0002, K0102, K0003, K0103, K0004, \ - K0200, K0300, K0201, K0301, K0202, K0302, K0203, K0303, K0204, \ - K0400, K0401, K0501, K0402, K0502, K0403, K0503, K0404, \ - K0600, K0601, K0701, K0602, K0702, K0603, K0703, K0604, \ - K0800, K0900, K0801, K0901, K0802, K0902, K0903, K0904,\ -\ - K0104, K0005, K0105, \ - K0304, K0205, K0305, \ - K0504, K0405, K0505, \ - K0704, K0605, K0705, \ -\ - K0006, K0106, K0007, K0107, K0008, K0108, K0009, K0109, K0010, \ - K0206, K0306, K0207, K0307, K0208, K0308, K0209, K0309, \ - K0406, K0506, K0407, K0507, K0408, K0508, K0409, K0509, K0410, \ - K0606, K0706, K0607, K0707, K0608, K0708, K0609, K0709, \ - K0905, K0906, K0907, K0808, K0908, K0809, K0909, K0810 \ -) \ -{ \ - { K0000, K0001, K0002, K0003, K0004, K0005, K0006, K0007, K0008, K0009, K0010 }, \ - { K0100, K0101, K0102, K0103, K0104, K0105, K0106, K0107, K0108, K0109, KC_NO }, \ - { K0200, K0201, K0202, K0203, K0204, K0205, K0206, K0207, K0208, K0209, KC_NO }, \ - { K0300, K0301, K0302, K0303, K0304, K0305, K0306, K0307, K0308, K0309, KC_NO }, \ - { K0400, K0401, K0402, K0403, K0404, K0405, K0406, K0407, K0408, K0409, K0410 }, \ - { K0500, K0501, K0502, K0503, K0504, K0505, K0506, K0507, K0508, K0509, KC_NO }, \ - { K0600, K0601, K0602, K0603, K0604, K0605, K0606, K0607, K0608, K0609, KC_NO }, \ - { KC_NO, K0701, K0702, K0703, K0704, K0705, K0706, K0707, K0708, K0709, KC_NO }, \ - { K0800, K0801, K0802, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K0808, K0809, K0810 }, \ - { K0900, K0901, K0902, K0903, K0904, K0905, K0906, K0907, K0908, K0909, KC_NO } \ -} - - diff --git a/keyboards/nopunin10did/railroad/rev0/readme.md b/keyboards/nopunin10did/railroad/rev0/readme.md new file mode 100644 index 0000000000..e3b8dc8bcd --- /dev/null +++ b/keyboards/nopunin10did/railroad/rev0/readme.md @@ -0,0 +1,15 @@ +# The Railroad + +![The Railroad](https://i.imgur.com/B8OjXmyl.jpg) + +A long keyboard with ortholinear alphas and semi-standard modifier keys. For more information, join the [NoPunIn10Key Discord](https://discord.gg/sku2Y6w). + +* Keyboard Maintainer: [Alex Ronke](https://diplomacyvariants.wordpress.com/), also known as [NoPunIn10Did](https://github.com/nopunin10did). +* Hardware Supported: The Railroad: 2020-07 Prototype +* Hardware Availability: Currently by request only + +Make example for this keyboard (after setting up your build environment): + + make nopunin10did/railroad/rev0:default + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/nopunin10did/railroad/rev0/rev0.c b/keyboards/nopunin10did/railroad/rev0/rev0.c new file mode 100644 index 0000000000..f9a51af643 --- /dev/null +++ b/keyboards/nopunin10did/railroad/rev0/rev0.c @@ -0,0 +1,17 @@ +/* Copyright 2020 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.com) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include "rev0.h" diff --git a/keyboards/nopunin10did/railroad/rev0/rev0.h b/keyboards/nopunin10did/railroad/rev0/rev0.h new file mode 100644 index 0000000000..ff7c31524e --- /dev/null +++ b/keyboards/nopunin10did/railroad/rev0/rev0.h @@ -0,0 +1,51 @@ +/* Copyright 2020 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.com) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#include "quantum.h" + +#define LAYOUT( \ +\ + K0000, K0500, K0100, K0001, K0101, K0002, K0102, K0003, K0103, K0004, \ + K0200, K0300, K0201, K0301, K0202, K0302, K0203, K0303, K0204, \ + K0400, K0401, K0501, K0402, K0502, K0403, K0503, K0404, \ + K0600, K0601, K0701, K0602, K0702, K0603, K0703, K0604, \ + K0800, K0900, K0801, K0901, K0802, K0902, K0903, K0904,\ +\ + K0104, K0005, K0105, \ + K0304, K0205, K0305, \ + K0504, K0405, K0505, \ + K0704, K0605, K0705, \ +\ + K0006, K0106, K0007, K0107, K0008, K0108, K0009, K0109, K0010, \ + K0206, K0306, K0207, K0307, K0208, K0308, K0209, K0309, \ + K0406, K0506, K0407, K0507, K0408, K0508, K0409, K0509, K0410, \ + K0606, K0706, K0607, K0707, K0608, K0708, K0609, K0709, \ + K0905, K0906, K0907, K0808, K0908, K0809, K0909, K0810 \ +) \ +{ \ + { K0000, K0001, K0002, K0003, K0004, K0005, K0006, K0007, K0008, K0009, K0010 }, \ + { K0100, K0101, K0102, K0103, K0104, K0105, K0106, K0107, K0108, K0109, KC_NO }, \ + { K0200, K0201, K0202, K0203, K0204, K0205, K0206, K0207, K0208, K0209, KC_NO }, \ + { K0300, K0301, K0302, K0303, K0304, K0305, K0306, K0307, K0308, K0309, KC_NO }, \ + { K0400, K0401, K0402, K0403, K0404, K0405, K0406, K0407, K0408, K0409, K0410 }, \ + { K0500, K0501, K0502, K0503, K0504, K0505, K0506, K0507, K0508, K0509, KC_NO }, \ + { K0600, K0601, K0602, K0603, K0604, K0605, K0606, K0607, K0608, K0609, KC_NO }, \ + { KC_NO, K0701, K0702, K0703, K0704, K0705, K0706, K0707, K0708, K0709, KC_NO }, \ + { K0800, K0801, K0802, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K0808, K0809, K0810 }, \ + { K0900, K0901, K0902, K0903, K0904, K0905, K0906, K0907, K0908, K0909, KC_NO } \ +} diff --git a/keyboards/nopunin10did/railroad/rev0/rules.mk b/keyboards/nopunin10did/railroad/rev0/rules.mk new file mode 100644 index 0000000000..a7facc5328 --- /dev/null +++ b/keyboards/nopunin10did/railroad/rev0/rules.mk @@ -0,0 +1,22 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +NKRO_ENABLE = yes # USB Nkey Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +BLUETOOTH_ENABLE = no # Enable Bluetooth +AUDIO_ENABLE = no # Audio output diff --git a/keyboards/nopunin10did/railroad/rules.mk b/keyboards/nopunin10did/railroad/rules.mk deleted file mode 100644 index a7facc5328..0000000000 --- a/keyboards/nopunin10did/railroad/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -BLUETOOTH_ENABLE = no # Enable Bluetooth -AUDIO_ENABLE = no # Audio output -- cgit v1.2.3