diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-11-30 16:00:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-30 16:00:55 -0800 |
| commit | a975ef497162297fa80658170481f6d3fcfc25bc (patch) | |
| tree | 6d07bde669a9245c784cc9826ecc80ebd29c41af /py | |
| parent | 299b6efd846e47cc705d2962cefffb5b0af7324c (diff) | |
| parent | d6f8a43f6cc755b90376a66b75818744fbe63320 (diff) | |
Merge pull request #3695 from cwalther/movable
Add movable supervisor allocations
Diffstat (limited to 'py')
| -rw-r--r-- | py/circuitpy_mpconfig.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h index fa7095c78..bffab4f30 100644 --- a/py/circuitpy_mpconfig.h +++ b/py/circuitpy_mpconfig.h @@ -860,17 +860,20 @@ extern const struct _mp_obj_module_t wifi_module; #include "supervisor/flash_root_pointers.h" +// From supervisor/memory.c +struct _supervisor_allocation_node; + #define CIRCUITPY_COMMON_ROOT_POINTERS \ const char *readline_hist[8]; \ vstr_t *repl_line; \ mp_obj_t rtc_time_source; \ GAMEPAD_ROOT_POINTERS \ mp_obj_t pew_singleton; \ - mp_obj_t terminal_tilegrid_tiles; \ BOARD_UART_ROOT_POINTER \ FLASH_ROOT_POINTERS \ MEMORYMONITOR_ROOT_POINTERS \ NETWORK_ROOT_POINTERS \ + struct _supervisor_allocation_node* first_embedded_allocation; \ void supervisor_run_background_tasks_if_tick(void); #define RUN_BACKGROUND_TASKS (supervisor_run_background_tasks_if_tick()) |
