1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/saml1x
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 treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
doc.txt cpu/saml1x: add support for saml10/saml11 MCUs 2019-01-21 17:05:04 +01:00
Kconfig cpu/sam0_common: not every CPU has DMA 2021-01-12 15:48:37 +01:00
Kconfig.saml10 cpu/saml1x: add all parts to Kconfig 2020-08-24 16:11:48 +02:00
Kconfig.saml11 cpu/saml1x: add all parts to Kconfig 2020-08-24 16:11:48 +02:00
Makefile cpu/saml1x: add support for saml10/saml11 MCUs 2019-01-21 17:05:04 +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 Merge pull request #14804 from bergzand/pr/sam0/gpio_iobus 2020-09-10 23:45:43 +02:00
Makefile.include cpu/saml1x: define CPU_COMMON_SAML1X symbol and use it 2020-08-24 16:13:18 +02:00
vectors.c cpu/saml1x: add support for saml10/saml11 MCUs 2019-01-21 17:05:04 +01:00