mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-05 09:29:39 +00:00
92d8f95cba
Fix the following warning issued by GCC ARM Embedded 5-2015-q4-major: ../../cpu/cc2538/dev/udma.c: In function 'udma_init': ../../cpu/cc2538/dev/udma.c:59:10: warning: passing argument 1 of 'memset' discards 'volatile' qualifier from pointer target type [-Wdiscarded-array-qualifiers] memset(&channel_config, 0, sizeof(channel_config)); ^ In file included from <toolchain-path>/arm-none-eabi/include/string.h:10:0, from ../../platform/cc2538dk/./contiki-conf.h:12, from ../../cpu/cc2538/dev/udma.c:38: <toolchain-path>/arm-none-eabi/include/string.h:25:7: note: expected 'void *' but argument is of type 'volatile struct channel_ctrl (*)[4]' _PTR _EXFUN(memset,(_PTR, int, size_t)); ^ Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> |
||
---|---|---|
.. | ||
adc.c | ||
adc.h | ||
aes.c | ||
aes.h | ||
ana-regs.h | ||
bignum-driver.c | ||
bignum-driver.h | ||
cbc-mac.c | ||
cbc-mac.h | ||
cbc.c | ||
cbc.h | ||
cc2538-aes-128.c | ||
cc2538-aes-128.h | ||
cc2538-ccm-star.c | ||
cc2538-ccm-star.h | ||
cc2538-dev.h | ||
cc2538-rf.c | ||
cc2538-rf.h | ||
cc2538-sensors.h | ||
cc2538-temp-sensor.c | ||
cc2538-temp-sensor.h | ||
ccm.c | ||
ccm.h | ||
cctest.h | ||
crypto.c | ||
crypto.h | ||
ctr.c | ||
ctr.h | ||
ecb.c | ||
ecb.h | ||
ecc-algorithm.c | ||
ecc-algorithm.h | ||
ecc-curve.c | ||
ecc-curve.h | ||
ecc-driver.c | ||
ecc-driver.h | ||
flash.h | ||
gcm.c | ||
gcm.h | ||
gpio.c | ||
gpio.h | ||
gptimer.h | ||
i2c.c | ||
i2c.h | ||
ioc.c | ||
ioc.h | ||
mpu.h | ||
nvic.c | ||
nvic.h | ||
pka.c | ||
pka.h | ||
pwm.c | ||
pwm.h | ||
random.c | ||
rfcore-ffsm.h | ||
rfcore-sfr.h | ||
rfcore-xreg.h | ||
rfcore.h | ||
rom-util.h | ||
scb.h | ||
sha256.c | ||
sha256.h | ||
smwdthrosc.h | ||
soc-adc.h | ||
spi.c | ||
ssi.h | ||
sys-ctrl.c | ||
sys-ctrl.h | ||
systick.h | ||
uart1.h | ||
uart.c | ||
uart.h | ||
udma.c | ||
udma.h | ||
usb-regs.h | ||
vdd3-sensor.c | ||
vdd3-sensor.h | ||
watchdog.c |