diff options
author | Damien George <damien.p.george@gmail.com> | 2018-06-22 15:07:01 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-06-22 15:07:01 +1000 |
commit | 7f41f73f0f81e0ecbdb37d32ea7ad8cbc7468b06 (patch) | |
tree | e147deb58dfd7f463bc82c1aef19ee65b69aa93e /py/compile.c | |
parent | 34344a413fb1939d476f43429a8a4e142f6fe3c0 (diff) |
stm32/qspi: Don't require data reads and writes to be a multiple of 4.
Prior to this patch the QSPI driver assumed that the length of all data
reads and writes was a multiple of 4. This patch allows any length. Reads
are optimised for speed by using 32-bit transfers when possible, but writes
always use a byte transfer because they only use a single data IO line and
are relatively slow.
Diffstat (limited to 'py/compile.c')
0 files changed, 0 insertions, 0 deletions