summaryrefslogtreecommitdiff
path: root/keyboards/planck
diff options
context:
space:
mode:
authorJordi Pakey-Rodriguez <jordi@0xdec.im>2018-12-15 21:15:56 -0600
committerDrashna Jaelre <drashna@live.com>2019-01-17 18:16:33 -0800
commitdb8d68acdcdb009fc2a9d773a7d2c07992a46933 (patch)
tree0e76af54e16184241924c79c6b07bc62e264858d /keyboards/planck
parentcd819a7f7eb74e81780c19a656d0c3a6dc0f3b73 (diff)
Add Planck rev1 and rev2, clean up rev3-5 config.h
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/rev1/config.h3
-rw-r--r--keyboards/planck/rev1/rules.mk1
-rw-r--r--keyboards/planck/rev2/config.h3
-rw-r--r--keyboards/planck/rev2/rules.mk1
-rw-r--r--keyboards/planck/rev3/config.h7
-rw-r--r--keyboards/planck/rev4/config.h7
-rw-r--r--keyboards/planck/rev5/config.h7
7 files changed, 11 insertions, 18 deletions
diff --git a/keyboards/planck/rev1/config.h b/keyboards/planck/rev1/config.h
new file mode 100644
index 0000000000..397887a73f
--- /dev/null
+++ b/keyboards/planck/rev1/config.h
@@ -0,0 +1,3 @@
+#pragma once
+
+#define DEVICE_VER 0x0001
diff --git a/keyboards/planck/rev1/rules.mk b/keyboards/planck/rev1/rules.mk
new file mode 100644
index 0000000000..e51af55c66
--- /dev/null
+++ b/keyboards/planck/rev1/rules.mk
@@ -0,0 +1 @@
+AUDIO_ENABLE = no # Audio output on port C6
diff --git a/keyboards/planck/rev2/config.h b/keyboards/planck/rev2/config.h
new file mode 100644
index 0000000000..bed78bca3f
--- /dev/null
+++ b/keyboards/planck/rev2/config.h
@@ -0,0 +1,3 @@
+#pragma once
+
+#define DEVICE_VER 0x0002
diff --git a/keyboards/planck/rev2/rules.mk b/keyboards/planck/rev2/rules.mk
new file mode 100644
index 0000000000..e51af55c66
--- /dev/null
+++ b/keyboards/planck/rev2/rules.mk
@@ -0,0 +1 @@
+AUDIO_ENABLE = no # Audio output on port C6
diff --git a/keyboards/planck/rev3/config.h b/keyboards/planck/rev3/config.h
index 45e60962ba..fd6f0460e5 100644
--- a/keyboards/planck/rev3/config.h
+++ b/keyboards/planck/rev3/config.h
@@ -1,8 +1,3 @@
-#ifndef REV3_CONFIG_H
-#define REV3_CONFIG_H
-
-#include "config_common.h"
+#pragma once
#define DEVICE_VER 0x0003
-
-#endif
diff --git a/keyboards/planck/rev4/config.h b/keyboards/planck/rev4/config.h
index 4ff7649fb5..572852bbf0 100644
--- a/keyboards/planck/rev4/config.h
+++ b/keyboards/planck/rev4/config.h
@@ -1,8 +1,3 @@
-#ifndef REV4_CONFIG_H
-#define REV4_CONFIG_H
-
-#include "config_common.h"
+#pragma once
#define DEVICE_VER 0x0004
-
-#endif \ No newline at end of file
diff --git a/keyboards/planck/rev5/config.h b/keyboards/planck/rev5/config.h
index 696eda73bc..9369220780 100644
--- a/keyboards/planck/rev5/config.h
+++ b/keyboards/planck/rev5/config.h
@@ -1,8 +1,3 @@
-#ifndef REV5_CONFIG_H
-#define REV5_CONFIG_H
-
-#include "config_common.h"
+#pragma once
#define DEVICE_VER 0x0005
-
-#endif \ No newline at end of file