qmk_firmware/keyboards/handwired/onekey/teensy_32
Nick Brassel 2b00b846dc
Non-volatile memory data repository pattern (#24356)
* First batch of eeconfig conversions.

* Offset and length for datablocks.

* `via`, `dynamic_keymap`.

* Fix filename.

* Commentary.

* wilba leds

* satisfaction75

* satisfaction75

* more keyboard whack-a-mole

* satisfaction75

* omnikeyish

* more whack-a-mole

* `generic_features.mk` to automatically pick up nvm repositories

* thievery

* deferred variable resolve

* whitespace

* convert api to structs/unions

* convert api to structs/unions

* convert api to structs/unions

* fixups

* code-side docs

* code size fix

* rollback

* nvm_xxxxx_erase

* Updated location of eeconfig magic numbers so non-EEPROM nvm drivers can use them too.

* Fixup build.

* Fixup compilation error with encoders.

* Build fixes.

* Add `via_ci` keymap to onekey to exercise VIA bindings (and thus dynamic keymap et.al.), fixup compilation errors based on preprocessor+sizeof.

* Build failure rectification.
2025-03-21 23:38:34 +11:00
..
chconf.h Onekey cleanup (#13786) 2021-07-30 18:10:05 +01:00
config.h Remove usages of config_common.h from config.h files. (#19714) 2023-01-31 06:03:30 +11:00
halconf.h Onekey cleanup (#13786) 2021-07-30 18:10:05 +01:00
keyboard.json Migrate build target markers to keyboard.json (#23293) 2024-03-30 11:31:50 +00:00
mcuconf.h Enable OLED support for Teensy 3.2/LC (#7591) 2020-07-26 07:50:56 +10:00
readme.md
rules.mk Non-volatile memory data repository pattern (#24356) 2025-03-21 23:38:34 +11:00

Teensy 3.2 onekey

To trigger keypress, short together pins D5 and B2 (marked on the PCB as 20 and 19).

Hardware

Pins

When setting matrix pins, you need to use the MCU definitions instead of what is printed on the PCB. Sourced from https://www.pjrc.com/teensy/schematic32.gif. The following table can be used to convert between the two.

PCB MCU Notes
0 B16
1 B17
2 D0
3 A12
4 A13
5 D7
6 D4
7 D2
8 D3
9 C3
10 C4
11 C6
12 C7
13/LED C5
14/A0 D1
15/A1 C0
16/A2 B0
17/A3 B1
18/A4 B3
19/A5 B2
20/A6 D5
21/A7 D6
22/A8 C1
23/A9 C2
24/A10 ADC0_DP0 in schematic [1]
25/A11 ADC0_DM0 in schematic [1]
26/A12 ADC0_DP3 in schematic [1]

[1] - Currently not configured and may require extra work to implement.