circuitpython/supervisor
Jeff Epler a18a392109 background_callback: Add gc collect callback
A background callback must never outlive its related object.  By
collecting the head of the linked list of background tasks, this will
not happen.

One hypothetical case where this could happen is if an MP3Decoder is
deleted while its callback to fill its buffer is scheduled.
2020-07-17 08:36:26 -05:00
..
messages Support internationalisation. 2018-08-07 14:58:57 -07:00
shared background_callback: Add gc collect callback 2020-07-17 08:36:26 -05:00
stub Add license to some obvious files. 2020-07-06 19:16:25 +01:00
background_callback.h background_callback: Add gc collect callback 2020-07-17 08:36:26 -05:00
cpu.h Mark pointers in cpu registers as in use. 2018-07-03 05:45:50 -07:00
filesystem.h flush flash filesystem once a second 2019-03-20 12:21:36 -04:00
flash_root_pointers.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
flash.h Add license to some obvious files. 2020-07-06 19:16:25 +01:00
linker.h Linker file restructure, TCM and MPU additions 2020-04-03 16:33:18 -04:00
memory.h allow retrieving info about a supervisor allocation 2020-04-14 18:24:54 -05:00
port.h supervisor: factor supervisor_background_tasks from sundry ports 2020-07-15 11:49:44 -05:00
serial.h Enable showing the console on a debug uart 2020-05-19 02:02:52 +02:00
spi_flash_api.h Implement requested changes 2020-01-28 17:11:25 -05:00
supervisor.mk supervisor: Add a linked list of background callbacks 2020-07-15 09:26:47 -05:00
usb.h supervisor: usb: note that it's unusual to need to call usb_background 2020-07-15 11:49:44 -05:00