summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/promicro
Commit message (Collapse)AuthorAgeFilesLines
* Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)Ryan2023-04-061-1/+1
|
* Clean up APA102 config and add DD mapping (#20159)Ryan2023-03-202-3/+4
|
* Remove usages of config_common.h from config.h files. (#19714)Nick Brassel2023-01-311-1/+0
|
* Onekey: migrate some stuff to data driven (#18502)Ryan2022-09-303-12/+12
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-08-202-2/+3
|\
| * Move keyboard USB IDs and strings to data driven, pass 2: handwired (#18079)Ryan2022-08-202-2/+3
| |
* | Remove `UNUSED_PINS` (#17931)Nick Brassel2022-08-061-1/+0
| |
* | [Core] Use polled waiting on ChibiOS platforms that support it (#17607)Stefan Kerkmann2022-07-111-0/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | * 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
* Onekey cleanup (#13786)Ryan2021-07-302-7/+2
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-01-131-0/+0
|\
| * Exclude more keyboards from CI (#11436)Zach White2021-01-131-0/+0
| | | | | | | | | | * exclude all of handwired * exclude more keyboards from CI
* | Rewrite APA102 support (#10894)Aldehir Rojas2020-12-301-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rewrite APA102 support The APA102 source was broken by commit 16a15c1cfcbfd0feb2c2cf1383676747e2f97d73 as it did not include the quantum header. This commit addresses that, as well as other issues with transferring bytes over the SPI interface, i.e. it was not setting the clock pin back to low after sending a bit. The deviation when sending the end frame is kept, but updated to the latest from the referenced project. Finally, these changes expose the global LED brightness parameter of the APA102. Brightness values are configurable through `APA102_DEFAULT_BRIGHTNESS` and `APA102_MAX_BRIGHTNESS`. * Fix typo in led brightness extern * Move driver out of AVR directory and add delay for ARM * Experimental APA102 support on AVR and ARM Co-authored-by: Alde Rojas <hello@alde.io> * Refactor apa102_send_byte() calls to a loop * Implement io_wait function for ARM * Move APA102 drivers to own directory, fix copyright notice * Add APA102 keymap to handwired/onekey * Simplify RGBLIGHT_ENABLE/DRIVER option handling Co-authored-by: Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com>
* Initial list of keyboards to exclude from CI (#11213)Zach White2020-12-211-0/+0
|
* Set backlight and RGB pins for AVR onekeys (#8533)Ryan2020-03-241-0/+6
| | | | | | | | | | | * 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
* Cleanup rules.mk for 32U4 keyboards, H (#7030)fauxpark2019-10-201-48/+2
| | | | | | * Cleanup rules.mk for 32U4 keyboards, H * Change some boards incorrectly assumed to be halfkay
* [Keyboard] Refactor of onekey to support multiple development boards (#6017)Joel Challis2019-06-263-0/+84
* 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