From 8978960a875b61d9e3de6ef0ca60d066e19e4fef Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 5 Aug 2022 00:41:29 +0100 Subject: Tidy up ez_maker (#17910) --- keyboards/ez_maker/directpins/teensy_lc/config.h | 23 ------------------- keyboards/ez_maker/directpins/teensy_lc/halconf.h | 27 ----------------------- keyboards/ez_maker/directpins/teensy_lc/mcuconf.h | 2 +- keyboards/ez_maker/directpins/teensy_lc/rules.mk | 1 - 4 files changed, 1 insertion(+), 52 deletions(-) delete mode 100644 keyboards/ez_maker/directpins/teensy_lc/config.h delete mode 100644 keyboards/ez_maker/directpins/teensy_lc/halconf.h (limited to 'keyboards/ez_maker/directpins/teensy_lc') diff --git a/keyboards/ez_maker/directpins/teensy_lc/config.h b/keyboards/ez_maker/directpins/teensy_lc/config.h deleted file mode 100644 index c487a84ab1..0000000000 --- a/keyboards/ez_maker/directpins/teensy_lc/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 . - */ - -#pragma once - -// i2c_master defines -#define I2C1_SCL_PIN B0 // A2 on pinout = B0 -#define I2C1_SDA_PIN B1 // A3 on pinout = B1 -#define I2C1_SCL_PAL_MODE PAL_MODE_ALTERNATIVE_2 -#define I2C1_SDA_PAL_MODE PAL_MODE_ALTERNATIVE_2 diff --git a/keyboards/ez_maker/directpins/teensy_lc/halconf.h b/keyboards/ez_maker/directpins/teensy_lc/halconf.h deleted file mode 100644 index bd9fe497f2..0000000000 --- a/keyboards/ez_maker/directpins/teensy_lc/halconf.h +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 . - */ - -/* - * This file was auto-generated by: - * `qmk chibios-confmigrate -i keyboards/ez_maker/onekey/teensy_lc/halconf.h -r platforms/chibios/common/configs/halconf.h` - */ - -#pragma once - -#define HAL_USE_I2C TRUE - -#include_next - diff --git a/keyboards/ez_maker/directpins/teensy_lc/mcuconf.h b/keyboards/ez_maker/directpins/teensy_lc/mcuconf.h index f73bec3dc3..ec7de16c97 100644 --- a/keyboards/ez_maker/directpins/teensy_lc/mcuconf.h +++ b/keyboards/ez_maker/directpins/teensy_lc/mcuconf.h @@ -45,7 +45,7 @@ /* * I2C driver settings */ -#define KINETIS_I2C_USE_I2C0 TRUE +#define KINETIS_I2C_USE_I2C0 FALSE #define KINETIS_I2C_I2C0_PRIORITY 4 #endif /* _MCUCONF_H_ */ diff --git a/keyboards/ez_maker/directpins/teensy_lc/rules.mk b/keyboards/ez_maker/directpins/teensy_lc/rules.mk index e04e843284..9803d8cc70 100644 --- a/keyboards/ez_maker/directpins/teensy_lc/rules.mk +++ b/keyboards/ez_maker/directpins/teensy_lc/rules.mk @@ -1,4 +1,3 @@ -# MCU name USE_CHIBIOS_CONTRIB = yes # Enter lower-power sleep mode when on the ChibiOS idle thread -- cgit v1.2.3