diff options
author | Damien George <damien.p.george@gmail.com> | 2018-03-02 23:49:00 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-03-02 23:55:45 +1100 |
commit | 0210383da5804976d9282247d7c308664dc2e6f6 (patch) | |
tree | 44242fe00587d2b74206b04c9d6ad13fae29c8bf /tests/unix/extra_coverage.py | |
parent | a0dfc386410b3a397e8643b269e352a8930b5f53 (diff) |
stm32/spibdev: Add option to configure SPI block dev to use QSPI flash.
To use QSPI (in software QSPI mode) the configuration needed is:
#define MICROPY_HW_SPIFLASH_SIZE_BITS (n * 1024 * 1024)
#define MICROPY_HW_SPIFLASH_CS (pin_x1)
#define MICROPY_HW_SPIFLASH_SCK (pin_x2)
#define MICROPY_HW_SPIFLASH_IO0 (pin_x3)
#define MICROPY_HW_SPIFLASH_IO1 (pin_x4)
#define MICROPY_HW_SPIFLASH_IO2 (pin_x5)
#define MICROPY_HW_SPIFLASH_IO3 (pin_x6)
Diffstat (limited to 'tests/unix/extra_coverage.py')
0 files changed, 0 insertions, 0 deletions