Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from moritz-john/change_default_controller
Browse files Browse the repository at this point in the history
Switch default controller to 0xCB Helios
  • Loading branch information
moritz-john authored Mar 1, 2023
2 parents 863d3e4 + eaf6ecd commit c71c7fc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ KMK is a keyboard focused layer that sits on top of CircuitPython.

## Microcontroller Support

[`kb.py`](https://github.com/moritz-john/kmk-config-splaytoraid/blob/master/firmware/kb.py) is designed to work with the **SparkFun Pro Micro RP2040** but you can update this line in `kb.py` to [any supported microcontroller](https://github.com/KMKfw/kmk_firmware/tree/master/kmk/quickpin/pro_micro) e.g.:
[`kb.py`](https://github.com/moritz-john/kmk-config-splaytoraid/blob/master/firmware/kb.py) is designed to work with the [**0xCB Helios**](https://keeb.supply/products/0xcb-helios) but you can update this line in `kb.py` to [any supported microcontroller](https://github.com/KMKfw/kmk_firmware/tree/master/kmk/quickpin/pro_micro) e.g.:

```python title='Default: SparkFun Pro Micro RP2040'
from kmk.quickpin.pro_micro.sparkfun_promicro_rp2040 import pinout as pins
```python title='Default: 0xCB Helios'
from kmk.quickpin.pro_micro.helios import pinout as pins
```

```python title='Alternative: 0xCB Helios'
from kmk.quickpin.pro_micro.helios import pinout as pins
```python title='Alternative: SparkFun Pro Micro RP2040'
from kmk.quickpin.pro_micro.sparkfun_promicro_rp2040 import pinout as pins
```

```python title='Alternative: Adafruit KB2040'
Expand Down Expand Up @@ -134,10 +134,10 @@ I would recommend following these steps **after** you finished setting up your s

### Microcontroller support

[`boot.py`](https://github.com/moritz-john/kmk-config-splaytoraid/tree/master/firmware/utilities/hide_device_storage) is designed to work with the **SparkFun Pro Micro RP2040** but you can update this line in `boot.py` to [any supported microcontroller:](https://github.com/KMKfw/kmk_firmware/tree/master/kmk/quickpin/pro_micro)
[`boot.py`](https://github.com/moritz-john/kmk-config-splaytoraid/tree/master/firmware/utilities/hide_device_storage) is designed to work with the **0xCB Helios** but you can update this line in `boot.py` to [any supported microcontroller:](https://github.com/KMKfw/kmk_firmware/tree/master/kmk/quickpin/pro_micro)

```py
from kmk.quickpin.pro_micro.sparkfun_promicro_rp2040 import pinout as pins
from kmk.quickpin.pro_micro.helios import pinout as pins
```

[^1]: [KMK](https://github.com/KMKfw/kmk_firmware) is a feature-rich and beginner-friendly firmware for computer keyboards written and configured in [CircuitPython](https://circuitpython.org/)
Expand Down
2 changes: 1 addition & 1 deletion firmware/kb.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from kmk.quickpin.pro_micro.sparkfun_promicro_rp2040 import pinout as pins
from kmk.quickpin.pro_micro.helios import pinout as pins
from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
from kmk.scanners import DiodeOrientation

Expand Down
2 changes: 1 addition & 1 deletion firmware/utilities/hide_device_storage/boot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import usb_cdc
import usb_hid

from kmk.quickpin.pro_micro.sparkfun_promicro_rp2040 import pinout as pins
from kmk.quickpin.pro_micro.helios import pinout as pins

# If this key is held during boot, don't run the code which hides the storage and disables serial
# To use another key just count its row and column and use those pins
Expand Down

0 comments on commit c71c7fc

Please sign in to comment.