qmk-keychron-q3-colemak-dh/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 Onekey cleanup (#13786) 2021-07-30 18:10:05 +01:00
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 Add L432, L442. (#16016) 2022-01-24 08:49:36 +11:00
promicro [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
proton_c Onekey cleanup (#13786) 2021-07-30 18:10:05 +01:00
rp2040 [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
sipeed_longan_nano [Core] Add support for RISC-V builds and GD32VF103 MCU (#12508) 2021-10-18 16:23:20 +11:00
stm32f0_disco Onekey cleanup (#13786) 2021-07-30 18:10:05 +01:00
stm32f405_feather Initial pass of F405 support (#14584) 2021-09-25 00:19:41 +01:00
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 Refactor bootloader_jump() implementations (#15450) 2021-12-27 21:10:07 +11:00
teensy_35 Tentative Teensy 3.5 support (#14420) 2022-07-03 00:12:45 +10:00
teensy_lc Refactor bootloader_jump() implementations (#15450) 2021-12-27 21:10:07 +11:00
config.h Do not enable PERMISSIVE_HOLD when TAPPING_TERM exceeds 500ms (#15674) 2022-06-24 12:40:09 +02:00
info.json Remove width, height and key_count from info.json (#14274) 2021-09-12 14:04:56 +10:00
onekey.c [Core] Add Raspberry Pi RP2040 support (#14877) 2022-06-30 13:19:27 +02:00
onekey.h [Keyboard] Fix error_log complaint about handwired/onekey layout macro (#9263) 2020-06-07 22:49:18 -07:00
readme.md [Core] Add support for RISC-V builds and GD32VF103 MCU (#12508) 2021-10-18 16:23:20 +11:00
rules.mk Tidy up NKRO_ENABLE rules (#15382) 2021-12-09 16:05:44 +11:00

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.