From b2fdb072e590ea06237dc5407ae1902fc15ce405 Mon Sep 17 00:00:00 2001 From: Uthol <83434905+Uthol@users.noreply.github.com> Date: Mon, 7 Mar 2022 20:01:47 -0700 Subject: [Keyboard] Uthol (#16393) Co-authored-by: Drashna Jaelre Co-authored-by: Ryan --- keyboards/handwired/uthol/rev2/config.h | 35 ++++++++++++++++++++++++++++++++ keyboards/handwired/uthol/rev2/readme.md | 4 ++++ keyboards/handwired/uthol/rev2/rules.mk | 15 ++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 keyboards/handwired/uthol/rev2/config.h create mode 100644 keyboards/handwired/uthol/rev2/readme.md create mode 100644 keyboards/handwired/uthol/rev2/rules.mk (limited to 'keyboards/handwired/uthol/rev2') diff --git a/keyboards/handwired/uthol/rev2/config.h b/keyboards/handwired/uthol/rev2/config.h new file mode 100644 index 0000000000..3ef6fc172c --- /dev/null +++ b/keyboards/handwired/uthol/rev2/config.h @@ -0,0 +1,35 @@ +/* + * Copyright 2022 Uthol + * + * 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" + +#define DEVICE_VER 0x0002 +#define PRODUCT_ID 0x67F3 +#define PRODUCT UtholTwo + +/* Uthol PCB default pin-out */ +#define MATRIX_ROW_PINS { B1, F7, F6, F5, F4 } +#define MATRIX_COL_PINS { D3, D2, D1, D0, D4, C6, D7, B5, B4, B6, B2, B3 } +#define UNUSED_PINS + +//RGB Stuff +#define RGB_DI_PIN E6 +#define RGBLED_NUM 39 +#define RGBLIGHT_ANIMATIONS +#define RGBLIGHT_DEFAULT_HUE 201 diff --git a/keyboards/handwired/uthol/rev2/readme.md b/keyboards/handwired/uthol/rev2/readme.md new file mode 100644 index 0000000000..080e02d310 --- /dev/null +++ b/keyboards/handwired/uthol/rev2/readme.md @@ -0,0 +1,4 @@ +Uthol +=== + +Rev 2 - Standard diff --git a/keyboards/handwired/uthol/rev2/rules.mk b/keyboards/handwired/uthol/rev2/rules.mk new file mode 100644 index 0000000000..63476766fd --- /dev/null +++ b/keyboards/handwired/uthol/rev2/rules.mk @@ -0,0 +1,15 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = caterina + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = yes +EXTRAKEY_ENABLE = yes +NKRO_ENABLE = yes +LTO_ENABLE = yes +RGBLIGHT_ENABLE = yes +RGBLIGHT_DRIVER = WS2812 -- cgit v1.2.3