summaryrefslogtreecommitdiffstats
path: root/platforms
Commit message (Collapse)AuthorAgeFilesLines
* Revert changes to ChibiOS Suspend Code (#21830)Drashna Jaelre2023-08-278-1/+49
| | | | | | | | | | | | | | | | | | | | | * Partially revert #19780 * Finish * Get teensy 3.5/3.6 board files too * fix lint issue * Revert "[Bug] Restore usb suspend wakeup delay (#21676)" This reverts commit e8e989fd7ad7c10e725e50ae8b0a4426e09f7f30. * Apply suggestions from code review Co-authored-by: Joel Challis <git@zvecr.com> --------- Co-authored-by: Joel Challis <git@zvecr.com>
* Merge remote-tracking branch 'origin/master' into developQMK Bot2023-08-231-2/+1
|\
| * Generalize AVR -Werror=array-bounds workaround (#21798)Thomas Weißschuh2023-08-231-2/+1
| | | | | | | | | | | | | | | | | | | | GCC 13 needs the same workaround as GCC 12. To avoid having to maintain an ever-growing list of broken versions apply the workaround wherever it can be used. If at some point a fixed version of GCC is released the workaround can be disabled for those fixed versions. See #17064
* | Remove needless precision in additive DAC sample generation (#21498)Nebuleon2023-07-261-1/+1
| |
* | Fix stuck note with square wave in additive DAC (#21589)Nebuleon2023-07-261-1/+1
| |
* | Allow the user to select one tone for the additive DAC (#21591)Nebuleon2023-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | Previously, if the user tried to use `#define AUDIO_MAX_SIMULTANEOUS_TONES 1` to conserve CPU time, their firmware would fail to build with this error: ``` platforms/chibios/drivers/audio_dac_additive.c:91:73: error: excess elements in array initializer [-Werror] 91 | static float active_tones_snapshot[AUDIO_MAX_SIMULTANEOUS_TONES] = {0, 0}; | ^ ``` This also affected the preset `#define AUDIO_DAC_QUALITY_VERY_HIGH`, which called up only one simultaneous tone at 88200 Hz.
* | backlight: split AVR PWM and timer drivers (#21540)Ryan2023-07-212-168/+299
| |
* | quantum: remove direct `quantum.h` includes (#21507)Ryan2023-07-165-14/+8
| |
* | Eliminate `TMK_COMMON_*` in makefiles (#21517)Ryan2023-07-152-3/+3
| |
* | drivers: remove direct `quantum.h` includes (#21473)Ryan2023-07-0914-21/+28
| |
* | Relocate backlight drivers (#21444)Ryan2023-07-083-0/+814
| |
* | [Core] Simplify audio_duration_to_ms() and audio_ms_to_duration(), reduce ↵Pascal Getreuer2023-07-082-0/+36
| | | | | | | | firmware size by a few bytes. (#21427)
* | Get rid of `USB_LED_CAPS_LOCK` (#21436)Ryan2023-07-062-7/+13
| |
* | Fixup STM32-DFU (#21447)Nick Brassel2023-07-041-7/+8
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2023-07-021-2/+5
|\|
| * usbpd_stm32g4: Configure UCPD before disabling the dead battery mode (#21430)Sergey Vlasov2023-07-031-2/+5
| |
* | STM32H723 support (#21352)Nick Brassel2023-06-287-15/+671
| |
* | Minor board clean-up after #19780 (#21391)Stefan Kerkmann2023-06-273-23/+0
| |
* | [Bug] Fix non-functional S3 wakeup / resume from suspense (#19780)Stefan Kerkmann2023-06-2611-32/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update ChibiOS-Contrib for USB suspend fixes * Remove S3 wakup workaround ChibiOS OTGv1 driver has a remote wakeup bug that prevents the device to resume it's operation. 02516cbc24647f522eee975e69cc0c8a925470eb introduced a hotfix that forcefully restarted the usb driver as a workaround. This workaround broke multiple boards which do not use this driver / peripheral. With the update of ChibiOS this hotfix is now obsolete. * Remove restart_usb_driver overrides they are no longer necessary as the workaround is not needed anymore for stm32f4 * Remove unused RP_USB_USE_SOF_INTR defines The SOF interrupt is enabled dynamically by the RP2040 usb driver
* | Remove CORTEX_ENABLE_WFI_IDLE from keyboards. (#21353)Nick Brassel2023-06-232-0/+16
| | | | | | | | | | * Remove CORTEX_ENABLE_WFI_IDLE from the codebase. * Turn on CORTEX_ENABLE_WFI_IDLE by default.
* | Consolidate `KEYBOARD_OUTPUT`+`KEYMAP_OUTPUT`=>`INTERMEDIATE_OUTPUT` (#21272)Nick Brassel2023-06-211-1/+2
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2023-06-191-0/+3
|\|
| * Swap G431 to transient EEPROM. Add G431 and G474 onekeys. (#21282)Nick Brassel2023-06-191-0/+3
| |
* | platfoms: chibios: wait: only define the frequency (#21115)dexter932023-06-021-1/+1
|/
* Duplicate board files for blok converter (#20629)Joel Challis2023-05-227-1/+178
| | | | | | | * Duplicate board files for blok converter * Swap converters board file too * Update platforms/chibios/boards/QMK_BLOK/configs/board.h
* Revert use of legacy wear leveling driver now ChibiOS is fixed (#20806)Joel Challis2023-05-091-4/+0
|
* [Bug] Fix compilation issues with PS/2 driver on F4x1 controllers (#20433)Drashna Jaelre2023-04-121-0/+1
|
* Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)Ryan2023-04-066-20/+20
|
* Disable specific warnings to mitigate compilation problems with ↵Nick Brassel2023-04-053-0/+16
| | | | `KEEP_INTERMEDIATES=yes`. (#20339)
* rp2040: *_PAL_MODE overridable for this platform too (#20314)Purdea Andrei2023-04-041-7/+21
| | | | Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* WS2812 driver improvements (#20262)Ryan2023-03-303-5/+5
|
* [Core] PS/2 PIO Driver for RP2040 (#17893)Marek Kraus2023-03-251-0/+271
| | | | Co-authored-by: Johannes H. Jensen <joh@pseudoberries.com>
* Tidy up duplication of MIN/MAX fallback implementations (#20236)Joel Challis2023-03-232-6/+2
|
* Remove bootloader logic from `mcu_selection.mk` (#20150)Joel Challis2023-03-187-21/+97
| | | | | * Remove bootloader logic from mcu_selection.mk * Move MCU/BOOTLOADER to info.json
* Add RP2040 Community Edition alias for Liatris (#19966)leah-splitkb2023-03-102-0/+4
|
* Merge upstream changes to uf2conv (#19993)Joel Challis2023-03-031-9/+1
|
* Add rp2040_ce and add elite-pi and helios as alias (#19830)Joel Challis2023-02-128-4/+14
| | | | | | | | | | | | | | | | | | | * 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>
* Fix build failures with `OPT = 0` due to inline functions (#19767)Sergey Vlasov2023-02-124-0/+33
| | | Co-authored-by: Joel Challis <git@zvecr.com>
* Add Michi MCU Converter support (#19163)miguelelinventor2023-02-092-0/+45
|
* Remove usages of config_common.h from config.h files. (#19714)Nick Brassel2023-01-311-1/+1
|
* Fix quantum ring_buffer for ChibiOS (#19683)Joel Challis2023-01-282-6/+21
|
* Split out mcu_selection to platform (#19701)Joel Challis2023-01-292-0/+920
|
* analog.c: Fix `pinToMux()` for STM32F0xx (#19658)Sergey Vlasov2023-01-251-16/+16
| | | | | | | | | | 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).
* [Bug] rp2040: fix timer wrap deadlock in ws2812 vendor driver (#19652)Stefan Kerkmann2023-01-232-6/+10
| | | Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* Corrections to uart driver for Chibios platform (#19075)David Hoelscher2023-01-242-9/+6
|
* Fix functions with empty params (#19647)Ryan2023-01-203-4/+4
| | | | | * Fix functions with empty params * Found a bunch more
* Merge remote-tracking branch 'origin/master' into developQMK Bot2023-01-1917-17/+17
|\
| * Fixup ChibiOS header inclusion search ordering. (#19623)Nick Brassel2023-01-1917-17/+17
| | | | | | | | | | | | | | | | * Add STM32F446-Nucleo onekey. * Fixup onekey build for F446, all keymaps. * Fixup board inclusion search ordering.
* | De-duplicate platform detection (#19603)Joel Challis2023-01-194-0/+9
| |
* | Add analog support for RP2040 (#19453)Sergey Vlasov2023-01-195-8/+21
| | | | | | Co-authored-by: Ryan <fauxpark@gmail.com>