mirror of
https://github.com/micropython/micropython.git
synced 2025-09-04 17:00:30 +02:00
This commit allows the user of this driver to intercept the SPI flash initialisation routine and possibly take some action based on the JEDEC id, for example change the `mp_spiflash_t::chip_params` element. To do this, enable `MICROPY_HW_SPIFLASH_DETECT_DEVICE` and define a function called `mp_spiflash_detect()`. Signed-off-by: Damien George <damien@micropython.org>
This directory contains C drivers for specific hardware. The drivers are intended to work across multiple ports.