[Keyboard] Add RP2040 config defaults for ferris/sweep and cradio (#17557)
parent
f004d93bad
commit
70d554420c
|
@ -25,17 +25,6 @@
|
||||||
#define MATRIX_ROWS 8
|
#define MATRIX_ROWS 8
|
||||||
#define MATRIX_COLS 5
|
#define MATRIX_COLS 5
|
||||||
|
|
||||||
/*
|
|
||||||
* Keyboard Matrix Assignments
|
|
||||||
*
|
|
||||||
* Change this to how you wired your keyboard
|
|
||||||
* COLS: AVR pins used for columns, left to right
|
|
||||||
* ROWS: AVR pins used for rows, top to bottom
|
|
||||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
|
||||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
|
||||||
* NO_DIODE = switches are directly connected to AVR pins
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#define DIRECT_PINS { \
|
#define DIRECT_PINS { \
|
||||||
{ E6, F7, F6, F5, F4 }, \
|
{ E6, F7, F6, F5, F4 }, \
|
||||||
{ B1, B3, B2, B6, D3 }, \
|
{ B1, B3, B2, B6, D3 }, \
|
||||||
|
@ -66,4 +55,3 @@
|
||||||
/* Top right key on right half */
|
/* Top right key on right half */
|
||||||
#define BOOTMAGIC_LITE_ROW_RIGHT 4
|
#define BOOTMAGIC_LITE_ROW_RIGHT 4
|
||||||
#define BOOTMAGIC_LITE_COLUMN_RIGHT 4
|
#define BOOTMAGIC_LITE_COLUMN_RIGHT 4
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,12 @@ Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
make cradio:default
|
make cradio:default
|
||||||
|
|
||||||
|
### RP2040 Controllers
|
||||||
|
|
||||||
|
Pro Micro RP2040 controllers are supported with [QMK Converters](https://docs.qmk.fm/#/feature_converters). The make command example for Adafruit's KB2040 are:
|
||||||
|
|
||||||
|
make CONVERT_TO=kb2040 cradio:default
|
||||||
|
|
||||||
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).
|
||||||
|
|
||||||
## Bootloader
|
## Bootloader
|
||||||
|
|
|
@ -32,17 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define MATRIX_ROWS 8
|
#define MATRIX_ROWS 8
|
||||||
#define MATRIX_COLS 5
|
#define MATRIX_COLS 5
|
||||||
|
|
||||||
/*
|
|
||||||
* Keyboard Matrix Assignments
|
|
||||||
*
|
|
||||||
* Change this to how you wired your keyboard
|
|
||||||
* COLS: AVR pins used for columns, left to right
|
|
||||||
* ROWS: AVR pins used for rows, top to bottom
|
|
||||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
|
||||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
|
||||||
* NO_DIODE = switches are directly connected to AVR pins
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#define DIRECT_PINS { \
|
#define DIRECT_PINS { \
|
||||||
{ E6, F7, F6, F5, F4 }, \
|
{ E6, F7, F6, F5, F4 }, \
|
||||||
{ B1, B3, B2, B6, D3 }, \
|
{ B1, B3, B2, B6, D3 }, \
|
||||||
|
@ -57,8 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
{ B5, B4, NO_PIN, NO_PIN, NO_PIN } \
|
{ B5, B4, NO_PIN, NO_PIN, NO_PIN } \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define UNUSED_PINS
|
#define UNUSED_PINS
|
||||||
|
|
||||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||||
|
|
|
@ -31,6 +31,13 @@ For Elite-C or compatible controllers using `DFU` bootloader, add the line `BOOT
|
||||||
|
|
||||||
[QMK Toolbox](http://qmk.fm/toolbox) can also be used to set EEPROM handedness. Place the controller in bootloader mode and select menu option Tools -> EEPROM -> Set Left/Right Hand
|
[QMK Toolbox](http://qmk.fm/toolbox) can also be used to set EEPROM handedness. Place the controller in bootloader mode and select menu option Tools -> EEPROM -> Set Left/Right Hand
|
||||||
|
|
||||||
|
### RP2040 Controllers
|
||||||
|
|
||||||
|
Pro Micro RP2040 controllers are supported with [QMK Converters](https://docs.qmk.fm/#/feature_converters). The make command example with handedness setting for Adafruit's KB2040 are:
|
||||||
|
|
||||||
|
make CONVERT_TO=kb2040 ferris/sweep:default:uf2-split-left
|
||||||
|
make CONVERT_TO=kb2040 ferris/sweep:default:uf2-split-right
|
||||||
|
|
||||||
## Bootloader
|
## Bootloader
|
||||||
|
|
||||||
Enter the bootloader in 3 ways:
|
Enter the bootloader in 3 ways:
|
||||||
|
|
Loading…
Reference in New Issue