aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/treadstone48/config.h
diff options
context:
space:
mode:
authormarksard <38324387+marksard@users.noreply.github.com>2019-04-04 14:56:22 +0900
committerDrashna Jaelre <drashna@live.com>2019-04-03 22:56:22 -0700
commitdebd902a3d5788beab8580a26c84d7db2365a638 (patch)
tree5d45358a2655fbbd2d5ecd5941a5fad61de5fd51 /keyboards/treadstone48/config.h
parent4f4fad83737546db6dd04af9e26320ef7d0610dd (diff)
downloadfirmware-debd902a3d5788beab8580a26c84d7db2365a638.tar.gz
firmware-debd902a3d5788beab8580a26c84d7db2365a638.tar.bz2
firmware-debd902a3d5788beab8580a26c84d7db2365a638.zip
[Keyboard] add treeadstone48 (#5405)
* Keyboard: add treeadstone48 * rename layout defines * Use of pragma once * move common include code * fixed info.json * change keymap layout from kc to normal * fix alpha revision keymap * fixed info.json * remove USE_Link_Time_Optimization
Diffstat (limited to 'keyboards/treadstone48/config.h')
-rw-r--r--keyboards/treadstone48/config.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/keyboards/treadstone48/config.h b/keyboards/treadstone48/config.h
new file mode 100644
index 000000000..2e571e269
--- /dev/null
+++ b/keyboards/treadstone48/config.h
@@ -0,0 +1,43 @@
+/*
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+Copyright 2015 Jack Humbert
+
+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 <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+
+#include "config_common.h"
+
+// GCC include 'config.h" sequence in qmk_firmware/keyboards/treadstone48/
+// -include keyboards/treadstone48/config.h
+// -include keyboards/treadstone48/rev?/config.h
+// -include keyboards/treadstone48/rev?/keymaps/MAPNAME/config.h
+// XXXX.c
+
+#include <serial_config.h>
+
+// GCC include search path in qmk_firmare/keyboards/treadstone48/
+// #include "..." search starts here:
+// #include <...> search starts here:
+// keyboards/treadstone48/rev?/keymaps/MAPNAME
+// keyboards/treadstone48
+// keyboards/treadstone48/rev?
+// .
+// ./tmk_core
+// ......
+
+// MACRO and FUNCTION are features that are depreciated.
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION