summaryrefslogtreecommitdiff
path: root/platforms/chibios/drivers/serial.c
AgeCommit message (Collapse)Author
2024-02-18Update GPIO macro usages in core (#23093)Ryan
2023-09-25Simplify more feature driver defines (#22090)Ryan
2023-07-09drivers: remove direct `quantum.h` includes (#21473)Ryan
2022-07-11[Core] Use polled waiting on ChibiOS platforms that support it (#17607)Stefan Kerkmann
* Use polled waiting on platforms that support it Due to context switching overhead waiting a very short amount of time on a sleeping thread is often not accurate and in fact not usable for timing critical usage i.e. in a driver. Thus we use polled waiting for ranges in the us range on platforms that support it instead. The fallback is the thread sleeping mechanism. This includes: * ARM platforms with CYCCNT register (ARMv7, ARMv8) this is incremented at CPU clock frequency * GD32VF103 RISC-V port with CSR_MCYCLE register this is incremented at CPU clock frequency * RP2040 ARMv6 port which uses the integrated timer peripheral which is incremented with a fixed 1MHz frequency * Use wait_us() instead of chSysPolledDelayX ...as it is powered by busy waiting now. * Add chibios waiting methods test bench
2022-06-21[BUG] Fix deadlocks on disconnected secondary half (#17423)Stefan Kerkmann
2022-06-18[Core] Split ChibiOS usart split driver in protocol and hardware driver part ↵Stefan Kerkmann
(#16669)
2022-04-19[Core] Use a mutex guard for split shared memory (#16647)Stefan Kerkmann
2022-03-23[Bug] Fix unused variable error when using ChibiOS Bitbang serial driver ↵Drashna Jaelre
(#16709)
2022-02-12Format code according to conventions (#16322)QMK Bot
2022-01-26Deprecate split transactions status field (#16023)Stefan Kerkmann
2021-09-14Refactor use of STM32_SYSCLK (#14430)Joel Challis
* Refactor use of STM32_SYSCLK * clang
2021-08-17Relocate platform specific drivers (#13894)Joel Challis
* Relocate platform specific drivers * Move stm eeprom * Tidy up slightly