circuitpython/supervisor/shared/external_flash
Jeff Epler f4a5c17b5e supervisor: external_flash: don't call m_free when it's bad
It's extremely dubious that we have these handles that we think
are to GC'd memory at a time when the gc pool may not be initialized.
Hopefully, they WERE valid GC memory and are undisturbed by the teardown
of the interpreter that can lead to this state.

In this case, don't try to m_free them, the memory will become free when
the GC heap is reinitialized.

Closes: #2338 (together with previous commit)
2019-12-10 17:07:20 -06:00
..
common_commands.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08:00
devices.h Add board configuration for Winterbloom Sol 2019-11-04 23:11:42 -08:00
external_flash.c supervisor: external_flash: don't call m_free when it's bad 2019-12-10 17:07:20 -06:00
external_flash.h Incorporate feedback: 2018-11-09 11:33:56 -08:00
external_flash_root_pointers.h Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08: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 Fix crash when getting board.SPI outside the VM 2019-04-05 19:06:37 -07:00