mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
Merge branch 'develop' into core/keycode_string
This commit is contained in:
commit
b5613875e5
@ -117,7 +117,9 @@ If yes, we send the string `"QMK is the best thing ever!"` to the computer via t
|
|||||||
We return `true` to indicate to the caller that the key press we just processed should continue to be processed as normal (as we didn't replace or alter the functionality).
|
We return `true` to indicate to the caller that the key press we just processed should continue to be processed as normal (as we didn't replace or alter the functionality).
|
||||||
Finally, we define the keymap so that the first button activates our macro and the second button is just an escape button.
|
Finally, we define the keymap so that the first button activates our macro and the second button is just an escape button.
|
||||||
|
|
||||||
?>It is recommended to use the SAFE_RANGE macro as per [Customizing Functionality](custom_quantum_functions).
|
::: tip
|
||||||
|
It is recommended to use the SAFE_RANGE macro as per [Customizing Functionality](custom_quantum_functions).
|
||||||
|
:::
|
||||||
|
|
||||||
You might want to add more than one macro.
|
You might want to add more than one macro.
|
||||||
You can do that by adding another keycode and adding another case to the switch statement, like so:
|
You can do that by adding another keycode and adding another case to the switch statement, like so:
|
||||||
|
@ -74,8 +74,9 @@ Additionally, `config.h` here will be processed like the same file in your keyma
|
|||||||
|
|
||||||
The reason for this, is that `<name>.h` won't be added in time to add settings (such as `#define TAPPING_TERM 100`), and including the `<name.h>` file in any `config.h` files will result in compile issues.
|
The reason for this, is that `<name>.h` won't be added in time to add settings (such as `#define TAPPING_TERM 100`), and including the `<name.h>` file in any `config.h` files will result in compile issues.
|
||||||
|
|
||||||
!>You should use the `config.h` for [configuration options](config_options), and the `<name>.h` file for user or keymap specific settings (such as the enum for layer or keycodes)
|
::: warning
|
||||||
|
You should use the `config.h` for [configuration options](config_options), and the `<name>.h` file for user or keymap specific settings (such as the enum for layer or keycodes)
|
||||||
|
:::
|
||||||
|
|
||||||
## Readme (`readme.md`)
|
## Readme (`readme.md`)
|
||||||
|
|
||||||
|
@ -214,7 +214,9 @@ When additional overlapping mouse key is pressed, the mouse cursor will continue
|
|||||||
|`MOUSEKEY_OVERLAP_WHEEL_DELTA`|`MOUSEKEY_WHEEL_DELTA`|Step size of reset mouse wheel acceleration |
|
|`MOUSEKEY_OVERLAP_WHEEL_DELTA`|`MOUSEKEY_WHEEL_DELTA`|Step size of reset mouse wheel acceleration |
|
||||||
|`MOUSEKEY_OVERLAP_INTERVAL` |`MOUSEKEY_INTERVAL` |Reset time between cursor movements in milliseconds (Kinetic mode only)|
|
|`MOUSEKEY_OVERLAP_INTERVAL` |`MOUSEKEY_INTERVAL` |Reset time between cursor movements in milliseconds (Kinetic mode only)|
|
||||||
|
|
||||||
?> This feature will not be applied on Inertial mode
|
::: tip
|
||||||
|
This feature will not be applied on Inertial mode
|
||||||
|
:::
|
||||||
|
|
||||||
## Use with PS/2 Mouse and Pointing Device
|
## Use with PS/2 Mouse and Pointing Device
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
The Mod-Tap key `MT(mod, kc)` acts like a modifier when held, and a regular keycode when tapped. In other words, you can have a key that sends Escape when you tap it, but functions as a Control or Shift key when you hold it down.
|
The Mod-Tap key `MT(mod, kc)` acts like a modifier when held, and a regular keycode when tapped. In other words, you can have a key that sends Escape when you tap it, but functions as a Control or Shift key when you hold it down.
|
||||||
|
|
||||||
The modifiers this keycode and `OSM()` accept are prefixed with `MOD_`, not `KC_`:
|
The modifiers (`mod`) argument to the `MT()` macro are prefixed with `MOD_`, not `KC_`:
|
||||||
|
|
||||||
|Modifier |Description |
|
|Modifier |Description |
|
||||||
|----------|----------------------------------------|
|
|----------|----------------------------------------|
|
||||||
|
@ -122,7 +122,7 @@ void apa102_init(void) {
|
|||||||
gpio_set_pin_output(APA102_CI_PIN);
|
gpio_set_pin_output(APA102_CI_PIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
void apa102_set_color(uint16_t index, uint8_t red, uint8_t green, uint8_t blue) {
|
void apa102_set_color(int index, uint8_t red, uint8_t green, uint8_t blue) {
|
||||||
apa102_leds[index].r = red;
|
apa102_leds[index].r = red;
|
||||||
apa102_leds[index].g = green;
|
apa102_leds[index].g = green;
|
||||||
apa102_leds[index].b = blue;
|
apa102_leds[index].b = blue;
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#define APA102_MAX_BRIGHTNESS 31
|
#define APA102_MAX_BRIGHTNESS 31
|
||||||
|
|
||||||
void apa102_init(void);
|
void apa102_init(void);
|
||||||
void apa102_set_color(uint16_t index, uint8_t red, uint8_t green, uint8_t blue);
|
void apa102_set_color(int index, uint8_t red, uint8_t green, uint8_t blue);
|
||||||
void apa102_set_color_all(uint8_t red, uint8_t green, uint8_t blue);
|
void apa102_set_color_all(uint8_t red, uint8_t green, uint8_t blue);
|
||||||
void apa102_flush(void);
|
void apa102_flush(void);
|
||||||
|
|
||||||
|
22
keyboards/beekeeb/3w6hs/config.h
Normal file
22
keyboards/beekeeb/3w6hs/config.h
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
// Copyright 2023 beekeeb
|
||||||
|
// Copyright 2021 weteor
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
/* key matrix size */
|
||||||
|
#define MATRIX_ROWS 8
|
||||||
|
#define MATRIX_COLS 10
|
||||||
|
|
||||||
|
#define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2)
|
||||||
|
#define MATRIX_COLS_PER_SIDE (MATRIX_COLS / 2)
|
||||||
|
|
||||||
|
#define MATRIX_ROW_PINS_L { GP7, GP8, GP9, GP10}
|
||||||
|
#define MATRIX_COL_PINS_L { GP11, GP12, GP13, GP14, GP15 }
|
||||||
|
|
||||||
|
#define MATRIX_ROW_PINS_R { P10, P11, P12, P05 }
|
||||||
|
#define MATRIX_COL_PINS_R { P06, P13, P14, P01, P00 }
|
||||||
|
|
||||||
|
#define I2C_DRIVER I2CD0
|
||||||
|
#define I2C1_SDA_PIN GP0
|
||||||
|
#define I2C1_SCL_PIN GP1
|
22
keyboards/beekeeb/3w6hs/halconf.h
Normal file
22
keyboards/beekeeb/3w6hs/halconf.h
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/* Copyright 2023 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 3 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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define HAL_USE_I2C TRUE
|
||||||
|
|
||||||
|
#include_next <halconf.h>
|
||||||
|
|
69
keyboards/beekeeb/3w6hs/info.json
Normal file
69
keyboards/beekeeb/3w6hs/info.json
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
{
|
||||||
|
"manufacturer": "beekeeb",
|
||||||
|
"keyboard_name": "3w6hs",
|
||||||
|
"maintainer": "beekeeb",
|
||||||
|
"diode_direction": "COL2ROW",
|
||||||
|
"usb": {
|
||||||
|
"device_version": "1.0.0",
|
||||||
|
"pid": "0x0003",
|
||||||
|
"vid": "0xBEEB",
|
||||||
|
"no_startup_check": true
|
||||||
|
},
|
||||||
|
"processor": "RP2040",
|
||||||
|
"bootloader": "rp2040",
|
||||||
|
"features": {
|
||||||
|
"bootmagic": true,
|
||||||
|
"mousekey": true,
|
||||||
|
"extrakey": true
|
||||||
|
},
|
||||||
|
"community_layouts": ["split_3x5_3"],
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT_split_3x5_3": {
|
||||||
|
"layout": [
|
||||||
|
{"matrix": [0, 0], "x": 0, "y": 0.8},
|
||||||
|
{"matrix": [0, 1], "x": 1, "y": 0.2},
|
||||||
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
|
{"matrix": [0, 3], "x": 3, "y": 0.2},
|
||||||
|
{"matrix": [0, 4], "x": 4, "y": 0.4},
|
||||||
|
|
||||||
|
{"matrix": [4, 0], "x": 8, "y": 0.4},
|
||||||
|
{"matrix": [4, 1], "x": 9, "y": 0.2},
|
||||||
|
{"matrix": [4, 2], "x": 10, "y": 0},
|
||||||
|
{"matrix": [4, 3], "x": 11, "y": 0.2},
|
||||||
|
{"matrix": [4, 4], "x": 12, "y": 0.8},
|
||||||
|
|
||||||
|
{"matrix": [1, 0], "x": 0, "y": 1.8},
|
||||||
|
{"matrix": [1, 1], "x": 1, "y": 1.2},
|
||||||
|
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||||
|
{"matrix": [1, 3], "x": 3, "y": 1.2},
|
||||||
|
{"matrix": [1, 4], "x": 4, "y": 1.4},
|
||||||
|
|
||||||
|
{"matrix": [5, 0], "x": 8, "y": 1.4},
|
||||||
|
{"matrix": [5, 1], "x": 9, "y": 1.2},
|
||||||
|
{"matrix": [5, 2], "x": 10, "y": 1},
|
||||||
|
{"matrix": [5, 3], "x": 11, "y": 1.2},
|
||||||
|
{"matrix": [5, 4], "x": 12, "y": 1.8},
|
||||||
|
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 2.8},
|
||||||
|
{"matrix": [2, 1], "x": 1, "y": 2.2},
|
||||||
|
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||||
|
{"matrix": [2, 3], "x": 3, "y": 2.2},
|
||||||
|
{"matrix": [2, 4], "x": 4, "y": 2.4},
|
||||||
|
|
||||||
|
{"matrix": [6, 0], "x": 8, "y": 2.4},
|
||||||
|
{"matrix": [6, 1], "x": 9, "y": 2.2},
|
||||||
|
{"matrix": [6, 2], "x": 10, "y": 2},
|
||||||
|
{"matrix": [6, 3], "x": 11, "y": 2.2},
|
||||||
|
{"matrix": [6, 4], "x": 12, "y": 2.8},
|
||||||
|
|
||||||
|
{"matrix": [3, 2], "x": 3.2, "y": 3.6},
|
||||||
|
{"matrix": [3, 3], "x": 4.2, "y": 3.6},
|
||||||
|
{"matrix": [3, 4], "x": 5.2, "y": 3.8},
|
||||||
|
|
||||||
|
{"matrix": [7, 0], "x": 6.8, "y": 3.8},
|
||||||
|
{"matrix": [7, 1], "x": 7.8, "y": 3.6},
|
||||||
|
{"matrix": [7, 2], "x": 8.8, "y": 3.6}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
68
keyboards/beekeeb/3w6hs/keymaps/default/keymap.c
Normal file
68
keyboards/beekeeb/3w6hs/keymaps/default/keymap.c
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
/* Copyright 2021 weteor
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
enum layers {
|
||||||
|
_ALPHA_QWERTY,
|
||||||
|
_ALPHA_COLEMAK,
|
||||||
|
_SYM,
|
||||||
|
_NAV,
|
||||||
|
_NUM,
|
||||||
|
_CFG,
|
||||||
|
};
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
|
||||||
|
[_ALPHA_QWERTY] = LAYOUT_split_3x5_3(
|
||||||
|
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
|
||||||
|
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
|
||||||
|
LSFT_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH),
|
||||||
|
|
||||||
|
LCTL_T(KC_ESC), LT(_NUM,KC_SPC), LT(_NAV, KC_TAB), LT(_SYM, KC_BSPC), KC_ENT, LALT_T(KC_DEL)
|
||||||
|
),
|
||||||
|
[_ALPHA_COLEMAK] = LAYOUT_split_3x5_3(
|
||||||
|
KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_QUOT,
|
||||||
|
KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O,
|
||||||
|
LSFT_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SCLN),
|
||||||
|
LCTL_T(KC_ENT), LT(_NUM,KC_SPC), LT(_NAV, KC_TAB), LT(_SYM, KC_BSPC), KC_ENT, LALT_T(KC_DEL)
|
||||||
|
),
|
||||||
|
[_SYM] = LAYOUT_split_3x5_3(
|
||||||
|
KC_GRV , KC_CIRC, KC_AT, KC_DLR, KC_TILD, KC_AMPR, KC_EXLM, KC_PIPE, KC_UNDS, KC_HASH,
|
||||||
|
KC_SLSH, KC_LBRC, KC_LCBR, KC_LPRN, KC_EQL, KC_ASTR, KC_RPRN, KC_RCBR, KC_RBRC, KC_BSLS,
|
||||||
|
_______, KC_QUES, KC_PLUS, KC_PERC, XXXXXXX, XXXXXXX, XXXXXXX, KC_MINS, XXXXXXX, _______,
|
||||||
|
XXXXXXX, MO(_CFG), XXXXXXX, _______, XXXXXXX, XXXXXXX
|
||||||
|
),
|
||||||
|
[_NAV] = LAYOUT_split_3x5_3(
|
||||||
|
XXXXXXX, KC_VOLD, KC_MUTE, KC_VOLU, XXXXXXX, XXXXXXX, KC_PGDN, KC_UP, KC_PGUP, KC_DEL,
|
||||||
|
KC_MPRV, KC_MPLY, KC_MSTP, KC_MNXT, XXXXXXX, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
XXXXXXX, XXXXXXX, _______, XXXXXXX, MO(_CFG), XXXXXXX
|
||||||
|
),
|
||||||
|
[_NUM] = LAYOUT_split_3x5_3(
|
||||||
|
XXXXXXX, KC_F9, KC_F10, KC_F11, KC_F12, KC_PPLS, KC_P7, KC_P8, KC_P9, KC_PSLS,
|
||||||
|
XXXXXXX, KC_F5, KC_F6, KC_F7, KC_F8, KC_P0, KC_P4, KC_P5, KC_P6, KC_PDOT,
|
||||||
|
XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F4, KC_PMNS, KC_P1, KC_P2, KC_P3, KC_PAST,
|
||||||
|
XXXXXXX, _______, XXXXXXX, KC_PEQL, KC_PENT, XXXXXXX
|
||||||
|
),
|
||||||
|
[_CFG] = LAYOUT_split_3x5_3(
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,DF(_ALPHA_QWERTY), DF(_ALPHA_COLEMAK),
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
XXXXXXX, _______, XXXXXXX, XXXXXXX, _______, XXXXXXX
|
||||||
|
),
|
||||||
|
};
|
248
keyboards/beekeeb/3w6hs/matrix.c
Normal file
248
keyboards/beekeeb/3w6hs/matrix.c
Normal file
@ -0,0 +1,248 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com>
|
||||||
|
2020 Pierre Chevalier <pierrechevalier83@gmail.com>
|
||||||
|
2021 weteor
|
||||||
|
2023 beekeeb
|
||||||
|
*/
|
||||||
|
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This code was heavily inspired by the ergodox_ez keymap, and modernized
|
||||||
|
* to take advantage of the quantum.h microcontroller agnostics gpio control
|
||||||
|
* abstractions and use the macros defined in config.h for the wiring as opposed
|
||||||
|
* to repeating that information all over the place.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "matrix.h"
|
||||||
|
#include "debug.h"
|
||||||
|
#include "wait.h"
|
||||||
|
#include "i2c_master.h"
|
||||||
|
|
||||||
|
extern i2c_status_t tca9555_status;
|
||||||
|
//#define I2C_TIMEOUT 1000
|
||||||
|
|
||||||
|
// I2C address:
|
||||||
|
// All address pins of the tca9555 are connected to the ground
|
||||||
|
// | 0 | 1 | 0 | 0 | A2 | A1 | A0 |
|
||||||
|
// | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
|
||||||
|
#define I2C_ADDR (0b0100000 << 1)
|
||||||
|
|
||||||
|
// Register addresses
|
||||||
|
#define IODIRA 0x06 // i/o direction register
|
||||||
|
#define IODIRB 0x07
|
||||||
|
#define IREGP0 0x00 // GPIO pull-up resistor register
|
||||||
|
#define IREGP1 0x01
|
||||||
|
#define OREGP0 0x02 // general purpose i/o port register (write modifies OLAT)
|
||||||
|
#define OREGP1 0x03
|
||||||
|
|
||||||
|
bool i2c_initialized = 0;
|
||||||
|
i2c_status_t tca9555_status = I2C_ADDR;
|
||||||
|
|
||||||
|
uint8_t init_tca9555(void) {
|
||||||
|
dprint("starting init\n");
|
||||||
|
tca9555_status = I2C_ADDR;
|
||||||
|
|
||||||
|
// I2C subsystem
|
||||||
|
if (i2c_initialized == 0) {
|
||||||
|
i2c_init(); // on pins D(1,0)
|
||||||
|
i2c_initialized = true;
|
||||||
|
wait_ms(I2C_TIMEOUT);
|
||||||
|
}
|
||||||
|
|
||||||
|
// set pin direction
|
||||||
|
// - unused : input : 1
|
||||||
|
// - input : input : 1
|
||||||
|
// - driving : output : 0
|
||||||
|
uint8_t conf[2] = {
|
||||||
|
// This means: read all pins of port 0
|
||||||
|
0b11111111,
|
||||||
|
// This means: we will write on pins 0 to 3 on port 1. read rest
|
||||||
|
0b11110000,
|
||||||
|
};
|
||||||
|
tca9555_status = i2c_write_register(I2C_ADDR, IODIRA, conf, 2, I2C_TIMEOUT);
|
||||||
|
|
||||||
|
return tca9555_status;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* matrix state(1:on, 0:off) */
|
||||||
|
static matrix_row_t matrix[MATRIX_ROWS]; // debounced values
|
||||||
|
|
||||||
|
static matrix_row_t read_cols(uint8_t row);
|
||||||
|
static void init_cols(void);
|
||||||
|
static void unselect_rows(void);
|
||||||
|
static void select_row(uint8_t row);
|
||||||
|
|
||||||
|
static uint8_t tca9555_reset_loop;
|
||||||
|
|
||||||
|
void matrix_init_custom(void) {
|
||||||
|
// initialize row and col
|
||||||
|
|
||||||
|
tca9555_status = init_tca9555();
|
||||||
|
|
||||||
|
unselect_rows();
|
||||||
|
init_cols();
|
||||||
|
|
||||||
|
// initialize matrix state: all keys off
|
||||||
|
for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
|
||||||
|
matrix[i] = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void matrix_power_up(void) {
|
||||||
|
tca9555_status = init_tca9555();
|
||||||
|
|
||||||
|
unselect_rows();
|
||||||
|
init_cols();
|
||||||
|
|
||||||
|
// initialize matrix state: all keys off
|
||||||
|
for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
|
||||||
|
matrix[i] = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Reads and stores a row, returning
|
||||||
|
// whether a change occurred.
|
||||||
|
static inline bool store_matrix_row(matrix_row_t current_matrix[], uint8_t index) {
|
||||||
|
matrix_row_t temp = read_cols(index);
|
||||||
|
if (current_matrix[index] != temp) {
|
||||||
|
current_matrix[index] = temp;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
||||||
|
if (tca9555_status) { // if there was an error
|
||||||
|
if (++tca9555_reset_loop == 0) {
|
||||||
|
// since tca9555_reset_loop is 8 bit - we'll try to reset once in 255 matrix scans
|
||||||
|
// this will be approx bit more frequent than once per second
|
||||||
|
dprint("trying to reset tca9555\n");
|
||||||
|
tca9555_status = init_tca9555();
|
||||||
|
if (tca9555_status) {
|
||||||
|
dprint("right side not responding\n");
|
||||||
|
} else {
|
||||||
|
dprint("right side attached\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool changed = false;
|
||||||
|
for (uint8_t i = 0; i < MATRIX_ROWS_PER_SIDE; i++) {
|
||||||
|
// select rows from left and right hands
|
||||||
|
uint8_t left_index = i;
|
||||||
|
uint8_t right_index = i + MATRIX_ROWS_PER_SIDE;
|
||||||
|
select_row(left_index);
|
||||||
|
select_row(right_index);
|
||||||
|
|
||||||
|
// we don't need a 30us delay anymore, because selecting a
|
||||||
|
// left-hand row requires more than 30us for i2c.
|
||||||
|
|
||||||
|
changed |= store_matrix_row(current_matrix, left_index);
|
||||||
|
changed |= store_matrix_row(current_matrix, right_index);
|
||||||
|
|
||||||
|
unselect_rows();
|
||||||
|
}
|
||||||
|
|
||||||
|
return changed;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void init_cols(void) {
|
||||||
|
// init on tca9555
|
||||||
|
// not needed, already done as part of init_tca9555()
|
||||||
|
|
||||||
|
// init on mcu
|
||||||
|
pin_t matrix_col_pins_mcu[MATRIX_COLS_PER_SIDE] = MATRIX_COL_PINS_L;
|
||||||
|
for (int pin_index = 0; pin_index < MATRIX_COLS_PER_SIDE; pin_index++) {
|
||||||
|
pin_t pin = matrix_col_pins_mcu[pin_index];
|
||||||
|
gpio_set_pin_input_high(pin);
|
||||||
|
gpio_write_pin_high(pin);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static matrix_row_t read_cols(uint8_t row) {
|
||||||
|
if (row < MATRIX_ROWS_PER_SIDE) {
|
||||||
|
pin_t matrix_col_pins_mcu[MATRIX_COLS_PER_SIDE] = MATRIX_COL_PINS_L;
|
||||||
|
matrix_row_t current_row_value = 0;
|
||||||
|
// For each col...
|
||||||
|
for (uint8_t col_index = 0; col_index < MATRIX_COLS_PER_SIDE; col_index++) {
|
||||||
|
// Select the col pin to read (active low)
|
||||||
|
uint8_t pin_state = gpio_read_pin(matrix_col_pins_mcu[col_index]);
|
||||||
|
|
||||||
|
// Populate the matrix row with the state of the col pin
|
||||||
|
current_row_value |= pin_state ? 0 : (MATRIX_ROW_SHIFTER << col_index);
|
||||||
|
}
|
||||||
|
return current_row_value;
|
||||||
|
} else {
|
||||||
|
if (tca9555_status) { // if there was an error
|
||||||
|
return 0;
|
||||||
|
} else {
|
||||||
|
uint8_t data = 0;
|
||||||
|
uint8_t port0 = 0;
|
||||||
|
tca9555_status = i2c_read_register(I2C_ADDR, IREGP0, &port0, 1, I2C_TIMEOUT);
|
||||||
|
if (tca9555_status) { // if there was an error
|
||||||
|
// do nothing
|
||||||
|
return 0;
|
||||||
|
} else {
|
||||||
|
port0 = ~port0;
|
||||||
|
// We read all the pins on GPIOA.
|
||||||
|
// The initial state was all ones and any depressed key at a given column for the currently selected row will have its bit flipped to zero.
|
||||||
|
// The return value is a row as represented in the generic matrix code were the rightmost bits represent the lower columns and zeroes represent non-depressed keys while ones represent depressed keys.
|
||||||
|
// the pins connected to eact columns are sequential, but in reverse order, and counting from zero down (col 5 -> GPIO04, col6 -> GPIO03 and so on).
|
||||||
|
data |= (port0 & 0x01) << 4;
|
||||||
|
data |= (port0 & 0x02) << 2;
|
||||||
|
data |= (port0 & 0x04);
|
||||||
|
data |= (port0 & 0x08) >> 2;
|
||||||
|
data |= (port0 & 0x10) >> 4;
|
||||||
|
|
||||||
|
tca9555_status = I2C_STATUS_SUCCESS;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void unselect_rows(void) {
|
||||||
|
// no need to unselect on tca9555, because the select step sets all
|
||||||
|
// the other row bits high, and it's not changing to a different
|
||||||
|
// direction
|
||||||
|
|
||||||
|
// unselect rows on microcontroller
|
||||||
|
pin_t matrix_row_pins_mcu[MATRIX_ROWS_PER_SIDE] = MATRIX_ROW_PINS_L;
|
||||||
|
for (int pin_index = 0; pin_index < MATRIX_ROWS_PER_SIDE; pin_index++) {
|
||||||
|
pin_t pin = matrix_row_pins_mcu[pin_index];
|
||||||
|
gpio_set_pin_input_high(pin);
|
||||||
|
gpio_write_pin_low(pin);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void select_row(uint8_t row) {
|
||||||
|
uint8_t port1 = 0xff;
|
||||||
|
|
||||||
|
if (row < MATRIX_ROWS_PER_SIDE) {
|
||||||
|
// select on atmega32u4
|
||||||
|
pin_t matrix_row_pins_mcu[MATRIX_ROWS_PER_SIDE] = MATRIX_ROW_PINS_L;
|
||||||
|
pin_t pin = matrix_row_pins_mcu[row];
|
||||||
|
gpio_set_pin_output(pin);
|
||||||
|
gpio_write_pin_low(pin);
|
||||||
|
} else {
|
||||||
|
// select on tca9555
|
||||||
|
if (tca9555_status) { // if there was an error
|
||||||
|
// do nothing
|
||||||
|
} else {
|
||||||
|
switch(row) {
|
||||||
|
case 4: port1 &= ~(1 << 0); break;
|
||||||
|
case 5: port1 &= ~(1 << 1); break;
|
||||||
|
case 6: port1 &= ~(1 << 2); break;
|
||||||
|
case 7:
|
||||||
|
port1 &= ~(1 << 3);
|
||||||
|
break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
|
||||||
|
tca9555_status = i2c_write_register(I2C_ADDR, OREGP1, &port1, 1, I2C_TIMEOUT);
|
||||||
|
// Select the desired row by writing a byte for the entire GPIOB bus where only the bit representing the row we want to select is a zero (write instruction) and every other bit is a one.
|
||||||
|
// Note that the row - MATRIX_ROWS_PER_SIDE reflects the fact that being on the right hand, the columns are numbered from MATRIX_ROWS_PER_SIDE to MATRIX_ROWS, but the pins we want to write to are indexed from zero up on the GPIOB bus.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
24
keyboards/beekeeb/3w6hs/mcuconf.h
Normal file
24
keyboards/beekeeb/3w6hs/mcuconf.h
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Copyright 2023 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 3 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 <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include_next <mcuconf.h>
|
||||||
|
|
||||||
|
#undef RP_I2C_USE_I2C0
|
||||||
|
#undef RP_I2C_USE_I2C1
|
||||||
|
#define RP_I2C_USE_I2C0 TRUE
|
||||||
|
#define RP_I2C_USE_I2C1 FALSE
|
26
keyboards/beekeeb/3w6hs/readme.md
Normal file
26
keyboards/beekeeb/3w6hs/readme.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# 3W6HS
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The 3W6HS is a hotswap, RP2040, low profile, split keyboard with 36 keys, modified from 3W6 by weteor.
|
||||||
|
|
||||||
|
* Keyboard Maintainer: [beekeeb](https://github.com/beekeeb)
|
||||||
|
* Hardware Supported: RP2040
|
||||||
|
* Hardware Availability: [https://shop.beekeeb.com/](https://shop.beekeeb.com)
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make beekeeb/3w6hs:default
|
||||||
|
|
||||||
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
|
make beekeeb/3w6hs:default:flash
|
||||||
|
|
||||||
|
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
||||||
|
|
||||||
|
## Bootloader
|
||||||
|
|
||||||
|
To enter the bootloader, follow these steps:
|
||||||
|
* Disconnect the keyboard from the computer.
|
||||||
|
* Locate the BOOT button, which is the top button on the left side of the keyboard.
|
||||||
|
* While holding down the BOOT button, connect the keyboard back to the computer.
|
3
keyboards/beekeeb/3w6hs/rules.mk
Normal file
3
keyboards/beekeeb/3w6hs/rules.mk
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
CUSTOM_MATRIX = lite
|
||||||
|
SRC += matrix.c
|
||||||
|
I2C_DRIVER_REQUIRED = yes
|
@ -6,7 +6,7 @@ This is a standard off-the-shelf Durgod Taurus K310 full-sized 104/105-key
|
|||||||
keyboard without backlight. This supports both the ANSI and ISO variants.
|
keyboard without backlight. This supports both the ANSI and ISO variants.
|
||||||
|
|
||||||
* Keyboard Maintainers: [dkjer](https://github.com/dkjer) and [tylert](https://github.com/tylert)
|
* Keyboard Maintainers: [dkjer](https://github.com/dkjer) and [tylert](https://github.com/tylert)
|
||||||
* Hardware Supported: [Durgod Taurus K310 board with STM32F070RBT6](https://www.durgod.com/page9?product_id=53&_l=en "Durgod.com Product Page")
|
* Hardware Supported: [Durgod Taurus K310 board with STM32F070RBT6](https://www.durgod.com/product/k310-space-gray/)
|
||||||
* Hardware Availability: [Amazon.com](https://www.amazon.com/Durgod-Taurus-K310-Mechanical-Keyboard/dp/B07TXB4XF3)
|
* Hardware Availability: [Amazon.com](https://www.amazon.com/Durgod-Taurus-K310-Mechanical-Keyboard/dp/B07TXB4XF3)
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
|
@ -6,7 +6,7 @@ This is a standard off-the-shelf Durgod Taurus K320 TKL (87/88-key)
|
|||||||
keyboard without backlight. This supports both the ANSI and ISO variants.
|
keyboard without backlight. This supports both the ANSI and ISO variants.
|
||||||
|
|
||||||
* Keyboard Maintainers: [dkjer](https://github.com/dkjer) and [tylert](https://github.com/tylert)
|
* Keyboard Maintainers: [dkjer](https://github.com/dkjer) and [tylert](https://github.com/tylert)
|
||||||
* Hardware Supported: [Durgod Taurus K320 board with STM32F070RBT6](https://www.durgod.com/page9?product_id=47&_l=en "Durgod.com Product Page")
|
* Hardware Supported: [Durgod Taurus K320 board with STM32F070RBT6](https://www.durgod.com/product/k320-space-gray/)
|
||||||
* Hardware Availability: [Amazon.com](https://www.amazon.com/Durgod-Taurus-Corona-Mechanical-Keyboard/dp/B078H3WPHM)
|
* Hardware Availability: [Amazon.com](https://www.amazon.com/Durgod-Taurus-Corona-Mechanical-Keyboard/dp/B078H3WPHM)
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
@ -15,11 +15,11 @@ keyboard without backlight. This supports both the ANSI and ISO variants.
|
|||||||
|
|
||||||
Make command example for this keyboard (after setting up your build environment):
|
Make command example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
make durgod/k3x0/k320/base:default
|
make durgod/k320/base:default
|
||||||
|
|
||||||
Flashing example for this keyboard:
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
make durgod/k3x0/k320/base:default:flash
|
make durgod/k320/base:default:flash
|
||||||
|
|
||||||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
||||||
|
|
||||||
|
@ -5,8 +5,8 @@ K310 full-sized 104/105-key and K320 TKL 87/88-key keyboards.
|
|||||||
|
|
||||||
* Keyboard Maintainers: [dkjer](https://github.com/dkjer) and [tylert](https://github.com/tylert)
|
* Keyboard Maintainers: [dkjer](https://github.com/dkjer) and [tylert](https://github.com/tylert)
|
||||||
* Hardware Supported:
|
* Hardware Supported:
|
||||||
* [Durgod Taurus K310 with STM32F070RBT6](https://www.durgod.com/page9?product_id=53&_l=en "Taurus K310 Product Page | Durgod.com")
|
* [Durgod Taurus K310 with STM32F070RBT6](https://www.durgod.com/product/k310-space-gray/)
|
||||||
* [Durgod Taurus K320 with STM32F070RBT6](https://www.durgod.com/page9?product_id=47&_l=en "Taurus K320 Product Page | Durgod.com")
|
* [Durgod Taurus K320 with STM32F070RBT6](https://www.durgod.com/product/k320-space-gray/)
|
||||||
* Hardware Availability:
|
* Hardware Availability:
|
||||||
* [K310 on Amazon.com](https://www.amazon.com/Durgod-Taurus-K310-Mechanical-Keyboard/dp/B07TXB4XF3)
|
* [K310 on Amazon.com](https://www.amazon.com/Durgod-Taurus-K310-Mechanical-Keyboard/dp/B07TXB4XF3)
|
||||||
* [K320 on Amazon.com](https://www.amazon.com/Durgod-Taurus-Corona-Mechanical-Keyboard/dp/B078H3WPHM)
|
* [K320 on Amazon.com](https://www.amazon.com/Durgod-Taurus-Corona-Mechanical-Keyboard/dp/B078H3WPHM)
|
||||||
@ -16,8 +16,8 @@ K310 full-sized 104/105-key and K320 TKL 87/88-key keyboards.
|
|||||||
### Build
|
### Build
|
||||||
|
|
||||||
Instructions for building the K310 and K320 firmware can be found here:
|
Instructions for building the K310 and K320 firmware can be found here:
|
||||||
* [K310](k310/readme.md)
|
* [K310](../k310/readme.md)
|
||||||
* [K320](k320/readme.md)
|
* [K320](../k320/readme.md)
|
||||||
|
|
||||||
### Initial Flash
|
### Initial Flash
|
||||||
|
|
||||||
@ -67,10 +67,10 @@ dfu-util -a 0 -d 0483:DF11 -s 0x08000000 -U k3x0_original.bin
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# k310
|
# k310
|
||||||
qmk flash -kb durgod/k3x0/k310 -km default
|
qmk flash -kb durgod/k310 -km default
|
||||||
|
|
||||||
# k320
|
# k320
|
||||||
qmk flash -kb durgod/k3x0/k320 -km default
|
qmk flash -kb durgod/k320 -km default
|
||||||
```
|
```
|
||||||
|
|
||||||
### Subsequent Flashing
|
### Subsequent Flashing
|
||||||
|
@ -8,3 +8,7 @@
|
|||||||
|
|
||||||
#define BACKLIGHT_PWM_DRIVER PWMD5
|
#define BACKLIGHT_PWM_DRIVER PWMD5
|
||||||
#define BACKLIGHT_PWM_CHANNEL 1
|
#define BACKLIGHT_PWM_CHANNEL 1
|
||||||
|
|
||||||
|
#define SOLENOID_PIN B12
|
||||||
|
#define SOLENOID_PINS { B12, B13, B14, B15 }
|
||||||
|
#define SOLENOID_PINS_ACTIVE_STATE { high, high, low }
|
||||||
|
1
keyboards/handwired/onekey/at_start_f415/rules.mk
Normal file
1
keyboards/handwired/onekey/at_start_f415/rules.mk
Normal file
@ -0,0 +1 @@
|
|||||||
|
MCU_LDSCRIPT = AT32F415xC
|
@ -153,6 +153,8 @@
|
|||||||
"pin": "A9"
|
"pin": "A9"
|
||||||
},
|
},
|
||||||
"transport": {
|
"transport": {
|
||||||
|
"watchdog": true,
|
||||||
|
"watchdog_timeout": 20000,
|
||||||
"sync": {
|
"sync": {
|
||||||
"indicators": true,
|
"indicators": true,
|
||||||
"layer_state": true,
|
"layer_state": true,
|
||||||
|
6
keyboards/takashicompany/klec_02/config.h
Normal file
6
keyboards/takashicompany/klec_02/config.h
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// Copyright 2024 takashicompany (@takashicompany)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define EE_HANDS
|
@ -1 +1 @@
|
|||||||
Subproject commit b643aad980d061021565c55745925c2cde4a3c6f
|
Subproject commit 3ac181e4ca5cafddaf8b472baa1d09c2b24c77b6
|
@ -27,7 +27,3 @@
|
|||||||
# define STM32_ONBOARD_EEPROM_SIZE (((EECONFIG_SIZE + 3) / 4) * 4) // based off eeconfig's current usage, aligned to 4-byte sizes, to deal with LTO and EEPROM page sizing
|
# define STM32_ONBOARD_EEPROM_SIZE (((EECONFIG_SIZE + 3) / 4) * 4) // based off eeconfig's current usage, aligned to 4-byte sizes, to deal with LTO and EEPROM page sizing
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if STM32_ONBOARD_EEPROM_SIZE > 128
|
|
||||||
# pragma message("Please note: resetting EEPROM using an STM32L0/L1 device takes up to 1 second for every 1kB of internal EEPROM used.")
|
|
||||||
#endif
|
|
||||||
|
@ -249,11 +249,11 @@ bool spi_start_extended(spi_start_config_t *start_config) {
|
|||||||
#elif defined(AT32F415)
|
#elif defined(AT32F415)
|
||||||
spiConfig.ctrl1 = 0;
|
spiConfig.ctrl1 = 0;
|
||||||
|
|
||||||
if (lsbFirst) {
|
if (start_config->lsb_first) {
|
||||||
spiConfig.ctrl1 |= SPI_CTRL1_LTF;
|
spiConfig.ctrl1 |= SPI_CTRL1_LTF;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (mode) {
|
switch (start_config->mode) {
|
||||||
case 0:
|
case 0:
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
@ -16,7 +16,10 @@
|
|||||||
|
|
||||||
bool process_underglow(uint16_t keycode, keyrecord_t *record) {
|
bool process_underglow(uint16_t keycode, keyrecord_t *record) {
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
uint8_t shifted = get_mods() & MOD_MASK_SHIFT;
|
#if defined(RGBLIGHT_ENABLE) || (defined(RGB_MATRIX_ENABLE) && !defined(RGB_MATRIX_DISABLE_SHARED_KEYCODES))
|
||||||
|
const uint8_t shifted = get_mods() & MOD_MASK_SHIFT;
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case QK_UNDERGLOW_TOGGLE:
|
case QK_UNDERGLOW_TOGGLE:
|
||||||
#if defined(RGBLIGHT_ENABLE)
|
#if defined(RGBLIGHT_ENABLE)
|
||||||
|
@ -9,23 +9,24 @@ _qmk_install_prepare() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Conflicts with arm-none-eabi toolchain from osx-cross
|
||||||
|
brew uninstall --ignore-dependencies --cask gcc-arm-embedded >/dev/null 2>&1
|
||||||
|
brew uninstall --ignore-dependencies homebrew/core/arm-none-eabi-gcc >/dev/null 2>&1
|
||||||
|
brew uninstall --ignore-dependencies homebrew/core/arm-none-eabi-binutils >/dev/null 2>&1
|
||||||
|
brew uninstall --ignore-dependencies osx-cross/arm/arm-gcc-bin@8 >/dev/null 2>&1
|
||||||
|
|
||||||
brew update && brew upgrade --formulae
|
brew update && brew upgrade --formulae
|
||||||
}
|
}
|
||||||
|
|
||||||
_qmk_install() {
|
_qmk_install() {
|
||||||
echo "Installing dependencies"
|
echo "Installing dependencies"
|
||||||
|
|
||||||
# All macOS dependencies are managed in the Homebrew package:
|
# All macOS & Python dependencies are managed in the Homebrew package:
|
||||||
# https://github.com/qmk/homebrew-qmk
|
# https://github.com/qmk/homebrew-qmk
|
||||||
brew install qmk/qmk/qmk
|
brew install qmk/qmk/qmk
|
||||||
|
|
||||||
# Conflicts with new toolchain formulae
|
|
||||||
brew uninstall --ignore-dependencies arm-gcc-bin@8 >/dev/null 2>&1
|
|
||||||
|
|
||||||
# Keg-only, so need to be manually linked
|
# Keg-only, so need to be manually linked
|
||||||
brew link --force avr-gcc@8
|
brew link --force avr-gcc@8
|
||||||
brew link --force arm-none-eabi-binutils
|
brew link --force arm-none-eabi-binutils
|
||||||
brew link --force arm-none-eabi-gcc@8
|
brew link --force arm-none-eabi-gcc@8
|
||||||
|
|
||||||
python3 -m pip install -r $QMK_FIRMWARE_DIR/requirements.txt
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user