summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/teensy_2pp/config.h
AgeCommit message (Collapse)Author
2022-08-20Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-08-20Move keyboard USB IDs and strings to data driven, pass 2: handwired (#18079)Ryan
2022-08-06Remove `UNUSED_PINS` (#17931)Nick Brassel
2022-07-11[Core] Use polled waiting on ChibiOS platforms that support it (#17607)Stefan Kerkmann
* 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
2021-07-30Onekey cleanup (#13786)Ryan
2020-03-24Set backlight and RGB pins for AVR onekeys (#8533)Ryan
* Set backlight and RGB pins for AVR onekeys * Set pin for ADC as well * Define ADC_PIN for F4 blackpills * Use A0 for F4 ADCs * Set ADC pins for F0 and F1
2019-06-26[Keyboard] Refactor of onekey to support multiple development boards (#6017)Joel Challis
* Initial refactor of onekey to support multiple development boards * Fixes to get teensy lc && 3.2 working * Add pin tables * Add caveats to Teensy boards * Correct bootloader for Elite-C