These functions enable SDRAM data retention in stop mode. Example usage, in mpconfigboard.h: #define MICROPY_BOARD_ENTER_STOP sdram_enter_low_power(); #define MICROPY_BOARD_LEAVE_STOP sdram_leave_low_power();
If SDRAM is configured and enabled for a board then it is used for the MicroPython GC heap.
Taken from 7fbe54ad4e/src/omv/sdram.c Code is is MIT licensed.
7fbe54ad4e/src/omv/sdram.c