circuitpython/ports
Damien George dfa75f33a5 stm32/sdio: Don't explicitly disable DMA2 on deinit of SDIO.
Because DMA2 may be in use by other peripherals, eg SPI1.

On PYBD-SF6 it's possible to trigger a bug in the existing code by turning
on WLAN and connecting to an AP, pinging the IP address from a PC and
running the following code on the PYBD:

    def spi_test(s):
        while 1:
            s.write('test')
            s.read(4)

    spi_test(machine.SPI(1,100000000))

This will eventually fail with `OSError: [Errno 110] ETIMEDOUT` because
DMA2 was turned off by the CYW43 driver during the SPI1 transfer.

This commit fixes the bug by removing the code that explicitly disables
DMA2.  Instead DMA2 will be automatically disabled after an inactivity
timeout, see commit a96afae90f

Signed-off-by: Damien George <damien@micropython.org>
2021-11-22 11:57:37 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
esp32 esp32: Add SDCard support for S3, and a GENERIC_S3_SPIRAM board. 2021-11-19 14:05:55 +11:00
esp8266 esp8266/boards/GENERIC: Enable f-strings. 2021-11-05 14:05:54 +11:00
javascript javascript/Makefile: Change variable to EXPORTED_RUNTIME_METHODS. 2021-09-01 00:42:40 +10:00
mimxrt mimxrt: Fix mp_hal_quiet_timing_enter()/exit() so timer still runs. 2021-11-16 23:20:06 +11:00
minimal minimal/mpconfigport.h: Disable features that are not needed. 2021-11-05 13:12:18 +11:00
nrf nrf/main: Use VFS helper function to mount fs and chdir. 2021-11-19 15:43:04 +11:00
pic16bit all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
powerpc all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
qemu-arm all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
rp2 rp2/boards/PIMORONI_PICOLIPO_16MB: Fix 16MB flash size. 2021-11-19 15:34:07 +11:00
samd samd/README.md: Update README to reflect new features and boards. 2021-11-19 11:49:10 +11:00
stm32 stm32/sdio: Don't explicitly disable DMA2 on deinit of SDIO. 2021-11-22 11:57:37 +11:00
teensy all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
unix unix/modos: Add support for uos.urandom(n). 2021-11-17 12:59:38 +11:00
windows windows/mpconfigport.h: Enable help and help("modules"). 2021-11-17 14:52:39 +11:00
zephyr extmod/modbluetooth: Add connection interval to gap_connect. 2021-10-26 00:16:53 +11:00