You've already forked uiflow-micropython
mirror of
https://github.com/m5stack/uiflow-micropython.git
synced 2026-05-20 10:39:27 -07:00
43666f5d4d
Signed-off-by: lbuque <lbuque@163.com>
35 lines
894 B
C
35 lines
894 B
C
/*
|
|
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#if 0
|
|
#ifndef MICROPY_INCLUDED_PY_MPSTATE_H
|
|
#define MICROPY_INCLUDED_PY_MPSTATE_H
|
|
#include "./../../../m5stack/cmodule/lv_binding_micropython/lvgl/src/misc/lv_gc.h"
|
|
#undef MICROPY_INCLUDED_PY_MPSTATE_H
|
|
#else
|
|
#include "./../../../m5stack/cmodule/lv_binding_micropython/lvgl/src/misc/lv_gc.h"
|
|
#endif
|
|
#else
|
|
#define LV_ROOTS
|
|
#endif
|
|
|
|
#if 0
|
|
extern void lvgl_deinit();
|
|
#define MICROPY_PORT_DEINIT_FUNC lvgl_deinit()
|
|
#endif
|
|
|
|
#if 0
|
|
#define MICROPY_PORT_ROOT_POINTERS \
|
|
LV_ROOTS \
|
|
void *mp_lv_user_data; \
|
|
const char *readline_hist[8]; \
|
|
mp_obj_t machine_pin_irq_handler[40]; \
|
|
struct _machine_timer_obj_t *machine_timer_obj_head; \
|
|
struct _machine_i2s_obj_t *machine_i2s_obj[I2S_NUM_MAX]; \
|
|
mp_obj_t native_code_pointers; \
|
|
MICROPY_PORT_ROOT_POINTER_BLUETOOTH_NIMBLE
|
|
#endif
|