1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/sam0_common/periph
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
..
adc.c cpu/sam0/periph: remove bitfield usage in ADC driver 2024-06-21 09:29:58 +02:00
cpuid.c cpu/samd5x: define CPU_COMMON_SAMD5X symbol and use it 2020-08-24 16:13:18 +02:00
dac.c cpu/sam0/periph: remove bitfield usage in DAC driver 2024-06-21 09:29:58 +02:00
dma.c cpu/sam0_common/periph_dma: Fix API mismatch 2024-10-09 23:00:06 +02:00
eth.c cpu/sam0/periph: remove bitfield usage in GMAC driver 2024-06-21 09:31:41 +02:00
flashpage.c cpu/sam0/periph: remove bitfield usage in flashpage driver 2024-06-21 09:31:41 +02:00
freqm.c cpu/sam0_common: implement freqm peripheral 2023-11-23 20:37:51 +01:00
gpio_ll_irq.c cpu/sam0/periph: remove bitfield usage in gpio_ll_irq driver 2024-06-21 09:42:46 +02:00
gpio_ll.c cpu/sam0/periph: remove bitfield usage in gpio_ll driver 2024-06-21 09:42:46 +02:00
gpio.c cpu/sam0/periph: remove bitfield usage in gpio driver 2024-06-21 09:42:46 +02:00
hwrng.c cpu/sam0/periph: remove bitfield usage in trng driver 2024-06-25 16:13:16 +02:00
i2c.c cpu/sam0/periph: remove bitfield usage in I2C driver 2024-06-25 16:13:16 +02:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Kconfig.spi *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile
pwm.c cpu/sam0/periph: remove bitfield usage in PWM driver 2024-06-25 16:13:16 +02:00
rtc_rtt.c cpu/sam0_common/periph: fix rtt reset after hibernation 2024-08-29 17:08:54 +02:00
spi.c cpu/sam0/periph: remove bitfield usage in SPI driver 2024-06-25 16:13:16 +02:00
timer.c cpu/sam0/periph: remove bitfield usage in timer driver 2024-06-25 16:13:16 +02:00
uart.c cpu/sam0/periph: remove bitfield usage in UART driver 2024-06-25 16:13:16 +02:00
usbdev.c cpu/sam0/periph: remove bitfield usage in usbdev driver 2024-06-25 16:13:17 +02:00
wdt.c cpu/sam0/periph: remove bitfield usage in watchdog driver 2024-06-25 16:13:17 +02:00