1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/sam0_common
Benjamin Valentin 669104d841 cpu/sam0_common: SPI: don't perform DMA transfer for small buffers
Setting up a DMA transfer can take longer than sending out a buffer
byte by byte if the buffer is small.

DMA only shows advantages for large buffers, using it for every transfer
will cause a net slowdown.

Since we did not come up with a good way to determine the treshold based
on the SPI frequency, just use a fixed buffer for now so that DMA can be
used without slowing things down overall.
2021-11-19 17:22:51 +01:00
..
dist cpu/sam0_common: add script to generate Kconfig files for all parts 2020-08-24 16:13:18 +02:00
include sam0_common/usbdev: Adapt to xmit API 2021-11-16 20:17:04 +01:00
periph cpu/sam0_common: SPI: don't perform DMA transfer for small buffers 2021-11-19 17:22:51 +01:00
sam0_eth cpu/sam0: improve ethernet driver resilience 2021-07-27 12:52:07 +02:00
doc.txt cpu/sam0: update doc.txt with new MCU families 2019-07-17 11:37:46 +02:00
Kconfig drivers/kconfig: simplify shared rtt/rtc hardware in kconfig 2021-10-14 11:28:46 +02:00
Makefile cpu/sam0: add initial Ethernet support 2020-12-13 22:01:50 +01:00
Makefile.default cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.dep cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.features cpu/sam0_common: implement periph_uart_rx_start feature 2021-07-28 16:19:04 +02:00
Makefile.include cpu/samd21: add support for SAMD20 2021-01-12 15:48:39 +01:00
sam0_common.config treewide: change Kconfig prefix for module symbols 2020-08-31 09:57:28 +02:00