aboutsummaryrefslogtreecommitdiff
path: root/keyboards/orthodox
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/orthodox')
-rw-r--r--keyboards/orthodox/config.h6
-rw-r--r--keyboards/orthodox/keymaps/default/config.h2
-rw-r--r--keyboards/orthodox/keymaps/default/rules.mk3
-rw-r--r--keyboards/orthodox/keymaps/drashna/config.h2
-rw-r--r--keyboards/orthodox/keymaps/drashna/rules.mk6
-rw-r--r--keyboards/orthodox/orthodox.h2
-rw-r--r--keyboards/orthodox/readme.md10
-rw-r--r--keyboards/orthodox/rev1/config.h2
-rw-r--r--keyboards/orthodox/rev1/rev1.h2
-rw-r--r--keyboards/orthodox/rev1/rules.mk6
-rw-r--r--keyboards/orthodox/rules.mk2
11 files changed, 15 insertions, 28 deletions
diff --git a/keyboards/orthodox/config.h b/keyboards/orthodox/config.h
index b1a5b9cf9..821cd7e29 100644
--- a/keyboards/orthodox/config.h
+++ b/keyboards/orthodox/config.h
@@ -23,9 +23,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
23#define CONFIG_H 23#define CONFIG_H
24 24
25#include "config_common.h" 25#include "config_common.h"
26 26
27#ifdef SUBPROJECT_rev1
28 #include "rev1/config.h"
29#endif
30
31#endif 27#endif
diff --git a/keyboards/orthodox/keymaps/default/config.h b/keyboards/orthodox/keymaps/default/config.h
index f24c6db29..c2892b5e0 100644
--- a/keyboards/orthodox/keymaps/default/config.h
+++ b/keyboards/orthodox/keymaps/default/config.h
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22#ifndef CONFIG_USER_H 22#ifndef CONFIG_USER_H
23#define CONFIG_USER_H 23#define CONFIG_USER_H
24 24
25#include "../../config.h" 25#include "config_common.h"
26 26
27/* Use I2C or Serial, not both */ 27/* Use I2C or Serial, not both */
28 28
diff --git a/keyboards/orthodox/keymaps/default/rules.mk b/keyboards/orthodox/keymaps/default/rules.mk
index 457a3d01d..e69de29bb 100644
--- a/keyboards/orthodox/keymaps/default/rules.mk
+++ b/keyboards/orthodox/keymaps/default/rules.mk
@@ -1,3 +0,0 @@
1ifndef QUANTUM_DIR
2 include ../../../../Makefile
3endif
diff --git a/keyboards/orthodox/keymaps/drashna/config.h b/keyboards/orthodox/keymaps/drashna/config.h
index 7cbbf1025..bcd14a22d 100644
--- a/keyboards/orthodox/keymaps/drashna/config.h
+++ b/keyboards/orthodox/keymaps/drashna/config.h
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22#ifndef CONFIG_USER_H 22#ifndef CONFIG_USER_H
23#define CONFIG_USER_H 23#define CONFIG_USER_H
24 24
25#include "../../config.h" 25#include "config_common.h"
26 26
27/* Use I2C or Serial, not both */ 27/* Use I2C or Serial, not both */
28 28
diff --git a/keyboards/orthodox/keymaps/drashna/rules.mk b/keyboards/orthodox/keymaps/drashna/rules.mk
index e252a9044..2090afe9a 100644
--- a/keyboards/orthodox/keymaps/drashna/rules.mk
+++ b/keyboards/orthodox/keymaps/drashna/rules.mk
@@ -1,6 +1,2 @@
1CONSOLE_ENABLE = yes 1CONSOLE_ENABLE = yes
2TAP_DANCE_ENABLE = yes 2TAP_DANCE_ENABLE = yes \ No newline at end of file
3
4ifndef QUANTUM_DIR
5 include ../../../../Makefile
6endif
diff --git a/keyboards/orthodox/orthodox.h b/keyboards/orthodox/orthodox.h
index b33356e5e..89707467a 100644
--- a/keyboards/orthodox/orthodox.h
+++ b/keyboards/orthodox/orthodox.h
@@ -1,7 +1,7 @@
1#ifndef ORTHODOX_H 1#ifndef ORTHODOX_H
2#define ORTHODOX_H 2#define ORTHODOX_H
3 3
4#ifdef SUBPROJECT_rev1 4#ifdef KEYBOARD_orthodox_rev1
5 #include "rev1.h" 5 #include "rev1.h"
6#endif 6#endif
7 7
diff --git a/keyboards/orthodox/readme.md b/keyboards/orthodox/readme.md
index e1fbf94ba..fb591b007 100644
--- a/keyboards/orthodox/readme.md
+++ b/keyboards/orthodox/readme.md
@@ -34,10 +34,10 @@ For further reading on build- and flashing-procedures for split ortholinear skel
34 34
35## First Time Setup 35## First Time Setup
36 36
37Download or clone the whole firmware and navigate to the keyboards/orthodox directory. Once your dev env is setup, you'll be able to generate the default .hex using: 37Download or clone the whole firmware and navigate to the root directory. Once your dev env is setup, you'll be able to generate the default .hex using:
38 38
39``` 39```
40$ make rev1-default 40$ make orthodox/rev1:default
41``` 41```
42 42
43You will see a lot of output and if everything worked correctly you will see the built hex files in your *root qmk_firmware directory* two levels up: 43You will see a lot of output and if everything worked correctly you will see the built hex files in your *root qmk_firmware directory* two levels up:
@@ -50,7 +50,7 @@ If you would like to use one of the alternative keymaps, or create your own, cop
50 50
51 51
52``` 52```
53$ make rev1-YOUR_KEYMAP_NAME 53$ make orthodox/rev1:YOUR_KEYMAP_NAME
54``` 54```
55 55
56If everything worked correctly you will see a file: 56If everything worked correctly you will see a file:
@@ -96,8 +96,8 @@ the two halves, i.e. if your split keyboard has 3 rows in each half, then
96 96
97Flashing 97Flashing
98------- 98-------
99From the `orthodox` directory run `make SUBPROJECT-KEYMAP-avrdude` for automatic serial port resolution and flashing. 99From the root directory run `make PROJECT:KEYMAP:avrdude` for automatic serial port resolution and flashing.
100Example: `make rev2-default-avrdude` 100Example: `make orthodox/rev2:default:avrdude`
101 101
102 102
103Choosing which board to plug the USB cable into (choosing Master) 103Choosing which board to plug the USB cable into (choosing Master)
diff --git a/keyboards/orthodox/rev1/config.h b/keyboards/orthodox/rev1/config.h
index 05f043b4c..26715f409 100644
--- a/keyboards/orthodox/rev1/config.h
+++ b/keyboards/orthodox/rev1/config.h
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22#ifndef REV1_CONFIG_H 22#ifndef REV1_CONFIG_H
23#define REV1_CONFIG_H 23#define REV1_CONFIG_H
24 24
25#include "../config.h" 25#include "config_common.h"
26 26
27/* USB Device descriptor parameter */ 27/* USB Device descriptor parameter */
28#define VENDOR_ID 0xFEED 28#define VENDOR_ID 0xFEED
diff --git a/keyboards/orthodox/rev1/rev1.h b/keyboards/orthodox/rev1/rev1.h
index 06282b234..ceaaaed28 100644
--- a/keyboards/orthodox/rev1/rev1.h
+++ b/keyboards/orthodox/rev1/rev1.h
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22#ifndef REV1_H 22#ifndef REV1_H
23#define REV1_H 23#define REV1_H
24 24
25#include "../orthodox.h" 25#include "orthodox.h"
26 26
27//void promicro_bootloader_jmp(bool program); 27//void promicro_bootloader_jmp(bool program);
28#include "quantum.h" 28#include "quantum.h"
diff --git a/keyboards/orthodox/rev1/rules.mk b/keyboards/orthodox/rev1/rules.mk
index a0825b4ef..f84561674 100644
--- a/keyboards/orthodox/rev1/rules.mk
+++ b/keyboards/orthodox/rev1/rules.mk
@@ -1,5 +1 @@
1BACKLIGHT_ENABLE = no BACKLIGHT_ENABLE = no \ No newline at end of file
2
3ifndef QUANTUM_DIR
4 include ../../../Makefile
5endif \ No newline at end of file
diff --git a/keyboards/orthodox/rules.mk b/keyboards/orthodox/rules.mk
index 3f40ff2f8..48d6551bc 100644
--- a/keyboards/orthodox/rules.mk
+++ b/keyboards/orthodox/rules.mk
@@ -73,3 +73,5 @@ USE_I2C = yes
73SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 73SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
74 74
75CUSTOM_MATRIX = yes 75CUSTOM_MATRIX = yes
76
77DEFAULT_FOLDER = orthodox/rev1