1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/samd21
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
vectors cpu/samd21: add support for SAMD20 2021-01-12 15:48:39 +01:00
cpu.c treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
doc.txt cpu/samd21: update doc.txt with supported MCUs 2021-01-26 19:23:52 +01:00
Kconfig cpu/samd21: add samd20 to Kconfig 2021-01-12 15:48:39 +01:00
Kconfig.samd10 cpu/samd21: add samd10 to Kconfig 2020-12-11 18:25:36 +01:00
Kconfig.samd20 cpu/samd21: add samd20 to Kconfig 2021-01-12 15:48:39 +01:00
Kconfig.samd21 cpu/samd21: add all parts to Kconfig 2020-08-24 16:11:48 +02:00
Kconfig.samr21 cpu/samd21: add all parts to Kconfig 2020-08-24 16:11:48 +02:00
Makefile cpu/samd21: add support for SAMD10 2020-12-11 18:25:36 +01:00
Makefile.default cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.dep cpu/samd21: add support for SAMD10 2020-12-11 18:25:36 +01:00
Makefile.features cpu/cortexm_common: advertise puf_sram feature 2020-09-11 16:30:45 +02:00
Makefile.include cpu/samd21: add support for SAMD20 2021-01-12 15:48:39 +01:00