qmk_firmware/keyboards/handwired
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
..
2x5keypad
3dfoxc RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
3dortho14u `device_ver` -> `device_version` for some more boards (#16685) 2022-03-19 11:52:40 +00:00
3dp660 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
6key
6macro RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
10k [Keyboard] add 10k (#16531) 2022-04-12 23:03:49 -07:00
42 Rename `AdafruitBLE` to `BluefruitLE` (#16127) 2022-01-30 17:29:42 +00:00
108key_trackpoint
412_64 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
aball Add extra braces for trackball keymaps (#16361) 2022-02-15 18:01:54 +11:00
aek64 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
aim65
amigopunk RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
angel
aplx2
aranck RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
arrow_pad RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
atreus50 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
axon
baredev/rev1 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
battleship_gamepad RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
bdn9_ble RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
bento RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
bigmac
bolek RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
boss566y/redragon_vara RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
brain Fix lint errors (#17293) 2022-06-02 19:30:07 +01:00
bstk100 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
cans12er
carpolly RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
chiron RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
ck4x4 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
cmd60 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
co60 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
colorlice RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
concertina RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
consolekeyboard
croxsplit44 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
curiosity
d48 Fix lint errors (#17293) 2022-06-02 19:30:07 +01:00
dactyl RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
dactyl_left Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
dactyl_manuform [Keyboard] Clean up dactyl manuform unused files (#15890) 2022-07-07 05:42:28 -07:00
dactyl_promicro RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
dactyl_rah RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
daishi RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
datahand
dc/mc/001 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
ddg_56 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
dygma/raise Specify blackpill board files where relevant (#17521) 2022-07-01 15:38:57 +01:00
eagleii
elrgo_s RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
ergocheap Do not enable PERMISSIVE_HOLD when TAPPING_TERM exceeds 500ms (#15674) 2022-06-24 12:40:09 +02:00
evk Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
fc200rt_qmk Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
fivethirteen Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
floorboard Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
frankie_macropad Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
frenchdev Make default layer size 16-bit (#15286) 2022-06-19 07:37:51 +10:00
freoduo RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
fruity60 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
gamenum Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
hacked_motospeed Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
heisenberg RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
hexon38
hillside [Keyboard] Move/Rename to Hillside48, simplify default keymap (#17210) 2022-07-02 21:56:23 +10:00
hnah40 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
hnah40rgb RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
hnah108 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
ibm122m Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
ibm_wheelwriter RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
jn68m RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
jopr
jot50 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
jotanck RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
jotpad16
jtallbean Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
juliet Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
k8split
k_numpad17
kbod Make default layer size 16-bit (#15286) 2022-06-19 07:37:51 +10:00
ks63 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
lagrange RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
leftynumpad Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
lemonpad Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
lovelive9
m40/5x5_macropad RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
macroboard Specify blackpill board files where relevant (#17521) 2022-07-01 15:38:57 +01:00
magicforce61 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
magicforce68 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
marauder Remove 1k USB_POLLING_INTERVAL_MS config from keyboards and default-ish keymaps (#16448) 2022-02-26 03:20:57 +00:00
mechboards_micropad Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
meck_tkl Specify blackpill board files where relevant (#17521) 2022-07-01 15:38:57 +01:00
minorca Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
misterdeck Joystick feature updates (#16732) 2022-03-26 18:38:09 +00:00
ms_sculpt_mobile MS Sculpt Mobile refactor (#16038) 2022-03-20 15:19:46 +11:00
mutepad keyboards: fix malformed info.json files (#17292) 2022-06-02 17:50:08 +01:00
myskeeb RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
nicekey Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
not_so_minidox RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
novem
nozbe_macro
numpad20 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
obuwunkunubi/spaget RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
oem_ansi_fullsize Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
oem_iso_fullsize RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
onekey [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
ortho5x13 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
ortho5x14 tap-dance: Restructure code and document in more detail (#16394) 2022-06-13 22:12:55 +02:00
ortho_brass Removes terminal from QMK. (#17258) 2022-05-30 22:38:08 -07:00
owlet60 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
p65rgb RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
pilcrow RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
pill60 Specify blackpill board files where relevant (#17521) 2022-07-01 15:38:57 +01:00
postageboard RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
prime_exl Make default layer size 16-bit (#15286) 2022-06-19 07:37:51 +10:00
prime_exl_plus
prkl30 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
promethium Make default layer size 16-bit (#15286) 2022-06-19 07:37:51 +10:00
pterodactyl Refactor legacy quantum keycodes in default-ish keymaps (#17150) 2022-05-27 06:07:42 +10:00
pteron RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
pteron38 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
pteron44 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
pytest `device_ver` -> `device_version` for some more boards (#16685) 2022-03-19 11:52:40 +00:00
qc60
reclined RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
retro_refit Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
riblee_f401 Merge remote-tracking branch 'origin/master' into develop 2022-07-01 14:39:35 +00:00
riblee_f411 Merge remote-tracking branch 'origin/master' into develop 2022-07-01 14:39:35 +00:00
rs60 Removes terminal from QMK. (#17258) 2022-05-30 22:38:08 -07:00
selene
sick68 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
sick_pad
slash Rename `AdafruitBLE` to `BluefruitLE` (#16127) 2022-01-30 17:29:42 +00:00
snatchpad Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
sono1 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
space_oddity RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
split65 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
split89 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
splittest RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
steamvan
sticc14 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
stream_cheap
swiftrax Merge remote-tracking branch 'origin/master' into develop 2022-05-17 01:45:33 +00:00
symmetric70_proto Small update to Symmetric70 keyboard readme (#17188) 2022-05-25 21:11:13 +09:00
symmetry60
t111 Provide better config defaults for bluepill boards (#16909) 2022-04-22 07:03:28 +10:00
tennie Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
terminus_mini Removes terminal from QMK. (#17258) 2022-05-30 22:38:08 -07:00
trackpoint
tractyl_manuform [Fix] Patches after printf library update (#17584) 2022-07-07 14:14:09 +02:00
traveller Make default layer size 16-bit (#15286) 2022-06-19 07:37:51 +10:00
tritium_numpad Make default layer size 16-bit (#15286) 2022-06-19 07:37:51 +10:00
twadlee/tp69 Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
unicomp_mini_m
unk Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h (#16655) 2022-03-15 13:56:58 +00:00
uthol Merge remote-tracking branch 'origin/master' into develop 2022-07-01 14:39:35 +00:00
videowriter RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
wabi
wakizashi40 RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
woodpad RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
wulkan RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00
xealous Remove some layout exceptions (#16957) 2022-04-29 01:31:55 +01:00
xealousbrown Remove 1k USB_POLLING_INTERVAL_MS config from keyboards and default-ish keymaps (#16448) 2022-02-26 03:20:57 +00:00
z150 Provide better config defaults for bluepill boards (#16909) 2022-04-22 07:03:28 +10:00
zergo RESET -> QK_BOOT default keymaps (#17037) 2022-05-15 20:26:27 +01:00