1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/saml21
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
..
include cpu/sam*: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
periph cpu/sam0_common: SPI: don't perform DMA transfer for small buffers 2021-11-19 17:22:51 +01:00
cpu.c cpu/saml21: moved GCLK_GENCTRL_SRC_MAIN define to top 2021-05-05 23:59:05 +02:00
doc.txt cpu/sam0: add missing doxygen group definition + cleanup 2017-08-24 14:54:47 +02:00
Kconfig cpu/sam0_common: implement periph_rtc_mem 2021-09-03 11:43:43 +02:00
Kconfig.saml21 cpu/saml21: add all parts to Kconfig 2020-08-24 16:13:18 +02:00
Kconfig.samr30 cpu/saml21: add all parts to Kconfig 2020-08-24 16:13:18 +02:00
Kconfig.samr34 cpu/saml21: add all parts to Kconfig 2020-08-24 16:13:18 +02:00
Makefile cpu/sam0: renamed sam21_common to sam0_common 2016-12-15 11:47:03 +01:00
Makefile.default cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.dep cpu/sam0_common/periph/uart: implement buffered write 2019-11-27 19:01:00 +01:00
Makefile.features cpu/sam0_common: implement periph_rtc_mem 2021-09-03 11:43:43 +02:00
Makefile.include cpu/saml21: define CPU_COMMON_SAML21 symbol and use it 2020-08-24 16:13:18 +02:00
vectors.c cpu/cortexm: Remove leftover _estack declarations 2017-11-10 15:38:14 +01:00