From db8d68acdcdb009fc2a9d773a7d2c07992a46933 Mon Sep 17 00:00:00 2001 From: Jordi Pakey-Rodriguez Date: Sat, 15 Dec 2018 21:15:56 -0600 Subject: Add Planck rev1 and rev2, clean up rev3-5 config.h --- keyboards/planck/rev1/config.h | 3 +++ keyboards/planck/rev1/rules.mk | 1 + keyboards/planck/rev2/config.h | 3 +++ keyboards/planck/rev2/rules.mk | 1 + keyboards/planck/rev3/config.h | 7 +------ keyboards/planck/rev4/config.h | 7 +------ keyboards/planck/rev5/config.h | 7 +------ 7 files changed, 11 insertions(+), 18 deletions(-) create mode 100644 keyboards/planck/rev1/config.h create mode 100644 keyboards/planck/rev1/rules.mk create mode 100644 keyboards/planck/rev2/config.h create mode 100644 keyboards/planck/rev2/rules.mk (limited to 'keyboards/planck') diff --git a/keyboards/planck/rev1/config.h b/keyboards/planck/rev1/config.h new file mode 100644 index 000000000..397887a73 --- /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 000000000..e51af55c6 --- /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 000000000..bed78bca3 --- /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 000000000..e51af55c6 --- /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 45e60962b..fd6f0460e 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 4ff7649fb..572852bbf 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 696eda73b..936922078 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 -- cgit v1.2.3-24-g4f1b