diff options
author | Stefan Kerkmann <karlk90@pm.me> | 2021-07-02 00:24:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 08:24:08 +1000 |
commit | 117bff17ba89a70dd85163b499c262b879f52afd (patch) | |
tree | 055d7704c28711bd3c30ba8f55a2b3524395578b /platforms/chibios | |
parent | 47b12470e762732638a79e6752069564d6fb9649 (diff) | |
download | qmk_firmware-117bff17ba89a70dd85163b499c262b879f52afd.tar.gz qmk_firmware-117bff17ba89a70dd85163b499c262b879f52afd.zip |
[Core] Unite half-duplex and full-duplex serial drivers (#13081)
* Unite half-duplex and full-duplex serial driver.
* Add full duplex operation mode to the interrupt based driver
* Delete DMA UART based full duplex driver
* The new driver targets #11930
* Fix freezes with failing transactions in half-duplex
* Increase default serial TX/RX buffer size to 128 bytes
* Correctly use bool instead of size_t
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'platforms/chibios')
-rw-r--r-- | platforms/chibios/QMK_PROTON_C/configs/halconf.h | 2 | ||||
-rw-r--r-- | platforms/chibios/common/configs/halconf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platforms/chibios/QMK_PROTON_C/configs/halconf.h b/platforms/chibios/QMK_PROTON_C/configs/halconf.h index 41fbac29e..d7a639a6d 100644 --- a/platforms/chibios/QMK_PROTON_C/configs/halconf.h +++ b/platforms/chibios/QMK_PROTON_C/configs/halconf.h | |||
@@ -412,7 +412,7 @@ | |||
412 | * buffers. | 412 | * buffers. |
413 | */ | 413 | */ |
414 | #if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__) | 414 | #if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__) |
415 | #define SERIAL_BUFFERS_SIZE 16 | 415 | #define SERIAL_BUFFERS_SIZE 128 |
416 | #endif | 416 | #endif |
417 | 417 | ||
418 | /*===========================================================================*/ | 418 | /*===========================================================================*/ |
diff --git a/platforms/chibios/common/configs/halconf.h b/platforms/chibios/common/configs/halconf.h index 264ae4e6c..c80f67ee2 100644 --- a/platforms/chibios/common/configs/halconf.h +++ b/platforms/chibios/common/configs/halconf.h | |||
@@ -412,7 +412,7 @@ | |||
412 | * buffers. | 412 | * buffers. |
413 | */ | 413 | */ |
414 | #if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__) | 414 | #if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__) |
415 | #define SERIAL_BUFFERS_SIZE 16 | 415 | #define SERIAL_BUFFERS_SIZE 128 |
416 | #endif | 416 | #endif |
417 | 417 | ||
418 | /*===========================================================================*/ | 418 | /*===========================================================================*/ |