diff options
author | Joel Challis <git@zvecr.com> | 2022-08-05 00:41:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 00:41:29 +0100 |
commit | 8978960a875b61d9e3de6ef0ca60d066e19e4fef (patch) | |
tree | 19424a4fb2730c755e4476d51bf5b179bbc24155 /keyboards/ez_maker/directpins/teensy_32 | |
parent | efd3b1e0bd27a5330832ee2da31e4ffa656c8592 (diff) |
Tidy up ez_maker (#17910)
Diffstat (limited to 'keyboards/ez_maker/directpins/teensy_32')
-rw-r--r-- | keyboards/ez_maker/directpins/teensy_32/config.h | 23 | ||||
-rw-r--r-- | keyboards/ez_maker/directpins/teensy_32/halconf.h | 27 | ||||
-rw-r--r-- | keyboards/ez_maker/directpins/teensy_32/mcuconf.h | 2 | ||||
-rw-r--r-- | keyboards/ez_maker/directpins/teensy_32/rules.mk | 2 |
4 files changed, 3 insertions, 51 deletions
diff --git a/keyboards/ez_maker/directpins/teensy_32/config.h b/keyboards/ez_maker/directpins/teensy_32/config.h deleted file mode 100644 index c487a84ab1..0000000000 --- a/keyboards/ez_maker/directpins/teensy_32/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 - -// 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_32/halconf.h b/keyboards/ez_maker/directpins/teensy_32/halconf.h deleted file mode 100644 index 9ba6e8fc31..0000000000 --- a/keyboards/ez_maker/directpins/teensy_32/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 <http://www.gnu.org/licenses/>. - */ - -/* - * This file was auto-generated by: - * `qmk chibios-confmigrate -i keyboards/ez_maker/onekey/teensy_32/halconf.h -r platforms/chibios/common/configs/halconf.h` - */ - -#pragma once - -#define HAL_USE_I2C TRUE - -#include_next <halconf.h> - diff --git a/keyboards/ez_maker/directpins/teensy_32/mcuconf.h b/keyboards/ez_maker/directpins/teensy_32/mcuconf.h index 327f5c9aa3..4d96941426 100644 --- a/keyboards/ez_maker/directpins/teensy_32/mcuconf.h +++ b/keyboards/ez_maker/directpins/teensy_32/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_32/rules.mk b/keyboards/ez_maker/directpins/teensy_32/rules.mk index a92b099328..9803d8cc70 100644 --- a/keyboards/ez_maker/directpins/teensy_32/rules.mk +++ b/keyboards/ez_maker/directpins/teensy_32/rules.mk @@ -1,2 +1,4 @@ +USE_CHIBIOS_CONTRIB = yes + # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |