summaryrefslogtreecommitdiffstats
path: root/platforms/chibios/chibios_config.h
Commit message (Collapse)AuthorAgeFilesLines
* [Core] PWM Backlight for RP2040 (#17706)Stefan Kerkmann2022-10-041-0/+4
|
* Allow MCU-specific overrides for SPI flags. (#17650)Nick Brassel2022-07-131-0/+15
|
* [Core] Use polled waiting on ChibiOS platforms that support it (#17607)Stefan Kerkmann2022-07-111-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Tentative Teensy 3.5 support (#14420)Ryan2022-07-031-1/+1
| | | | | | | | | | | * Tentative Teensy 3.5 support * Set firmware format to .hex for ARM Teensys * Got to "device descriptor failed" by comparing with Teensy 3.6 code * Drop down to 96MHz... * Bump back up to 120MHz
* [Core] Add Raspberry Pi RP2040 support (#14877)Stefan Kerkmann2022-06-301-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Disable RESET keycode because of naming conflicts * Add Pico SDK as submodule * Add RP2040 build support to QMK * Adjust USB endpoint structs for RP2040 * Add RP2040 bootloader and double-tap reset routine * Add generic and pro micro RP2040 boards * Add RP2040 onekey keyboard * Add WS2812 PIO DMA enabled driver and documentation Supports regular and open-drain output configuration. RP2040 GPIOs are sadly not 5V tolerant, so this is a bit use-less or needs extra hardware or you take the risk to fry your hardware. * Adjust SIO Driver for RP2040 * Adjust I2C Driver for RP2040 * Adjust SPI Driver for RP2040 * Add PIO serial driver and documentation * Add general RP2040 documentation * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Added support for Wb32fq95 (#16871)Joy Lee2022-05-231-1/+1
|
* Format code according to conventions (#16322)QMK Bot2022-02-121-2/+2
|
* Westberrytech pr (#14422)Joy Lee2021-11-271-0/+12
| | | | | | | * Added support for WB32 MCU * Modified eeprom_wb32.c * Remove the eeprom_wb32-related code
* Move tmk_core/common/<plat> (#13918)Joel Challis2021-11-191-0/+78