summaryrefslogtreecommitdiff
path: root/tests/micropython/heapalloc_str.py.exp
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-04-02 12:47:48 +1100
committerDamien George <damien@micropython.org>2025-04-09 22:36:55 +1000
commitb078569cffb4b32585806b42ef7a0501bc4d0bca (patch)
tree206500660838192ef7fc58af3a0109ced1e6852d /tests/micropython/heapalloc_str.py.exp
parente7edf0783e945f4107dcc7f68543ed05e92189a4 (diff)
drivers/memory/spiflash: Allow a board/port to detect SPI flash.
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>
Diffstat (limited to 'tests/micropython/heapalloc_str.py.exp')
0 files changed, 0 insertions, 0 deletions