mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
py/stackctrl: Add mp_stack_set_top() to explicitly set stack top value.
Useful for embedded targets with fixed stack layout.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "py/mpconfig.h"
|
||||
|
||||
void mp_stack_ctrl_init(void);
|
||||
void mp_stack_set_top(void *top);
|
||||
mp_uint_t mp_stack_usage(void);
|
||||
|
||||
#if MICROPY_STACK_CHECK
|
||||
|
||||
Reference in New Issue
Block a user