238 Commits (051401175d98e777a6633445a0275b54ed36e97a)

Author SHA1 Message Date
Joel Challis 896d9aa98c
Add rp2040_ce and add elite-pi and helios as alias (#19830)
* add rp2040_ce and add elite-pi and helios as alias (#19628)

* fix git mishap

* Update platforms/chibios/converters/promicro_to_rp2040_ce/_pin_defs.h

Co-authored-by: Joel Challis <git@zvecr.com>

---------

Co-authored-by: Joel Challis <git@zvecr.com>

* Tidy docs

---------

Co-authored-by: Conor Burns <mail@conor-burns.com>
3 years ago
Sergey Vlasov 584b7cf801
Fix build failures with `OPT = 0` due to inline functions (#19767)
Co-authored-by: Joel Challis <git@zvecr.com>
3 years ago
miguelelinventor e24f9b2c0a
Add Michi MCU Converter support (#19163) 3 years ago
Nick Brassel f6dd8dea2e
Remove usages of config_common.h from config.h files. (#19714) 3 years ago
Joel Challis 8cc2e0e906
Fix quantum ring_buffer for ChibiOS (#19683) 3 years ago
Joel Challis 832479c7fb
Split out mcu_selection to platform (#19701) 3 years ago
Sergey Vlasov 81ca83296f
analog.c: Fix `pinToMux()` for STM32F0xx (#19658)
The `adc_read()` code for STM32F0xx expects to get the 0-based channel
number in `mux.input`, but the `pinToMux()` code for STM32F0xx was
attempting to pass the CHSELR bit mask in that field, which resulted in
selecting a wrong channel, therefore `analogReadPin()` did not work
properly for the STM32F0xx chips.  Fix `pinToMux()` to put the channel
number in that field (this matches the behavior for other supported
chips and also allows selection of channels 16...18, which can be used
to access the builtin temperature, reference voltage and VBAT sensors).
3 years ago
Stefan Kerkmann 8ca3f0fb7c
[Bug] rp2040: fix timer wrap deadlock in ws2812 vendor driver (#19652)
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
3 years ago
David Hoelscher aea1194ea3
Corrections to uart driver for Chibios platform (#19075) 3 years ago
Ryan cf935d97ae
Fix functions with empty params (#19647)
* Fix functions with empty params

* Found a bunch more
3 years ago
QMK Bot 3723c0e3d5 Merge remote-tracking branch 'origin/master' into develop 3 years ago
Nick Brassel 327f7ee9a7
Fixup ChibiOS header inclusion search ordering. (#19623)
* Add STM32F446-Nucleo onekey. 

* Fixup onekey build for F446, all keymaps.

* Fixup board inclusion search ordering.
3 years ago
Joel Challis 0ce3f6bcfe
De-duplicate platform detection (#19603) 3 years ago
Sergey Vlasov 272281f1a0
Add analog support for RP2040 (#19453)
Co-authored-by: Ryan <fauxpark@gmail.com>
3 years ago
Joel Challis 12f1a30d16
Add alias support for converters (#19563) 3 years ago
Joel Challis 82a94ea1bd
Add f303 to tinyuf2 bootloader support (#19620) 3 years ago
Joel Challis 0730740add
Add mmoskal/uf2-stm32f103 bootloader support (#19594) 3 years ago
Stefan Kerkmann ec09087543
Update ChibiOS[-Contrib], SIO driver, configs (#17915)
Co-authored-by: Nick Brassel <nick@tzarc.org>
3 years ago
Joel Challis 46c85c93f0
Revert "De-duplicate platform detection (#19545)" (#19564)
This reverts commit e11235ee14.
3 years ago
Joel Challis e11235ee14
De-duplicate platform detection (#19545) 3 years ago
Stefan Kerkmann 962e4c0e18
[Test] Reset timer for every unit test and provide timestamps for log messages (#17028) 3 years ago
jpe230 102f22f7e9
[Core] Quantum Painter - LVGL Integration (#18499)
Co-authored-by: Nick Brassel <nick@tzarc.org>
3 years ago
Stefan Kerkmann 9dc3f79196
[RP2040] update i2c drivers to reflect peripheral number (#19277) 3 years ago
Ryan 701747ad4f
Teensy 3.5: do not restart USB stack after wakeup (#19269) 3 years ago
Michael Stapelberg 9e103a2c58
kint36: do not restart USB stack after wakeup (#19077) 3 years ago
Nick Brassel cf3c26533c
Fixup EFL and F4's sector selection. (#19221) 3 years ago
Nick Brassel bebfdad795
NVRAM refactor, phase 1. (#18969)
* Rename `eeprom_stm32` to `eeprom_legacy_emulated_flash`.

* Rename `flash_stm32` to `legacy_flash_ops`.

* Rename `eeprom_teensy` to `eeprom_kinetis_flexram`.
3 years ago
David Hoelscher a42ab90220
Add Bonsai C4 as a platform board file (#18901)
* Set up Bonsai C4 as a platform board file

* corrections and improvements based on testing and feedback

* Added VBUS sensing as default capability for improved split support using Bonsai C4

* Update clock divisor for SPI flash

Co-authored-by: Nick Brassel <nick@tzarc.org>

Co-authored-by: Nick Brassel <nick@tzarc.org>
3 years ago
Nick Brassel 092228571c
Move EFL wear-leveling driver to be default for F1, F3, F4, L4, G4, WB32, GD32V. (#19020) 3 years ago
jack dad5262425
Fixup WS2812 vendor driver (#19028) 3 years ago
Stefan Kerkmann 27dec8d16d
[Core] Allow custom timings for WS2812 PIO driver (#18006) 3 years ago
Drashna Jael're d9e559a78e
Merge remote-tracking branch 'origin/master' into develop 3 years ago
Joy Lee 9435ad19ee
Added analog support for WB32 MCU. (#18289)
Co-authored-by: Joy <chang.li@westberrytech.com>
3 years ago
Joel Challis 96c48a5f4a
Refactor to avoid deprecated wmic execution (#18122)
* wmic deprecated?

* Update platforms/avr/flash.mk

* Update platforms/avr/flash.mk
3 years ago
Stefan Kerkmann 19145704e4
[Core] Adjust PWM hardware audio driver for RP2040 (#17723) 3 years ago
Joel Challis 575db6949a
Generalise CTPC logic from common_features (#18803) 3 years ago
Thomas Kriechbaumer c4f99f06ab
ws2812: replace RGBLED_NUM with driver-owned constant to decouple driver from RGBLEDs/RGBMATRIX defines (#18036) 3 years ago
QMK Bot c57330d340 Merge remote-tracking branch 'origin/master' into develop 3 years ago
Nick Brassel f731e2789f
Allow Fedora to update ChibiOS configs. (#18698) 3 years ago
Joel Challis c59df9a54c
Fix some rp2040 hardware ID errors (#18617) 3 years ago
Joel Challis f120b39fb0
Update ChibiOS hardware ID (#18613) 3 years ago
Ryan 4d6fab1cfa
onekey: Enable ADC for STM32F072 Discovery (#18592) 3 years ago
Stefan Kerkmann 7e844a4d55
[Core] RP2040: use built-in integer hardware divider and optimized i64 multiplication (#18464) 3 years ago
Stefan Kerkmann 996a9006d3
[Core] PWM Backlight for RP2040 (#17706) 3 years ago
Stefan Kerkmann b6ea8837e4
[Bug] RP2040: only clear RX FIFO for serial pio driver clear (#18581) 3 years ago
Stefan Kerkmann 6bbcabe0cc
[Core] Serial-protocol: always clear receive queue on main half of split keyboard (#18419) 3 years ago
QMK Bot f5df1b155a Merge remote-tracking branch 'origin/master' into develop 3 years ago
Ryan cc1565f2a3
`:flash`: print bootloader (#18569) 3 years ago
Stefan Kerkmann b8ffaa6331
Copy RP2040 vector table to RAM on startup (#18424)
...this reduces possible latency when invoking interrupt handlers by
mitigating XIP cache misses which are not existent when running code from
RAM.
3 years ago
Stefan Kerkmann 881aab9e76
Stabilize Half-duplex PIO split comms take 2 (#18421)
...by moving the actually timing critical `enter_rx_state()` and
`leave_rx_state()` functions to RAM in order to not be affected by XIP
cache spikes. This commit also reverts the hacky USB interrupt disabling
that was done in 293c53d774
3 years ago