Updated for both versions

This should now work with the newest version of QMK and be able to flash both board versions (1.0.1X and 1.1.X) with a slight modification to config.h
This commit is contained in:
Nathan Olivares 2022-11-10 21:16:06 -05:00
parent 7c2410d288
commit f1615aab52
12 changed files with 19 additions and 110 deletions

View file

@ -1,4 +1,4 @@
/* Copyright 2021 Nathan Olivares
/* Copyright 2022 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
@ -19,18 +19,20 @@
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED // recommended by QMK
#define PRODUCT_ID 0x3621
#define DEVICE_VER 0x0100
#define DEVICE_VER 0x0112
#define MANUFACTURER Noll Electronics LLC
#define PRODUCT EcoSteno
#define PRODUCT Ecosteno
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12
//#define MATRIX_COL_PINS { B15, B14, B13, B12, B11, B10, B9, B8, B7, B6, B5, B4 } // old 0.12
#define MATRIX_COL_PINS { B15, B14, B13, B12, B1, B0, B9, B8, B7, B6, B5, B4 } // gd
//#define MATRIX_ROW_PINS { A15, B3, B1, B0 } // old 0.12
#define MATRIX_ROW_PINS { A15, B3, A7, A6 } // current 0.16
/* This is for the pink switched versions, 1.1.X */
#define MATRIX_COL_PINS { B15, B14, B13, B12, B1, B0, B9, B6, B5, B4, B3, A15 }
#define MATRIX_ROW_PINS { B8, B7, A7, A6 }
/* This is for the blue switched versions, 1.0.1X */
// #define MATRIX_COL_PINS { B15, B14, B13, B12, B1, B0, B9, B8, B7, B6, B5, B4 }
// #define MATRIX_ROW_PINS { A15, B3, A7, A6 }
#define DIODE_DIRECTION COL2ROW
/* Set 0 if debouncing isn't needed */

View file

@ -1,4 +1,4 @@
/* Copyright 2021 Nathan Olivares
/* Copyright 2022 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

View file

@ -1,4 +1,4 @@
/* Copyright 2021 Nathan Olivares
/* Copyright 2022 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

View file

@ -21,6 +21,6 @@
#pragma once
// I don't think I need anything?
// I don't think I need anything here
#include_next <halconf.h>

View file

@ -1,4 +1,4 @@
/* Copyright 2021 Nathan Olivares
/* Copyright 2022 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
@ -467,10 +467,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
void matrix_init_user(void) {
steno_set_mode(STENO_MODE_BOLT); // STENO_MODE_GEMINI or STENO_MODE_BOLT
//steno_set_mode(STENO_MODE_GEMINI);
// STENO_MODE_GEMINI only works if you remove references to TX Bolt in QMK
// follow ecosteno-geminipr.diff to do this (thanks to dnaq in the Plover discord)
// this shouldn't be needed in modern versions of QMK
};
layer_state_t layer_state_set_user(layer_state_t state) {

View file

@ -1,10 +1,10 @@
EcoSteno
Ecosteno
===
![EcoSteno](https://nolltronics.com/wp-content/uploads/2021/04/Noll-Steno-Front-Angle.jpg)
![Ecosteno](https://nolltronics.com/wp-content/uploads/2021/04/Noll-Steno-Front-Angle.jpg)
* Keyboard Maintainer: [Nathan Olivares](https://github.com/nkotech)
* Hardware Supported: EcoSteno v1.0.1X and v1.0.2X
* Hardware Supported: Ecosteno v1.1.X with pink switches and V1.0.1X with blue switches
* Hardware Availability: [Nolltronics](https://nolltronics.com/product/ecosteno)
Make example for this keyboard (after setting up your build environment):
@ -19,4 +19,4 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to
[Here's a quick video demonstrating how to flash firmware onto the ecosteno](https://youtu.be/dqeZ40PPEW4)
The steno protocol currently included in this project is TX Bolt. I'm not entirely sure why getting Gemini PR to work isn't as simple as changing steno_set_mode(STENO_MODE_GEMINI) in keymap.c, but for now, if you want to compile ecosteno firmware that works with Gemini PR, you'll need to remove some references to TX Bolt by following ecosteno-geminipr.diff in EcoSteno-Firmware/keyboards/noll/ (thanks to dnaq in the Plover discord).
V1.1.X and V1.0.1X have different pinouts, but the only file this affects is config.h . It's set up to work with the newer 1.1.X boards, but all you have to do to build firmware for 1.0.1X boards is comment out the MATRIX_COL_PINS and MATRIX_ROW_PINS for the 1.1.X and uncomment the lines for the 1.0.1X.

View file

@ -16,4 +16,5 @@ SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
NKRO_ENABLE = yes # USB Nkey Rollover
COMBO_ENABLE = yes # Enable Key Combos
STENO_ENABLE = yes # Stenography keys
STENO_PROTOCOL = geminipr # Can be geminipr or txbolt
MOUSEKEY_ENABLE = no # Mouse keys