-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
782 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* 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/noll/ecosteno/chconf.h -r platforms/chibios/common/configs/chconf.h` | ||
*/ | ||
|
||
#pragma once | ||
|
||
#define CH_CFG_ST_TIMEDELTA 0 | ||
|
||
#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE | ||
|
||
#include_next <chconf.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* Copyright 2021 Nathan Olivares | ||
* | ||
* 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 | ||
|
||
/* USB Device descriptor parameter */ | ||
#define VENDOR_ID 0xFEED // recommended by QMK | ||
#define PRODUCT_ID 0x3622 | ||
#define DEVICE_VER 0x0100 | ||
#define MANUFACTURER Noll Electronics LLC | ||
#define PRODUCT Nolltronics Multisteno | ||
|
||
/* key matrix size */ | ||
#define MATRIX_ROWS 4 | ||
#define MATRIX_COLS 12 | ||
|
||
#define MATRIX_COL_PINS { B15, B14, B13, B12, B1, B0, B9, B6, B5, B4, B3, A15 } | ||
#define MATRIX_ROW_PINS { B8, B7, A7, A6 } | ||
#define DIODE_DIRECTION COL2ROW | ||
|
||
/* Set 0 if debouncing isn't needed */ | ||
#define DEBOUNCE 5 | ||
|
||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
#define LOCKING_SUPPORT_ENABLE | ||
|
||
/* Locking resynchronize hack */ | ||
#define LOCKING_RESYNC_ENABLE | ||
|
||
#define COMBO_COUNT 40 // 42 with uppers, 21 without | ||
#define TAPPING_TERM 137 | ||
#define COMBO_TERM 35 | ||
#define FORCE_NKRO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* 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/noll/ecosteno/chconf.h -r platforms/chibios/common/configs/halconf.h` | ||
*/ | ||
|
||
#pragma once | ||
|
||
// I don't think anything needs to be here | ||
|
||
#include_next <halconf.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#include <ch.h> | ||
#include <hal.h> | ||
#include "util.h" | ||
#include "quantum.h" | ||
|
||
#ifdef BOARD_STM32_F103_STM32DUINO | ||
|
||
// this is fairly unnecessary | ||
#define RED_LED_OFF() do { palClearPad(GPIOA, 0) ;} while (0) // GPIOA1 is right green LED | ||
#define RED_LED_ON() do { palSetPad(GPIOA, 0); } while (0) | ||
#define RED_LED_TGL() do { palTogglePad(GPIOA, 0); } while (0) | ||
|
||
#define GREEN_LED_OFF() do { palClearPad(GPIOA, 1) ;} while (0) // GPIOA1 is right green LED | ||
#define GREEN_LED_ON() do { palSetPad(GPIOA, 1); } while (0) | ||
#define GREEN_LED_TGL() do { palTogglePad(GPIOA, 1); } while (0) | ||
|
||
#else | ||
#define LED_ON() | ||
#define LED_OFF() | ||
#define LED_TGL() | ||
#endif | ||
|
||
void keyboard_pre_init_user(void){ | ||
|
||
// Initialize LED pins to correct setting | ||
palSetPadMode(GPIOA, 0, PAL_MODE_OUTPUT_PUSHPULL); // 6U correct | ||
palSetPadMode(GPIOA, 1, PAL_MODE_OUTPUT_PUSHPULL); // 6U correct | ||
|
||
} | ||
|
||
void matrix_init_kb(void){ | ||
|
||
RED_LED_ON(); | ||
GREEN_LED_ON(); | ||
wait_ms(500); | ||
RED_LED_OFF(); | ||
//GREEN_LED_OFF(); | ||
|
||
} |
Oops, something went wrong.