circuitpython/supervisor/shared
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
..
external_flash Automatically count EXTERNAL_FLASH_DEVICES (mk2) 2021-03-07 12:51:47 -06:00
usb Fix for CIRCUITPY_USB_MSC=0 2021-02-27 15:05:00 +01:00
autoreload.c Updates based on feedback from jepler 2020-04-06 16:03:31 -07:00
autoreload.h Refine _bleio 2019-10-21 18:57:03 -07:00
background_callback.c add usb_background_schedule() 2021-02-04 16:00:14 +07:00
bluetooth.c wip: advertising; not tested 2020-07-12 19:45:23 -04:00
bluetooth.h wip: compiles 2020-08-02 11:36:38 -04:00
board.c Fix size of memset in board_reset_user_neopixels() 2021-01-04 15:50:09 -06:00
board.h Fix build and more comments 2020-12-08 13:05:21 -08:00
display.c Replace displaio.Group.children with a python list 2021-02-27 20:52:38 +01:00
display.h Turn off terminalio for ja and ko 2020-08-17 17:17:59 -07:00
filesystem.c Add initial RP2040 support 2021-01-20 19:16:56 -08:00
flash.c Unify iMX flash config and add Metro M7 1011 2020-10-07 15:23:47 -07:00
internal_flash.h Hopefully fix flash flush and hopefully audio as well. 2020-03-13 11:12:31 -07:00
memory.c Eliminate goto. 2020-11-30 23:33:38 +01:00
micropython.c supervisor: use mp_handle_pending to check for exceptions 2020-08-23 09:12:01 -05:00
rgb_led_colors.h Reduce DotStar status brightness; macros for status colors 2019-11-01 13:37:36 -04:00
rgb_led_status.c wip 2021-03-02 15:16:55 -05:00
rgb_led_status.h wip 2020-11-19 15:43:39 -05:00
safe_mode.c allow the safe mode danse if RESET_REASON_UNKNOWN 2021-03-02 00:41:43 +01:00
safe_mode.h Add some NORETURN attributes 2020-09-28 18:55:56 -05:00
serial.c wip 2021-02-12 19:01:14 -05:00
stack.c Add movable allocation system. 2020-11-28 17:50:23 +01:00
stack.h Add movable allocation system. 2020-11-28 17:50:23 +01:00
status_leds.c Add feature conditionals and clean up 2019-07-22 12:58:28 -04:00
status_leds.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
tick.c Add include to tick.c for mp_hal_is_interrupted() 2020-12-26 13:39:48 -05:00
tick.h supervisor: factor supervisor_background_tasks from sundry ports 2020-07-15 11:49:44 -05:00
translate.c avoid inline compile errors 2021-01-08 23:07:21 -05:00
translate.h supervisor translate: explain the dictionary 2020-09-15 13:18:04 -05:00
workflow.c Switch to upstream TinyUSB 2021-01-21 11:33:13 -08:00
workflow.h merge from upstream + wip 2020-11-25 17:52:06 -05:00