1
0
Fork 0
forked from forks/qmk_firmware
Commit graph

285 commits

Author SHA1 Message Date
QMK Bot 8f9847248a Merge remote-tracking branch 'origin/master' into develop 2023-09-18 18:56:34 +00:00
Dasky 16f2a3e2f8
Add missing gpio include to ps2 vendor () 2023-09-18 19:55:51 +01:00
QMK Bot 78fdebb130 Merge remote-tracking branch 'origin/master' into develop 2023-09-17 12:19:00 +00:00
Constantine Karos 1fbd45a594
Add missing gpio and chibios defs to uart.h () 2023-09-17 13:18:26 +01:00
Joel Challis 1b637287a1
Default wear leveling logical size to half backing () 2023-09-14 07:13:21 +10:00
Thomas Weißschuh b9f2121d10
chibios: mark boot2 bootlader data readonly () 2023-09-13 16:48:38 +10:00
Joy Lee bd2e59af60
Fixed WB32 MCU remote wakeup issue ()
Co-authored-by: Joy <chang.li@westberrytech.com>
2023-09-12 15:57:18 +10:00
Joel Challis 06cec720dd
Remove 'Firmware size check does not yet support' message () 2023-09-12 05:16:39 +01:00
Drashna Jaelre 3aebc8acb0
Add RTC IRQ Priority to RP2040 board files () 2023-09-06 04:51:34 +01:00
Ryan 41bd4e35a0
Clean up RGB LED type () 2023-09-04 01:19:59 +01:00
Daniel Schaefer dd887eae36
[Core] Allow customizing PWM frequency ()
* [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-09-03 14:56:02 +02:00
Drashna Jaelre 25331be316
Revert changes to ChibiOS Suspend Code ()
* Partially revert 

* Finish

* Get teensy 3.5/3.6 board files too

* fix lint issue

* Revert "[Bug] Restore usb suspend wakeup delay ()"

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>
2023-08-27 03:52:12 +01:00
QMK Bot 79491e35e1 Merge remote-tracking branch 'origin/master' into develop 2023-08-23 19:55:42 +00:00
Thomas Weißschuh f699fde7d9
Generalize AVR -Werror=array-bounds workaround ()
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 
2023-08-23 20:55:03 +01:00
Nebuleon e971ce290c
Remove needless precision in additive DAC sample generation () 2023-07-26 21:06:14 -07:00
Nebuleon 821db155f2
Fix stuck note with square wave in additive DAC () 2023-07-26 21:00:27 -07:00
Nebuleon a5e33b1c28
Allow the user to select one tone for the additive DAC ()
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-23 11:44:41 +01:00
Ryan 4137685f8e
backlight: split AVR PWM and timer drivers () 2023-07-21 09:27:55 +10:00
Ryan da2d2f947d
quantum: remove direct quantum.h includes () 2023-07-16 23:42:56 +10:00
Ryan b9e5895184
Eliminate TMK_COMMON_* in makefiles () 2023-07-15 17:27:32 +10:00
Ryan b6d9409d2f
drivers: remove direct quantum.h includes () 2023-07-09 20:03:50 +10:00
Ryan cb2331713c
Relocate backlight drivers () 2023-07-08 23:13:10 +10:00
Pascal Getreuer a8a87a0922
[Core] Simplify audio_duration_to_ms() and audio_ms_to_duration(), reduce firmware size by a few bytes. () 2023-07-08 00:47:16 +10:00
Ryan 87b11345a5
Get rid of USB_LED_CAPS_LOCK () 2023-07-06 09:48:02 +01:00
Nick Brassel 2976bd627e
Fixup STM32-DFU () 2023-07-04 21:16:14 +10:00
QMK Bot ed6528b3e3 Merge remote-tracking branch 'origin/master' into develop 2023-07-02 22:54:27 +00:00
Sergey Vlasov b708658e2e
usbpd_stm32g4: Configure UCPD before disabling the dead battery mode () 2023-07-03 08:53:54 +10:00
Nick Brassel c814be0296
STM32H723 support () 2023-06-28 13:07:14 +10:00
Stefan Kerkmann be3205fae0
Minor board clean-up after () 2023-06-27 09:54:31 +10:00
Stefan Kerkmann a87c74ebe1
[Bug] Fix non-functional S3 wakeup / resume from suspense ()
* 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
2023-06-26 23:55:52 +02:00
Nick Brassel 416af0171c
Remove CORTEX_ENABLE_WFI_IDLE from keyboards. ()
* Remove CORTEX_ENABLE_WFI_IDLE from the codebase.

* Turn on CORTEX_ENABLE_WFI_IDLE by default.
2023-06-23 20:31:25 +01:00
Nick Brassel ffdc70bf0a
Consolidate KEYBOARD_OUTPUT+KEYMAP_OUTPUT=>INTERMEDIATE_OUTPUT () 2023-06-21 08:41:49 +10:00
QMK Bot 2ea02c3995 Merge remote-tracking branch 'origin/master' into develop 2023-06-19 05:03:28 +00:00
Nick Brassel 0774381f81
Swap G431 to transient EEPROM. Add G431 and G474 onekeys. () 2023-06-19 15:02:57 +10:00
dexter93 27120f2fb6
platfoms: chibios: wait: only define the frequency () 2023-06-02 14:41:05 -07:00
Joel Challis 3969d7045e
Duplicate board files for blok converter ()
* Duplicate board files for blok converter

* Swap converters board file too

* Update platforms/chibios/boards/QMK_BLOK/configs/board.h
2023-05-22 07:04:19 +01:00
Joel Challis 62be3a7447
Revert use of legacy wear leveling driver now ChibiOS is fixed () 2023-05-09 17:52:37 +10:00
Drashna Jaelre cf5626e024
[Bug] Fix compilation issues with PS/2 driver on F4x1 controllers () 2023-04-12 21:43:27 -07:00
Ryan 47966dc2a6
Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin () 2023-04-06 18:00:54 +10:00
Nick Brassel 06c5c02804
Disable specific warnings to mitigate compilation problems with KEEP_INTERMEDIATES=yes. () 2023-04-05 14:59:09 +10:00
Purdea Andrei 368fee9655
rp2040: *_PAL_MODE overridable for this platform too ()
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-04-04 09:07:36 +10:00
Ryan 647c2835e6
WS2812 driver improvements () 2023-03-30 12:21:02 +11:00
Marek Kraus e640fd65ff
[Core] PS/2 PIO Driver for RP2040 ()
Co-authored-by: Johannes H. Jensen <joh@pseudoberries.com>
2023-03-25 11:48:28 +01:00
Joel Challis b01dc36fbf
Tidy up duplication of MIN/MAX fallback implementations () 2023-03-23 05:30:30 +00:00
Joel Challis 50cb8a3bf5
Remove bootloader logic from mcu_selection.mk ()
* Remove bootloader logic from mcu_selection.mk

* Move MCU/BOOTLOADER to info.json
2023-03-18 21:19:26 +00:00
leah-splitkb 46bbb81dd2
Add RP2040 Community Edition alias for Liatris () 2023-03-10 12:47:10 -08:00
Joel Challis be781927c1
Merge upstream changes to uf2conv () 2023-03-03 10:26:37 +11:00
Joel Challis 896d9aa98c
Add rp2040_ce and add elite-pi and helios as alias ()
* add rp2040_ce and add elite-pi and helios as alias ()

* 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-12 23:02:05 +00:00
Sergey Vlasov 584b7cf801
Fix build failures with OPT = 0 due to inline functions ()
Co-authored-by: Joel Challis <git@zvecr.com>
2023-02-12 17:14:34 +11:00
miguelelinventor e24f9b2c0a
Add Michi MCU Converter support () 2023-02-09 11:27:37 -08:00