circuitpython/supervisor/shared/external_flash
Jeff Epler 32475ce98c Automatically count EXTERNAL_FLASH_DEVICES (mk2)
Instead of counting words in make, which is slightly awful, notice that
possible_devices is local to external_flash.c, so we can declare the array
with an automatic bound, and then get the count as the element-count
(MP_ARRAY_SIZE) of the array.

Since EXTERNAL_FLASH_DEVICE_COUNT is no longer a global macro, switch
a few sites to using EXTERNAL_FLASH_DEVICES in `#if` checks instead.
2021-03-07 12:51:47 -06:00
..
common_commands.h Add license to some obvious files. 2020-07-06 19:16:25 +01:00
devices.h Merge pull request #3864 from djix123/w25q64fv 2020-12-22 09:29:22 -05:00
external_flash_root_pointers.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
external_flash.c Automatically count EXTERNAL_FLASH_DEVICES (mk2) 2021-03-07 12:51:47 -06:00
external_flash.h Hopefully fix flash flush and hopefully audio as well. 2020-03-13 11:12:31 -07:00
qspi_flash.c Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
qspi_flash.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
spi_flash.c Implement requested changes 2020-01-28 17:11:25 -05:00