Nick Brassel
8d9c770a81
Fix entry into bootloader for STM32G431. ( #22138 )
8 months ago
Ryan
21ed9b4575
Simplify more feature driver defines ( #22090 )
8 months ago
Joel Challis
61702b2564
Set default board files for uf2boot bootloader ( #22129 )
8 months ago
Michael Büchler
4d994458f0
Document the RP2040-specific PS/2 implementation ( #22079 )
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
8 months ago
Purdea Andrei
408d61dcfb
Chibios SPI driver: allow some SPI pins to be left unassigned ( #20315 )
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
8 months ago
Andre Brait
960d6e0d7d
[Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr ( #21667 )
Co-authored-by: Nebuleon <2391500+Nebuleon@users.noreply.github.com>
8 months ago
Nebuleon
2f4e1a78ad
Reduce popping during audio initialization using the additive DAC ( #21642 )
8 months ago
Nebuleon
1d94de5358
Optimize the additive DAC code, fixing performance-related hangs ( #21662 )
8 months ago
Dasky
16f2a3e2f8
Add missing gpio include to ps2 vendor ( #22063 )
9 months ago
Constantine Karos
1fbd45a594
Add missing gpio and chibios defs to uart.h ( #22033 )
9 months ago
Joel Challis
1b637287a1
Default wear leveling logical size to half backing ( #22006 )
9 months ago
Thomas Weißschuh
b9f2121d10
chibios: mark boot2 bootlader data readonly ( #21986 )
9 months ago
Joy Lee
bd2e59af60
Fixed WB32 MCU remote wakeup issue ( #20863 )
Co-authored-by: Joy <chang.li@westberrytech.com>
9 months ago
Joel Challis
06cec720dd
Remove 'Firmware size check does not yet support' message ( #21977 )
9 months ago
Drashna Jaelre
3aebc8acb0
Add RTC IRQ Priority to RP2040 board files ( #21926 )
9 months ago
Ryan
41bd4e35a0
Clean up RGB LED type ( #21859 )
9 months ago
Daniel Schaefer
dd887eae36
[Core] Allow customizing PWM frequency ( #21717 )
* [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>
9 months ago
Drashna Jaelre
25331be316
Revert changes to ChibiOS Suspend Code ( #21830 )
* 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 e8e989fd7a
.
* Apply suggestions from code review
Co-authored-by: Joel Challis <git@zvecr.com>
---------
Co-authored-by: Joel Challis <git@zvecr.com>
9 months ago
Thomas Weißschuh
f699fde7d9
Generalize AVR -Werror=array-bounds workaround ( #21798 )
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
10 months ago
Nebuleon
e971ce290c
Remove needless precision in additive DAC sample generation ( #21498 )
10 months ago
Nebuleon
821db155f2
Fix stuck note with square wave in additive DAC ( #21589 )
10 months ago
Nebuleon
a5e33b1c28
Allow the user to select one tone for the additive DAC ( #21591 )
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.
11 months ago
Ryan
4137685f8e
backlight: split AVR PWM and timer drivers ( #21540 )
11 months ago
Ryan
da2d2f947d
quantum: remove direct `quantum.h` includes ( #21507 )
11 months ago
Ryan
b9e5895184
Eliminate `TMK_COMMON_*` in makefiles ( #21517 )
11 months ago
Ryan
b6d9409d2f
drivers: remove direct `quantum.h` includes ( #21473 )
11 months ago
Ryan
cb2331713c
Relocate backlight drivers ( #21444 )
11 months ago
Pascal Getreuer
a8a87a0922
[Core] Simplify audio_duration_to_ms() and audio_ms_to_duration(), reduce firmware size by a few bytes. ( #21427 )
11 months ago
Ryan
87b11345a5
Get rid of `USB_LED_CAPS_LOCK` ( #21436 )
11 months ago
Nick Brassel
2976bd627e
Fixup STM32-DFU ( #21447 )
11 months ago
Sergey Vlasov
b708658e2e
usbpd_stm32g4: Configure UCPD before disabling the dead battery mode ( #21430 )
11 months ago
Nick Brassel
c814be0296
STM32H723 support ( #21352 )
11 months ago
Stefan Kerkmann
be3205fae0
Minor board clean-up after #19780 ( #21391 )
11 months ago
Stefan Kerkmann
a87c74ebe1
[Bug] Fix non-functional S3 wakeup / resume from suspense ( #19780 )
* 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. 02516cbc24
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
11 months ago
Nick Brassel
416af0171c
Remove CORTEX_ENABLE_WFI_IDLE from keyboards. ( #21353 )
* Remove CORTEX_ENABLE_WFI_IDLE from the codebase.
* Turn on CORTEX_ENABLE_WFI_IDLE by default.
1 year ago
Nick Brassel
ffdc70bf0a
Consolidate `KEYBOARD_OUTPUT`+`KEYMAP_OUTPUT`=>`INTERMEDIATE_OUTPUT` ( #21272 )
1 year ago
Nick Brassel
0774381f81
Swap G431 to transient EEPROM. Add G431 and G474 onekeys. ( #21282 )
1 year ago
dexter93
27120f2fb6
platfoms: chibios: wait: only define the frequency ( #21115 )
1 year ago
Joel Challis
3969d7045e
Duplicate board files for blok converter ( #20629 )
* Duplicate board files for blok converter
* Swap converters board file too
* Update platforms/chibios/boards/QMK_BLOK/configs/board.h
1 year ago
Joel Challis
62be3a7447
Revert use of legacy wear leveling driver now ChibiOS is fixed ( #20806 )
1 year ago
Drashna Jaelre
cf5626e024
[Bug] Fix compilation issues with PS/2 driver on F4x1 controllers ( #20433 )
1 year ago
Ryan
47966dc2a6
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` ( #20303 )
1 year ago
Nick Brassel
06c5c02804
Disable specific warnings to mitigate compilation problems with `KEEP_INTERMEDIATES=yes`. ( #20339 )
1 year ago
Purdea Andrei
368fee9655
rp2040: *_PAL_MODE overridable for this platform too ( #20314 )
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
1 year ago
Ryan
647c2835e6
WS2812 driver improvements ( #20262 )
1 year ago
Marek Kraus
e640fd65ff
[Core] PS/2 PIO Driver for RP2040 ( #17893 )
Co-authored-by: Johannes H. Jensen <joh@pseudoberries.com>
1 year ago
Joel Challis
b01dc36fbf
Tidy up duplication of MIN/MAX fallback implementations ( #20236 )
1 year ago
Joel Challis
50cb8a3bf5
Remove bootloader logic from `mcu_selection.mk` ( #20150 )
* Remove bootloader logic from mcu_selection.mk
* Move MCU/BOOTLOADER to info.json
1 year ago
leah-splitkb
46bbb81dd2
Add RP2040 Community Edition alias for Liatris ( #19966 )
1 year ago
Joel Challis
be781927c1
Merge upstream changes to uf2conv ( #19993 )
1 year ago