diff options
-rw-r--r-- | keyboards/handwired/onekey/pytest/config.h | 23 | ||||
-rw-r--r-- | keyboards/handwired/onekey/pytest/readme.md | 3 | ||||
-rw-r--r-- | keyboards/handwired/onekey/pytest/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/handwired/onekey/pytest/templates/keymap.c | 1 | ||||
-rw-r--r-- | quantum/mcu_selection.mk | 15 |
5 files changed, 15 insertions, 29 deletions
diff --git a/keyboards/handwired/onekey/pytest/config.h b/keyboards/handwired/onekey/pytest/config.h deleted file mode 100644 index f6bedcfe64..0000000000 --- a/keyboards/handwired/onekey/pytest/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2019 - * - * 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" - -#define MATRIX_COL_PINS { A3 } -#define MATRIX_ROW_PINS { A2 } -#define UNUSED_PINS diff --git a/keyboards/handwired/onekey/pytest/readme.md b/keyboards/handwired/onekey/pytest/readme.md deleted file mode 100644 index dbbd991f1c..0000000000 --- a/keyboards/handwired/onekey/pytest/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# PyTest onekey - -This is used by the python test framework. It's probably not useful otherwise. diff --git a/keyboards/handwired/onekey/pytest/rules.mk b/keyboards/handwired/onekey/pytest/rules.mk deleted file mode 100644 index b17a3d0316..0000000000 --- a/keyboards/handwired/onekey/pytest/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# MCU name -MCU = STM32F303 diff --git a/keyboards/handwired/onekey/pytest/templates/keymap.c b/keyboards/handwired/onekey/pytest/templates/keymap.c deleted file mode 100644 index d355210c47..0000000000 --- a/keyboards/handwired/onekey/pytest/templates/keymap.c +++ /dev/null @@ -1 +0,0 @@ -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {__KEYMAP_GOES_HERE__}; diff --git a/quantum/mcu_selection.mk b/quantum/mcu_selection.mk index 1af0123e2b..5102010c7b 100644 --- a/quantum/mcu_selection.mk +++ b/quantum/mcu_selection.mk @@ -91,3 +91,18 @@ ifneq (,$(filter $(MCU),atmega32a)) # Programming options PROGRAM_CMD ?= ./util/atmega32a_program.py $(TARGET).hex endif + +ifneq (,$(filter $(MCU),atmega328p)) + PROTOCOL = VUSB + + # Processor frequency. + # This will define a symbol, F_CPU, in all source code files equal to the + # processor frequency in Hz. You can then use this symbol in your source code to + # calculate timings. Do NOT tack on a 'UL' at the end, this will be done + # automatically to create a 32-bit value in your source code. + F_CPU ?= 16000000 + + # unsupported features for now + NO_UART ?= yes + NO_SUSPEND_POWER_DOWN ?= yes +endif |