Commit Graph

279 Commits

Author SHA1 Message Date
145a1eca1b Merge remote-tracking branch 'origin/master' into develop 2024-03-09 10:40:47 +00:00
900e79febe Attempt to deal with GCC 13+ and rv32 arch extensions. () 2024-03-09 21:40:19 +11:00
83e6ddbbb4 [Audio] Add support for audio shutdown pin ()
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-03-06 22:02:37 +11:00
73c4ca175b Merge remote-tracking branch 'origin/master' into develop 2024-03-02 18:20:47 +00:00
092ef661af Workaround for uart makefile issues () 2024-03-02 18:20:18 +00:00
569b0c70be WS2812 PWM: prefix for DMA defines ()
* WS2812 PWM: prefix for DMA defines

* Add backward compatibility defines
2024-03-02 17:16:47 +00:00
61fa6949fb [Core] Allow ChibiOS SIO driver for UART driver ()
* onekey: stm32f3_disco: add usart pins and activate peripheral

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* chibios: uart: change SD1 prefix to UART

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* chibios: uart: add SIO driver and RP2040 compatibility

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>

* Update platforms/chibios/drivers/uart.h

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

---------

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
2024-02-20 11:34:24 +01:00
865a8f42a6 WS2812 bitbang: prefix for NOP_FUDGE define () 2024-02-20 21:13:18 +11:00
2d1aed78a6 Update GPIO macro usages in core () 2024-02-18 17:08:27 +11:00
b8646bc40b Update naming convention for GPIO control macros () 2024-02-17 00:18:26 +11:00
3f6e362b8d Merge remote-tracking branch 'origin/master' into develop 2024-02-06 07:09:53 +00:00
45ae4dec4d WS2812: Better error message when trying to use bitbang driver on RP2040 () 2024-02-06 08:09:22 +01:00
93f20e012e Workaround for G431 eeprom emulation () 2024-02-03 19:09:18 +00:00
e9bd7d7ad3 I2C driver cleanup ()
* remove i2c_start and i2c_stop from i2c drivers

* remove static i2c_address variable from chibios i2c driver
2024-01-17 14:05:38 +01:00
a522b1f156 i2c: rename read/write register functions () 2024-01-16 02:26:40 +00:00
7ed3138e5f Remove PWM advanced check for WS2812 driver () 2024-01-05 12:27:55 +00:00
29f8fa35cf [Audio] Enable Complementary output for PWM Hardware driver ()
Co-authored-by: Joel Challis <git@zvecr.com>
2023-12-21 19:38:59 -08:00
229a1690a7 dac_additive: Decouple the buffer length from the waveform length ()
* dac_additive: Decouple the buffer length from the waveform length

* Formatting changes for the previous commit

* Reformat waveform tables with rows of 16 entries, ending at column 116

* Revert "Reformat waveform tables with rows of 16 entries, ending at column 116"

This reverts commit 6f2d37908d6e73e1505ce61e63190f32f051586f.
2023-12-12 20:06:56 +01:00
81cedf5fa5 Add ADC support STM32L4xx and STM32G4xx series MCUs ()
* Update analog.c

* Changes to remove errors in compile

* Update analog.c

Fix for RP2040 build errors

* Revert "Merge branch 'adc-add-stm32l4xx-stm32g4xx' of https://github.com/Cipulot/qmk_firmware into adc-add-stm32l4xx-stm32g4xx"

This reverts commit b11c2970785ce41ec772689749d71a2bd0ab48e7, reversing
changes made to ed3051f94109b53eb1735882abfe7f57473bdca8.

* Update analog.c

Attempt fix for formatting CI error

* Update platforms/chibios/drivers/analog.c

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

* Update platforms/chibios/drivers/analog.c

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

* Update platforms/chibios/drivers/analog.c

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

---------

Co-authored-by: Joel Challis <git@zvecr.com>
2023-12-08 01:26:44 +00:00
2450fe28ee Add Imera converter () 2023-11-28 17:53:47 +11:00
f96a7bbd63 Cater for ECC failures in EFL wear-leveling. ()
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-11-26 22:59:38 +11:00
3a5e4253fc Add simpler method for relocating functions to RAM. () 2023-11-22 12:08:52 +11:00
02d3b233ab chibios: disable RWX segment warning on newer GNU lds () 2023-11-13 23:45:40 +00:00
4c625d8286 Revert "chibios: disable RWX segment warning on newer GNU lds ()" ()
This reverts commit de3c42125b661f62757f8ee4f6184c089340d3a0.
2023-11-13 22:41:12 +00:00
de3c42125b chibios: disable RWX segment warning on newer GNU lds () 2023-11-13 22:29:12 +00:00
bf6f13a2b0 Consolidate some EEPROM Driver configuration () 2023-10-23 00:37:27 +01:00
2b8d9f3193 ChibiOS pin defs: use only vendor if present () 2023-10-21 14:02:03 +11:00
1bff37781b Prep work for NKRO report separation ()
* Clean up some keyboard/userspace code

* Rename `KEYBOARD_REPORT_BITS` -> `NKRO_REPORT_BITS`

* Add some missing includes

* Use `PACKED` define for report types

* Fix incorrect function signatures for FlexRAM EEPROM driver
2023-10-14 13:21:20 +02:00
fc25b92e0f Merge remote-tracking branch 'origin/master' into develop 2023-09-26 02:21:14 +00:00
8d9c770a81 Fix entry into bootloader for STM32G431. () 2023-09-26 12:20:32 +10:00
21ed9b4575 Simplify more feature driver defines () 2023-09-25 13:06:42 +10:00
61702b2564 Set default board files for uf2boot bootloader () 2023-09-25 13:05:28 +10:00
c597731d1d Merge remote-tracking branch 'upstream/master' into develop 2023-09-25 13:03:02 +10:00
4d994458f0 Document the RP2040-specific PS/2 implementation ()
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
2023-09-25 13:00:13 +10:00
408d61dcfb Chibios SPI driver: allow some SPI pins to be left unassigned ()
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-09-25 12:54:22 +10:00
2f4e1a78ad Reduce popping during audio initialization using the additive DAC () 2023-09-25 12:26:32 +10:00
1d94de5358 Optimize the additive DAC code, fixing performance-related hangs () 2023-09-25 12:26:02 +10:00
8f9847248a Merge remote-tracking branch 'origin/master' into develop 2023-09-18 18:56:34 +00:00
16f2a3e2f8 Add missing gpio include to ps2 vendor () 2023-09-18 19:55:51 +01:00
78fdebb130 Merge remote-tracking branch 'origin/master' into develop 2023-09-17 12:19:00 +00:00
1fbd45a594 Add missing gpio and chibios defs to uart.h () 2023-09-17 13:18:26 +01:00
1b637287a1 Default wear leveling logical size to half backing () 2023-09-14 07:13:21 +10:00
b9f2121d10 chibios: mark boot2 bootlader data readonly () 2023-09-13 16:48:38 +10:00
bd2e59af60 Fixed WB32 MCU remote wakeup issue ()
Co-authored-by: Joy <chang.li@westberrytech.com>
2023-09-12 15:57:18 +10:00
3aebc8acb0 Add RTC IRQ Priority to RP2040 board files () 2023-09-06 04:51:34 +01:00
41bd4e35a0 Clean up RGB LED type () 2023-09-04 01:19:59 +01:00
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
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 e8e989fd7ad7c10e725e50ae8b0a4426e09f7f30.

* 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
e971ce290c Remove needless precision in additive DAC sample generation () 2023-07-26 21:06:14 -07:00
821db155f2 Fix stuck note with square wave in additive DAC () 2023-07-26 21:00:27 -07:00