48 #if MICROPY_PY_MICROPYTHON_MEM_INFO 73 #if MICROPY_STACK_CHECK 94 size_t n_pool, n_qstr, n_str_data_bytes, n_total_bytes;
95 qstr_pool_info(&n_pool, &n_qstr, &n_str_data_bytes, &n_total_bytes);
97 n_pool, n_qstr, n_str_data_bytes, n_total_bytes);
106 #if MICROPY_STACK_CHECK 113 #endif // MICROPY_PY_MICROPYTHON_MEM_INFO 115 #if MICROPY_ENABLE_GC 129 #if MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF && (MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE == 0) 133 #if MICROPY_KBD_EXCEPTION 141 #if MICROPY_ENABLE_SCHEDULER 143 if (!mp_sched_schedule(
function, arg)) {
155 #if MICROPY_PY_MICROPYTHON_MEM_INFO 156 #if MICROPY_MEM_STATS 163 #if MICROPY_STACK_CHECK 167 #if MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF && (MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE == 0) 168 {
MP_ROM_QSTR(MP_QSTR_alloc_emergency_exception_buf),
MP_ROM_PTR(&mp_alloc_emergency_exception_buf_obj) },
170 #if MICROPY_ENABLE_GC 174 #if MICROPY_KBD_EXCEPTION 177 #if MICROPY_ENABLE_SCHEDULER const mp_print_t mp_plat_print
void gc_dump_alloc_table(void)
NORETURN void mp_raise_msg(const mp_obj_type_t *exc_type, const char *msg)
STATIC const mp_rom_map_elem_t mp_module_micropython_globals_table[]
mp_obj_t mp_alloc_emergency_exception_buf(mp_obj_t size_in)
mp_uint_t mp_stack_usage(void)
#define MP_STATE_THREAD(x)
mp_int_t mp_obj_get_int(mp_const_obj_t arg)
#define MP_DEFINE_CONST_FUN_OBJ_1(obj_name, fun_name)
#define MP_OBJ_NEW_SMALL_INT(small_int)
STATIC MP_DEFINE_CONST_DICT(mp_module_micropython_globals, mp_module_micropython_globals_table)
#define MP_DEFINE_CONST_FUN_OBJ_0(obj_name, fun_name)
#define MP_DEFINE_CONST_FUN_OBJ_2(obj_name, fun_name)
STATIC mp_obj_t mp_micropython_opt_level(size_t n_args, const mp_obj_t *args)
void mp_hal_set_interrupt_char(int c)
void qstr_dump_data(void)
const mp_obj_type_t mp_type_module
mp_obj_t mp_micropython_mem_info(size_t n_args, const mp_obj_t *args)
const mp_obj_module_t mp_module_micropython
int mp_printf(const mp_print_t *print, const char *fmt,...)
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mp_micropython_opt_level_obj, 0, 1, mp_micropython_opt_level)
void qstr_pool_info(size_t *n_pool, size_t *n_qstr, size_t *n_str_data_bytes, size_t *n_total_bytes)
const mp_obj_type_t mp_type_RuntimeError