keychron_qmk_firmware/keyboards/handwired/onekey
Stefan Kerkmann 3f5dc47296
[Core] Use polled waiting on ChibiOS platforms that support it (#17607)
* Use polled waiting on platforms that support it

Due to context switching overhead waiting a very short amount of time on
a sleeping thread is often not accurate and in fact not usable for timing
critical usage i.e. in a driver. Thus we use polled waiting for ranges
in the us range on platforms that support it instead. The fallback is
the thread sleeping mechanism.

This includes:

* ARM platforms with CYCCNT register (ARMv7, ARMv8) this is
  incremented at CPU clock frequency
* GD32VF103 RISC-V port with CSR_MCYCLE register this is incremented at
  CPU clock frequency
* RP2040 ARMv6 port which uses the integrated timer peripheral which is
  incremented with a fixed 1MHz frequency

* Use wait_us() instead of chSysPolledDelayX

...as it is powered by busy waiting now.

* Add chibios waiting methods test bench
2022-07-11 15:17:05 +02:00
..
blackpill_f401 Specify blackpill board files where relevant (#17521) 2022-07-01 15:38:57 +01:00
blackpill_f411 Specify blackpill board files where relevant (#17521) 2022-07-01 15:38:57 +01:00
blackpill_f411_tinyuf2
bluepill Provide better config defaults for bluepill boards (#16909) 2022-04-22 07:03:28 +10:00
elite_c [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
evb_wb32f3g71 Add WB32 evaluation board onekey targets. (#17330) 2022-06-08 10:47:56 +10:00
evb_wb32fq95 Add WB32 evaluation board onekey targets. (#17330) 2022-06-08 10:47:56 +10:00
keymaps [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
nucleo_l432kc
promicro [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
proton_c
rp2040 [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
sipeed_longan_nano
stm32f405_feather
stm32f0_disco
teensy_2 [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
teensy_2pp [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
teensy_32
teensy_35 Tentative Teensy 3.5 support (#14420) 2022-07-03 00:12:45 +10:00
teensy_lc
config.h Do not enable PERMISSIVE_HOLD when TAPPING_TERM exceeds 500ms (#15674) 2022-06-24 12:40:09 +02:00
info.json
onekey.c [Core] Add Raspberry Pi RP2040 support (#14877) 2022-06-30 13:19:27 +02:00
onekey.h
readme.md
rules.mk

onekey

Custom handwired one key keyboard. See each individual board for pin information.

  • Keyboard Maintainer: QMK Community
  • Hardware Supported: Blackpill F401/F411, Bluepill, Elite-C, Pro Micro, Proton C, Sipeed Longan Nano, STM32F0 Disco, Teensy 2.0, Teensy++ 2.0, Teensy LC, Teensy 3.2
  • Hardware Availability: n/a

Make example for this keyboard (after setting up your build environment):

make handwired/onekey:default

Flashing example for this keyboard:

make handwired/onekey:default:flash

See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.