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
..
2018-08-07 14:58:57 -07:00
2020-09-28 18:55:56 -05:00
2020-12-08 10:52:25 -08:00
2020-11-28 17:54:34 +01:00
2020-01-28 17:11:25 -05:00
2021-02-04 16:00:14 +07:00