1. 22 Nov, 2021 2 commits
    • Damien George's avatar
      stm32/sdio: Don't explicitly disable DMA2 on deinit of SDIO. · dfa75f33
      Damien George authored
      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 a96afae9Signed-off-by: default avatarDamien George <damien@micropython.org>
      dfa75f33
    • Peter Boin's avatar
      stm32/main: Run optional frozen module at boot. · e83aa252
      Peter Boin authored
      If a board specifies a filename via MICROPY_BOARD_FROZEN_BOOT_FILE then
      that will be run on start up, before the usual boot.py.
      e83aa252
  2. 19 Nov, 2021 27 commits
  3. 18 Nov, 2021 1 commit
  4. 17 Nov, 2021 10 commits