You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use a variable as third argument which is derived from the structure element dma_slot of struct dma_config which is required in the call of the API function
E.g. if the dma request source kDmaRequestMuxSai1Tx is required and assigned to element dma_slot of struct dma_config this issue leads to a "conversion from 'unsigned int' to 'unsigned char:7' changes value from '276' to '20' [-Woverflow]".
The text was updated successfully, but these errors were encountered:
According to the reference manual i.MX RT1060 Processor Reference Manual, Rev. 2, 12/2019, section 5.6.1.2 Channel a Configuration (CHCFGa) only the lower 7 bits are relevant for the source selection (DMA Channel Source (Slot Number)).
However, it has been confusing to me.
zephyr/drivers/dma/dma_mcux_edma.c
Line 242 in fc140d8
zephyr/drivers/dma/dma_mcux_edma.c
Line 245 in fc140d8
dma_slot
ofstruct dma_config
which is required in the call of the API functionzephyr/include/drivers/dma.h
Line 243 in fc140d8
E.g. if the dma request source
kDmaRequestMuxSai1Tx
is required and assigned to elementdma_slot
ofstruct dma_config
this issue leads to a "conversion from 'unsigned int' to 'unsigned char:7' changes value from '276' to '20' [-Woverflow]".The text was updated successfully, but these errors were encountered: