summaryrefslogtreecommitdiff
path: root/py/obj.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-05-14 14:10:37 +1000
committerDamien George <damien@micropython.org>2021-05-21 00:08:13 +1000
commita96afae90f6e5d693173382561d06e583b0b5fa5 (patch)
tree1ed84c071f5913770c24d830d90f4d6d0417217d /py/obj.c
parent5176a2d7325d941d8f2f41b31eab87b6e7a83f06 (diff)
stm32/sdio: Fix case of SDIO DMA turning off mid transfer.
The DMA driver will turn off DMA if it hasn't been used for an amount of time (to save power). The SDIO driver for cyw43 WLAN was not informing the DMA driver that it was using DMA and there was a chance that the DMA would turn off in the middle of an SDIO DMA transfer. The symptoms of this would be printing of SDIO error messages and a failure to communicate with the cyw43 WLAN module. This commit fixes this issue by changing the SDIO driver to use the dma_nohal_XXX API to initialise and start the DMA. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/obj.c')
0 files changed, 0 insertions, 0 deletions