From 42977d25fc1445ff1fdc6372511ff9ba95741565 Mon Sep 17 00:00:00 2001 From: Spaceman Date: Fri, 30 Aug 2019 20:49:48 -0400 Subject: [Keyboard] add Pancake Keyboard (#6610) * Create readme.md * Add files via upload * Create readme.md * Add files via upload * Create readme.md * Add files via upload * Create readme.md * Add files via upload * Update keyboards/pancake/info.json Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/pancake/keymaps/default/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/pancake/keymaps/default/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/pancake/readme.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/pancake/keymaps/default/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/pancake/info.json Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/pancake/feather/rules.mk Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/pancake/promicro/rules.mk Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/pancake/keymaps/default/keymap.c Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update rules.mk * Update rules.mk * Update pancake.h --- keyboards/pancake/feather/config.h | 26 ++++++++++++++++++++++++++ keyboards/pancake/feather/readme.md | 1 + keyboards/pancake/feather/rules.mk | 26 ++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 keyboards/pancake/feather/config.h create mode 100644 keyboards/pancake/feather/readme.md create mode 100644 keyboards/pancake/feather/rules.mk (limited to 'keyboards/pancake/feather') diff --git a/keyboards/pancake/feather/config.h b/keyboards/pancake/feather/config.h new file mode 100644 index 0000000000..fbb175758b --- /dev/null +++ b/keyboards/pancake/feather/config.h @@ -0,0 +1,26 @@ +/* Copyright 2019 Sebastian Williams + * + * 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 . + */ +#pragma once +#include "config_common.h" + +/* Pancake default pinout */ +#define MATRIX_ROW_PINS { B5, D7, C6, D0 } +#define MATRIX_COL_PINS { C7, D6, B7, B6, F0, D2, D3, F1, F4, F5, F6, F7 } +#define UNUSED_PINS + +#define AdafruitBleResetPin D4 +#define AdafruitBleCSPin B4 +#define AdafruitBleIRQPin E6 \ No newline at end of file diff --git a/keyboards/pancake/feather/readme.md b/keyboards/pancake/feather/readme.md new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/keyboards/pancake/feather/readme.md @@ -0,0 +1 @@ + diff --git a/keyboards/pancake/feather/rules.mk b/keyboards/pancake/feather/rules.mk new file mode 100644 index 0000000000..085c87f8d5 --- /dev/null +++ b/keyboards/pancake/feather/rules.mk @@ -0,0 +1,26 @@ +# MCU name +MCU = atmega32u4 + +# Processor frequency. +F_CPU = 8000000 + +# Bootloader +BOOTLOADER = caterina + +# Build Options +# comment out to disable the options. +# + +BLUETOOTH = AdafruitBLE +BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) +MOUSEKEY_ENABLE = no # Mouse keys(+4700) +EXTRAKEY_ENABLE = no # Audio control and System control(+450) +CONSOLE_ENABLE = yes # Console for debug(+400) +COMMAND_ENABLE = yes # Commands for debug and configuration +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled +AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below +RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. + +LAYOUTS = ortho_4x12 planck_mit -- cgit v1.2.3