Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mimxrt,stm32: Enable MICROPY_PY_USSL_FINALISER.
This is needed because these ports allocate mbedtls data on the MicroPython heap, and SSL socket objects must be fully cleaned up when they are garbage collected, to free this memory allocated by mbedtls. As part of this, gc_sweep_all() will now ensure that the MP_STATE_PORT(mbedtls_memory) linked-list is fully deallocated on soft reset. Signed-off-by: Damien George <damien@micropython.org>
- Loading branch information