1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/sam0_common
Marian Buschsieweke 702ad02b33
cpu/sam0_common/periph_dma: Fix API mismatch
Match the signature of the implementation of the dma_prepare() with the
declaration to fix:

    /home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/sam0_common/periph/dma.c:172:6: error: conflicting types for 'dma_prepare' due to enum/integer mismatch; have 'void(dma_t,  uint8_t,  const void *, void *, size_t,  uint8_t)' {aka 'void(unsigned int,  unsigned char,  const void *, void *, unsigned int,  unsigned char)'} [-Werror=enum-int-mismatch]
      172 | void dma_prepare(dma_t dma, uint8_t width, const void *src, void *dst,
          |      ^~~~~~~~~~~
    In file included from /home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/samd5x/include/periph_cpu.h:26,
                     from /home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/sam0_common/periph/dma.c:21:
    /home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/sam0_common/include/periph_cpu_common.h:1186:6: note: previous declaration of 'dma_prepare' with type void(dma_t,  uint8_t,  const void *, void *, size_t,  dma_incr_t)' {aka 'void(unsigned int,  unsigned char,  const void *, void *, unsigned int,  dma_incr_t)'}
     1186 | void dma_prepare(dma_t dma, uint8_t width, const void *src, void *dst,
          |      ^~~~~~~~~~~
2024-10-09 23:00:06 +02:00
..
dist cpu/sam0_common: add script to generate Kconfig files for all parts 2020-08-24 16:13:18 +02:00
include drivers/periph_gpio_ll: change API to access GPIO ports 2024-08-02 09:55:24 +02:00
periph cpu/sam0_common/periph_dma: Fix API mismatch 2024-10-09 23:00:06 +02:00
sam0_eth cpu/sam0_common: eth: port to new netdev API 2024-05-23 17:19:32 +02:00
sam0_sdhc cpu/sam0: remove bitfield usage in sdhc driver 2024-06-25 16:13:17 +02:00
doc.txt cpu/sam0: update doc.txt with new MCU families 2019-07-17 11:37:46 +02:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile cpu/sam0_common: add SD Host Controller implementation 2022-05-31 11:07:20 +02:00
Makefile.default cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.dep cpu/sam0_common: eth: port to new netdev API 2024-05-23 17:19:32 +02:00
Makefile.features drivers/periph_gpio_ll_irq: make support for both edges optional 2024-08-02 13:41:36 +02:00
Makefile.include cpu/samd21: add support for SAMD20 2021-01-12 15:48:39 +01:00
sam0_info.mk cpu/sam0_common: decode model number 2022-02-21 15:13:29 +01:00