summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/string_startswith.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-12-04 11:39:21 +0000
committerDamien George <damien.p.george@gmail.com>2015-12-04 11:39:21 +0000
commitf4c17378b359d7b371e005aaac2dc8d86a88f8d8 (patch)
tree4a81e6571decff2f545b72fd15d5dda388b605c3 /tests/basics/string_startswith.py
parent95c9cc8114a7dd2bc73dc820d45ba8a97f16a60a (diff)
downloadmicropython-f4c17378b359d7b371e005aaac2dc8d86a88f8d8.tar.gz
micropython-f4c17378b359d7b371e005aaac2dc8d86a88f8d8.zip
stmhal: Protect SD card DMA transactions against USB MSC contention.
Consider the following scenario: SD card is being read by pyboard; USB irq comes in for MSC read request; SD card needs to be read from within USB irq while SD read is already ongoing. Such contention needs to be avoided. This patch provides a simple solution, to raise the irq priority above that of the USB irq during SD DMA transfers. Pyboard and PC can now read from the SD card at the same time (well, reads are interleaved).
Diffstat (limited to 'tests/basics/string_startswith.py')
0 files changed, 0 insertions, 0 deletions