From db8d68acdcdb009fc2a9d773a7d2c07992a46933 Mon Sep 17 00:00:00 2001 From: Jordi Pakey-Rodriguez Date: Sat, 15 Dec 2018 21:15:56 -0600 Subject: [PATCH] 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 diff --git a/keyboards/planck/rev1/config.h b/keyboards/planck/rev1/config.h new file mode 100644 index 0000000000000000000000000000000000000000..397887a73f394a8717162d277512a9bd04ca3cb0 --- /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 0000000000000000000000000000000000000000..e51af55c6686dcf4faa74a3adde78754fc536fac --- /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 0000000000000000000000000000000000000000..bed78bca3f0a8fd40f4dcda96f278ccc7ea376c0 --- /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 0000000000000000000000000000000000000000..e51af55c6686dcf4faa74a3adde78754fc536fac --- /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 45e60962ba5eef56db838dd2131baf2d1ecaf0a5..fd6f0460e56d30dd9200fc7fcca247ac90a6cec0 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 4ff7649fb585d8df904493115f7c0e9ffd691866..572852bbf0cfb9ef6a32a7523ad8e442747084d6 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 696eda73bce6bf59d8894a978215e2163e0d08ed..93692207805ac72a6148a567a3ee600f99be3151 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