summaryrefslogtreecommitdiff
path: root/platforms
AgeCommit message (Collapse)Author
2023-09-03[Core] Allow customizing PWM frequency (#21717)Daniel Schaefer
* [Core] Allow customizing PWM frequency Some frequencies can cause audible noise. Changing the frequency eliminates that. Signed-off-by: Daniel Schaefer <dhs@frame.work> * docs/feature-backlight: Mention PWM frequency Signed-off-by: Daniel Schaefer <dhs@frame.work> --------- Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-27Revert changes to ChibiOS Suspend Code (#21830)Drashna Jaelre
* 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>
2023-08-23Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-08-23Generalize AVR -Werror=array-bounds workaround (#21798)Thomas Weißschuh
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
2023-07-26Remove needless precision in additive DAC sample generation (#21498)Nebuleon
2023-07-26Fix stuck note with square wave in additive DAC (#21589)Nebuleon
2023-07-23Allow the user to select one tone for the additive DAC (#21591)Nebuleon
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.
2023-07-21backlight: split AVR PWM and timer drivers (#21540)Ryan
2023-07-16quantum: remove direct `quantum.h` includes (#21507)Ryan
2023-07-15Eliminate `TMK_COMMON_*` in makefiles (#21517)Ryan
2023-07-09drivers: remove direct `quantum.h` includes (#21473)Ryan
2023-07-08Relocate backlight drivers (#21444)Ryan
2023-07-08[Core] Simplify audio_duration_to_ms() and audio_ms_to_duration(), reduce ↵Pascal Getreuer
firmware size by a few bytes. (#21427)
2023-07-06Get rid of `USB_LED_CAPS_LOCK` (#21436)Ryan
2023-07-04Fixup STM32-DFU (#21447)Nick Brassel
2023-07-02Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-07-03usbpd_stm32g4: Configure UCPD before disabling the dead battery mode (#21430)Sergey Vlasov
2023-06-28STM32H723 support (#21352)Nick Brassel
2023-06-27Minor board clean-up after #19780 (#21391)Stefan Kerkmann
2023-06-26[Bug] Fix non-functional S3 wakeup / resume from suspense (#19780)Stefan Kerkmann
* 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
2023-06-23Remove CORTEX_ENABLE_WFI_IDLE from keyboards. (#21353)Nick Brassel
* Remove CORTEX_ENABLE_WFI_IDLE from the codebase. * Turn on CORTEX_ENABLE_WFI_IDLE by default.
2023-06-21Consolidate `KEYBOARD_OUTPUT`+`KEYMAP_OUTPUT`=>`INTERMEDIATE_OUTPUT` (#21272)Nick Brassel
2023-06-19Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-06-19Swap G431 to transient EEPROM. Add G431 and G474 onekeys. (#21282)Nick Brassel
2023-06-02platfoms: chibios: wait: only define the frequency (#21115)dexter93
2023-05-22Duplicate board files for blok converter (#20629)Joel Challis
* Duplicate board files for blok converter * Swap converters board file too * Update platforms/chibios/boards/QMK_BLOK/configs/board.h
2023-05-09Revert use of legacy wear leveling driver now ChibiOS is fixed (#20806)Joel Challis
2023-04-12[Bug] Fix compilation issues with PS/2 driver on F4x1 controllers (#20433)Drashna Jaelre
2023-04-06Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)Ryan
2023-04-05Disable specific warnings to mitigate compilation problems with ↵Nick Brassel
`KEEP_INTERMEDIATES=yes`. (#20339)
2023-04-04rp2040: *_PAL_MODE overridable for this platform too (#20314)Purdea Andrei
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-03-30WS2812 driver improvements (#20262)Ryan
2023-03-25[Core] PS/2 PIO Driver for RP2040 (#17893)Marek Kraus
Co-authored-by: Johannes H. Jensen <joh@pseudoberries.com>
2023-03-23Tidy up duplication of MIN/MAX fallback implementations (#20236)Joel Challis
2023-03-18Remove bootloader logic from `mcu_selection.mk` (#20150)Joel Challis
* Remove bootloader logic from mcu_selection.mk * Move MCU/BOOTLOADER to info.json
2023-03-10Add RP2040 Community Edition alias for Liatris (#19966)leah-splitkb
2023-03-03Merge upstream changes to uf2conv (#19993)Joel Challis
2023-02-12Add rp2040_ce and add elite-pi and helios as alias (#19830)Joel Challis
* 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>
2023-02-12Fix build failures with `OPT = 0` due to inline functions (#19767)Sergey Vlasov
Co-authored-by: Joel Challis <git@zvecr.com>
2023-02-09Add Michi MCU Converter support (#19163)miguelelinventor
2023-01-31Remove usages of config_common.h from config.h files. (#19714)Nick Brassel
2023-01-28Fix quantum ring_buffer for ChibiOS (#19683)Joel Challis
2023-01-29Split out mcu_selection to platform (#19701)Joel Challis
2023-01-25analog.c: Fix `pinToMux()` for STM32F0xx (#19658)Sergey Vlasov
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).
2023-01-23[Bug] rp2040: fix timer wrap deadlock in ws2812 vendor driver (#19652)Stefan Kerkmann
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-01-24Corrections to uart driver for Chibios platform (#19075)David Hoelscher
2023-01-20Fix functions with empty params (#19647)Ryan
* Fix functions with empty params * Found a bunch more
2023-01-19Merge remote-tracking branch 'origin/master' into developQMK Bot
2023-01-19Fixup ChibiOS header inclusion search ordering. (#19623)Nick Brassel
* Add STM32F446-Nucleo onekey. * Fixup onekey build for F446, all keymaps. * Fixup board inclusion search ordering.
2023-01-19De-duplicate platform detection (#19603)Joel Challis