├── .gitignore ├── README.md ├── example_0_empty ├── .crt.c ├── CMakeLists.txt ├── include │ ├── existosapi │ │ ├── SystemUI.h │ │ ├── basic_api.h │ │ ├── keyboard_gii39.h │ │ ├── ll_sys_api_code.h │ │ └── syscall.h │ ├── fatfs │ │ ├── diskio.h │ │ ├── ff.h │ │ └── ffconf.h │ ├── freertos │ │ ├── FreeRTOS.h │ │ ├── FreeRTOSConfig.h │ │ ├── StackMacros.h │ │ ├── atomic.h │ │ ├── croutine.h │ │ ├── deprecated_definitions.h │ │ ├── event_groups.h │ │ ├── list.h │ │ ├── message_buffer.h │ │ ├── mpu_prototypes.h │ │ ├── mpu_wrappers.h │ │ ├── portable.h │ │ ├── portmacro.h │ │ ├── projdefs.h │ │ ├── queue.h │ │ ├── semphr.h │ │ ├── stack_macros.h │ │ ├── stdint.readme │ │ ├── stream_buffer.h │ │ ├── task.h │ │ └── timers.h │ ├── lv_conf.h │ └── lvgl │ │ ├── lvgl.h │ │ └── src │ │ ├── core │ │ ├── lv_core.mk │ │ ├── lv_disp.h │ │ ├── lv_event.h │ │ ├── lv_group.h │ │ ├── lv_indev.h │ │ ├── lv_indev_scroll.h │ │ ├── lv_obj.h │ │ ├── lv_obj_class.h │ │ ├── lv_obj_draw.h │ │ ├── lv_obj_pos.h │ │ ├── lv_obj_scroll.h │ │ ├── lv_obj_style.h │ │ ├── lv_obj_style_gen.h │ │ ├── lv_obj_tree.h │ │ ├── lv_refr.h │ │ └── lv_theme.h │ │ ├── draw │ │ ├── arm2d │ │ │ ├── lv_draw_arm2d.mk │ │ │ └── lv_gpu_arm2d.h │ │ ├── lv_draw.h │ │ ├── lv_draw.mk │ │ ├── lv_draw_arc.h │ │ ├── lv_draw_img.h │ │ ├── lv_draw_label.h │ │ ├── lv_draw_layer.h │ │ ├── lv_draw_line.h │ │ ├── lv_draw_mask.h │ │ ├── lv_draw_rect.h │ │ ├── lv_draw_transform.h │ │ ├── lv_draw_triangle.h │ │ ├── lv_img_buf.h │ │ ├── lv_img_cache.h │ │ ├── lv_img_decoder.h │ │ ├── nxp │ │ │ ├── lv_draw_nxp.mk │ │ │ ├── lv_gpu_nxp.h │ │ │ ├── pxp │ │ │ │ ├── lv_draw_nxp_pxp.mk │ │ │ │ ├── lv_draw_pxp_blend.h │ │ │ │ ├── lv_gpu_nxp_pxp.h │ │ │ │ └── lv_gpu_nxp_pxp_osa.h │ │ │ └── vglite │ │ │ │ ├── lv_draw_nxp_vglite.mk │ │ │ │ ├── lv_draw_vglite_arc.h │ │ │ │ ├── lv_draw_vglite_blend.h │ │ │ │ ├── lv_draw_vglite_rect.h │ │ │ │ └── lv_gpu_nxp_vglite.h │ │ ├── sdl │ │ │ ├── README.md │ │ │ ├── lv_draw_sdl.h │ │ │ ├── lv_draw_sdl.mk │ │ │ ├── lv_draw_sdl_composite.h │ │ │ ├── lv_draw_sdl_img.h │ │ │ ├── lv_draw_sdl_layer.h │ │ │ ├── lv_draw_sdl_mask.h │ │ │ ├── lv_draw_sdl_priv.h │ │ │ ├── lv_draw_sdl_rect.h │ │ │ ├── lv_draw_sdl_stack_blur.h │ │ │ ├── lv_draw_sdl_texture_cache.h │ │ │ └── lv_draw_sdl_utils.h │ │ ├── stm32_dma2d │ │ │ ├── lv_draw_stm32_dma2d.mk │ │ │ └── lv_gpu_stm32_dma2d.h │ │ ├── sw │ │ │ ├── lv_draw_sw.h │ │ │ ├── lv_draw_sw.mk │ │ │ ├── lv_draw_sw_blend.h │ │ │ ├── lv_draw_sw_dither.h │ │ │ └── lv_draw_sw_gradient.h │ │ └── swm341_dma2d │ │ │ ├── lv_draw_swm341_dma2d.mk │ │ │ └── lv_gpu_swm341_dma2d.h │ │ ├── extra │ │ ├── README.md │ │ ├── layouts │ │ │ ├── flex │ │ │ │ └── lv_flex.h │ │ │ ├── grid │ │ │ │ └── lv_grid.h │ │ │ └── lv_layouts.h │ │ ├── libs │ │ │ ├── bmp │ │ │ │ └── lv_bmp.h │ │ │ ├── ffmpeg │ │ │ │ └── lv_ffmpeg.h │ │ │ ├── freetype │ │ │ │ ├── arial.ttf │ │ │ │ └── lv_freetype.h │ │ │ ├── fsdrv │ │ │ │ └── lv_fsdrv.h │ │ │ ├── gif │ │ │ │ ├── gifdec.h │ │ │ │ └── lv_gif.h │ │ │ ├── lv_libs.h │ │ │ ├── png │ │ │ │ ├── lodepng.h │ │ │ │ └── lv_png.h │ │ │ ├── qrcode │ │ │ │ ├── lv_qrcode.h │ │ │ │ └── qrcodegen.h │ │ │ ├── rlottie │ │ │ │ └── lv_rlottie.h │ │ │ └── sjpg │ │ │ │ ├── lv_sjpg.h │ │ │ │ ├── tjpgd.h │ │ │ │ └── tjpgdcnf.h │ │ ├── lv_extra.h │ │ ├── lv_extra.mk │ │ ├── others │ │ │ ├── fragment │ │ │ │ ├── README.md │ │ │ │ └── lv_fragment.h │ │ │ ├── gridnav │ │ │ │ └── lv_gridnav.h │ │ │ ├── ime │ │ │ │ └── lv_ime_pinyin.h │ │ │ ├── imgfont │ │ │ │ └── lv_imgfont.h │ │ │ ├── lv_others.h │ │ │ ├── monkey │ │ │ │ └── lv_monkey.h │ │ │ ├── msg │ │ │ │ └── lv_msg.h │ │ │ └── snapshot │ │ │ │ └── lv_snapshot.h │ │ ├── themes │ │ │ ├── basic │ │ │ │ └── lv_theme_basic.h │ │ │ ├── default │ │ │ │ └── lv_theme_default.h │ │ │ ├── lv_themes.h │ │ │ └── mono │ │ │ │ └── lv_theme_mono.h │ │ └── widgets │ │ │ ├── animimg │ │ │ └── lv_animimg.h │ │ │ ├── calendar │ │ │ ├── lv_calendar.h │ │ │ ├── lv_calendar_header_arrow.h │ │ │ └── lv_calendar_header_dropdown.h │ │ │ ├── chart │ │ │ └── lv_chart.h │ │ │ ├── colorwheel │ │ │ └── lv_colorwheel.h │ │ │ ├── imgbtn │ │ │ └── lv_imgbtn.h │ │ │ ├── keyboard │ │ │ └── lv_keyboard.h │ │ │ ├── led │ │ │ └── lv_led.h │ │ │ ├── list │ │ │ └── lv_list.h │ │ │ ├── lv_widgets.h │ │ │ ├── menu │ │ │ └── lv_menu.h │ │ │ ├── meter │ │ │ └── lv_meter.h │ │ │ ├── msgbox │ │ │ └── lv_msgbox.h │ │ │ ├── span │ │ │ └── lv_span.h │ │ │ ├── spinbox │ │ │ └── lv_spinbox.h │ │ │ ├── spinner │ │ │ └── lv_spinner.h │ │ │ ├── tabview │ │ │ └── lv_tabview.h │ │ │ ├── tileview │ │ │ └── lv_tileview.h │ │ │ └── win │ │ │ └── lv_win.h │ │ ├── font │ │ ├── korean.ttf │ │ ├── lv_font.h │ │ ├── lv_font.mk │ │ ├── lv_font_fmt_txt.h │ │ ├── lv_font_loader.h │ │ └── lv_symbol_def.h │ │ ├── hal │ │ ├── lv_hal.h │ │ ├── lv_hal.mk │ │ ├── lv_hal_disp.h │ │ ├── lv_hal_indev.h │ │ └── lv_hal_tick.h │ │ ├── lv_api_map.h │ │ ├── lv_conf_internal.h │ │ ├── lv_conf_kconfig.h │ │ ├── lvgl.h │ │ ├── misc │ │ ├── lv_anim.h │ │ ├── lv_anim_timeline.h │ │ ├── lv_area.h │ │ ├── lv_assert.h │ │ ├── lv_async.h │ │ ├── lv_bidi.h │ │ ├── lv_color.h │ │ ├── lv_fs.h │ │ ├── lv_gc.h │ │ ├── lv_ll.h │ │ ├── lv_log.h │ │ ├── lv_lru.h │ │ ├── lv_math.h │ │ ├── lv_mem.h │ │ ├── lv_misc.mk │ │ ├── lv_printf.h │ │ ├── lv_style.h │ │ ├── lv_style_gen.h │ │ ├── lv_templ.h │ │ ├── lv_timer.h │ │ ├── lv_tlsf.h │ │ ├── lv_txt.h │ │ ├── lv_txt_ap.h │ │ ├── lv_types.h │ │ └── lv_utils.h │ │ └── widgets │ │ ├── lv_arc.h │ │ ├── lv_bar.h │ │ ├── lv_btn.h │ │ ├── lv_btnmatrix.h │ │ ├── lv_canvas.h │ │ ├── lv_checkbox.h │ │ ├── lv_dropdown.h │ │ ├── lv_img.h │ │ ├── lv_label.h │ │ ├── lv_line.h │ │ ├── lv_objx_templ.h │ │ ├── lv_roller.h │ │ ├── lv_slider.h │ │ ├── lv_switch.h │ │ ├── lv_table.h │ │ ├── lv_textarea.h │ │ └── lv_widgets.mk ├── ld.script ├── main.c ├── toolchain.cmake └── tools │ └── eld.exe ├── example_1_LvGL ├── .crt.c ├── CMakeLists.txt ├── include │ ├── existosapi │ │ ├── SystemUI.h │ │ ├── basic_api.h │ │ ├── keyboard_gii39.h │ │ ├── ll_sys_api_code.h │ │ └── syscall.h │ ├── fatfs │ │ ├── diskio.h │ │ ├── ff.h │ │ └── ffconf.h │ ├── freertos │ │ ├── FreeRTOS.h │ │ ├── FreeRTOSConfig.h │ │ ├── StackMacros.h │ │ ├── atomic.h │ │ ├── croutine.h │ │ ├── deprecated_definitions.h │ │ ├── event_groups.h │ │ ├── list.h │ │ ├── message_buffer.h │ │ ├── mpu_prototypes.h │ │ ├── mpu_wrappers.h │ │ ├── portable.h │ │ ├── portmacro.h │ │ ├── projdefs.h │ │ ├── queue.h │ │ ├── semphr.h │ │ ├── stack_macros.h │ │ ├── stdint.readme │ │ ├── stream_buffer.h │ │ ├── task.h │ │ └── timers.h │ ├── lv_conf.h │ └── lvgl │ │ ├── lvgl.h │ │ └── src │ │ ├── core │ │ ├── lv_core.mk │ │ ├── lv_disp.h │ │ ├── lv_event.h │ │ ├── lv_group.h │ │ ├── lv_indev.h │ │ ├── lv_indev_scroll.h │ │ ├── lv_obj.h │ │ ├── lv_obj_class.h │ │ ├── lv_obj_draw.h │ │ ├── lv_obj_pos.h │ │ ├── lv_obj_scroll.h │ │ ├── lv_obj_style.h │ │ ├── lv_obj_style_gen.h │ │ ├── lv_obj_tree.h │ │ ├── lv_refr.h │ │ └── lv_theme.h │ │ ├── draw │ │ ├── arm2d │ │ │ ├── lv_draw_arm2d.mk │ │ │ └── lv_gpu_arm2d.h │ │ ├── lv_draw.h │ │ ├── lv_draw.mk │ │ ├── lv_draw_arc.h │ │ ├── lv_draw_img.h │ │ ├── lv_draw_label.h │ │ ├── lv_draw_layer.h │ │ ├── lv_draw_line.h │ │ ├── lv_draw_mask.h │ │ ├── lv_draw_rect.h │ │ ├── lv_draw_transform.h │ │ ├── lv_draw_triangle.h │ │ ├── lv_img_buf.h │ │ ├── lv_img_cache.h │ │ ├── lv_img_decoder.h │ │ ├── nxp │ │ │ ├── lv_draw_nxp.mk │ │ │ ├── lv_gpu_nxp.h │ │ │ ├── pxp │ │ │ │ ├── lv_draw_nxp_pxp.mk │ │ │ │ ├── lv_draw_pxp_blend.h │ │ │ │ ├── lv_gpu_nxp_pxp.h │ │ │ │ └── lv_gpu_nxp_pxp_osa.h │ │ │ └── vglite │ │ │ │ ├── lv_draw_nxp_vglite.mk │ │ │ │ ├── lv_draw_vglite_arc.h │ │ │ │ ├── lv_draw_vglite_blend.h │ │ │ │ ├── lv_draw_vglite_rect.h │ │ │ │ └── lv_gpu_nxp_vglite.h │ │ ├── sdl │ │ │ ├── README.md │ │ │ ├── lv_draw_sdl.h │ │ │ ├── lv_draw_sdl.mk │ │ │ ├── lv_draw_sdl_composite.h │ │ │ ├── lv_draw_sdl_img.h │ │ │ ├── lv_draw_sdl_layer.h │ │ │ ├── lv_draw_sdl_mask.h │ │ │ ├── lv_draw_sdl_priv.h │ │ │ ├── lv_draw_sdl_rect.h │ │ │ ├── lv_draw_sdl_stack_blur.h │ │ │ ├── lv_draw_sdl_texture_cache.h │ │ │ └── lv_draw_sdl_utils.h │ │ ├── stm32_dma2d │ │ │ ├── lv_draw_stm32_dma2d.mk │ │ │ └── lv_gpu_stm32_dma2d.h │ │ ├── sw │ │ │ ├── lv_draw_sw.h │ │ │ ├── lv_draw_sw.mk │ │ │ ├── lv_draw_sw_blend.h │ │ │ ├── lv_draw_sw_dither.h │ │ │ └── lv_draw_sw_gradient.h │ │ └── swm341_dma2d │ │ │ ├── lv_draw_swm341_dma2d.mk │ │ │ └── lv_gpu_swm341_dma2d.h │ │ ├── extra │ │ ├── README.md │ │ ├── layouts │ │ │ ├── flex │ │ │ │ └── lv_flex.h │ │ │ ├── grid │ │ │ │ └── lv_grid.h │ │ │ └── lv_layouts.h │ │ ├── libs │ │ │ ├── bmp │ │ │ │ └── lv_bmp.h │ │ │ ├── ffmpeg │ │ │ │ └── lv_ffmpeg.h │ │ │ ├── freetype │ │ │ │ ├── arial.ttf │ │ │ │ └── lv_freetype.h │ │ │ ├── fsdrv │ │ │ │ └── lv_fsdrv.h │ │ │ ├── gif │ │ │ │ ├── gifdec.h │ │ │ │ └── lv_gif.h │ │ │ ├── lv_libs.h │ │ │ ├── png │ │ │ │ ├── lodepng.h │ │ │ │ └── lv_png.h │ │ │ ├── qrcode │ │ │ │ ├── lv_qrcode.h │ │ │ │ └── qrcodegen.h │ │ │ ├── rlottie │ │ │ │ └── lv_rlottie.h │ │ │ └── sjpg │ │ │ │ ├── lv_sjpg.h │ │ │ │ ├── tjpgd.h │ │ │ │ └── tjpgdcnf.h │ │ ├── lv_extra.h │ │ ├── lv_extra.mk │ │ ├── others │ │ │ ├── fragment │ │ │ │ ├── README.md │ │ │ │ └── lv_fragment.h │ │ │ ├── gridnav │ │ │ │ └── lv_gridnav.h │ │ │ ├── ime │ │ │ │ └── lv_ime_pinyin.h │ │ │ ├── imgfont │ │ │ │ └── lv_imgfont.h │ │ │ ├── lv_others.h │ │ │ ├── monkey │ │ │ │ └── lv_monkey.h │ │ │ ├── msg │ │ │ │ └── lv_msg.h │ │ │ └── snapshot │ │ │ │ └── lv_snapshot.h │ │ ├── themes │ │ │ ├── basic │ │ │ │ └── lv_theme_basic.h │ │ │ ├── default │ │ │ │ └── lv_theme_default.h │ │ │ ├── lv_themes.h │ │ │ └── mono │ │ │ │ └── lv_theme_mono.h │ │ └── widgets │ │ │ ├── animimg │ │ │ └── lv_animimg.h │ │ │ ├── calendar │ │ │ ├── lv_calendar.h │ │ │ ├── lv_calendar_header_arrow.h │ │ │ └── lv_calendar_header_dropdown.h │ │ │ ├── chart │ │ │ └── lv_chart.h │ │ │ ├── colorwheel │ │ │ └── lv_colorwheel.h │ │ │ ├── imgbtn │ │ │ └── lv_imgbtn.h │ │ │ ├── keyboard │ │ │ └── lv_keyboard.h │ │ │ ├── led │ │ │ └── lv_led.h │ │ │ ├── list │ │ │ └── lv_list.h │ │ │ ├── lv_widgets.h │ │ │ ├── menu │ │ │ └── lv_menu.h │ │ │ ├── meter │ │ │ └── lv_meter.h │ │ │ ├── msgbox │ │ │ └── lv_msgbox.h │ │ │ ├── span │ │ │ └── lv_span.h │ │ │ ├── spinbox │ │ │ └── lv_spinbox.h │ │ │ ├── spinner │ │ │ └── lv_spinner.h │ │ │ ├── tabview │ │ │ └── lv_tabview.h │ │ │ ├── tileview │ │ │ └── lv_tileview.h │ │ │ └── win │ │ │ └── lv_win.h │ │ ├── font │ │ ├── korean.ttf │ │ ├── lv_font.h │ │ ├── lv_font.mk │ │ ├── lv_font_fmt_txt.h │ │ ├── lv_font_loader.h │ │ └── lv_symbol_def.h │ │ ├── hal │ │ ├── lv_hal.h │ │ ├── lv_hal.mk │ │ ├── lv_hal_disp.h │ │ ├── lv_hal_indev.h │ │ └── lv_hal_tick.h │ │ ├── lv_api_map.h │ │ ├── lv_conf_internal.h │ │ ├── lv_conf_kconfig.h │ │ ├── lvgl.h │ │ ├── misc │ │ ├── lv_anim.h │ │ ├── lv_anim_timeline.h │ │ ├── lv_area.h │ │ ├── lv_assert.h │ │ ├── lv_async.h │ │ ├── lv_bidi.h │ │ ├── lv_color.h │ │ ├── lv_fs.h │ │ ├── lv_gc.h │ │ ├── lv_ll.h │ │ ├── lv_log.h │ │ ├── lv_lru.h │ │ ├── lv_math.h │ │ ├── lv_mem.h │ │ ├── lv_misc.mk │ │ ├── lv_printf.h │ │ ├── lv_style.h │ │ ├── lv_style_gen.h │ │ ├── lv_templ.h │ │ ├── lv_timer.h │ │ ├── lv_tlsf.h │ │ ├── lv_txt.h │ │ ├── lv_txt_ap.h │ │ ├── lv_types.h │ │ └── lv_utils.h │ │ └── widgets │ │ ├── lv_arc.h │ │ ├── lv_bar.h │ │ ├── lv_btn.h │ │ ├── lv_btnmatrix.h │ │ ├── lv_canvas.h │ │ ├── lv_checkbox.h │ │ ├── lv_dropdown.h │ │ ├── lv_img.h │ │ ├── lv_label.h │ │ ├── lv_line.h │ │ ├── lv_objx_templ.h │ │ ├── lv_roller.h │ │ ├── lv_slider.h │ │ ├── lv_switch.h │ │ ├── lv_table.h │ │ ├── lv_textarea.h │ │ └── lv_widgets.mk ├── ld.script ├── main.c ├── toolchain.cmake └── tools │ └── eld.exe ├── example_2_TinyGL ├── .crt.c ├── CMakeLists.txt ├── RepicoGL │ ├── CMakeLists.txt │ ├── GL │ │ ├── gl.h │ │ ├── glu.h │ │ ├── glx.h │ │ ├── internal │ │ │ ├── math-ffp.h │ │ │ ├── math-sll.h │ │ │ ├── opinfo.inc │ │ │ ├── zbuffer.h │ │ │ ├── zfeatures.h │ │ │ ├── zgl.h │ │ │ └── zmath.h │ │ └── oscontext.h │ ├── MemfbDefs.h │ ├── api.cpp │ ├── arrays.c │ ├── clear.c │ ├── clip.c │ ├── debugger.c │ ├── debugger.h │ ├── error.c │ ├── get.c │ ├── glu.c │ ├── glu_cylinder.c │ ├── glu_disk.c │ ├── glu_perspective.c │ ├── glu_sphere.c │ ├── glu_torus.c │ ├── glx.cpp │ ├── glx_impl.h │ ├── image_util.cpp │ ├── init.c │ ├── library.properties │ ├── light.c │ ├── list.c │ ├── matrix.c │ ├── memory.c │ ├── misc.c │ ├── msghandling.c │ ├── msghandling.h │ ├── oscontext.c │ ├── picotk.h │ ├── screen_config.h │ ├── select.c │ ├── specbuf.c │ ├── specbuf.h │ ├── texture.cpp │ ├── tk.cpp │ ├── vertex.c │ ├── zbuffer.cpp │ ├── zdither.c │ ├── zline.c │ ├── zline.inc │ ├── zmath.c │ ├── ztriangle.c │ └── ztriangle.inc ├── include │ ├── existosapi │ │ ├── basic_api.h │ │ ├── keyboard_gii39.h │ │ ├── ll_sys_api_code.h │ │ └── syscall.h │ ├── fatfs │ │ ├── diskio.h │ │ ├── ff.h │ │ └── ffconf.h │ └── freertos │ │ ├── FreeRTOS.h │ │ ├── FreeRTOSConfig.h │ │ ├── StackMacros.h │ │ ├── atomic.h │ │ ├── croutine.h │ │ ├── deprecated_definitions.h │ │ ├── event_groups.h │ │ ├── list.h │ │ ├── message_buffer.h │ │ ├── mpu_prototypes.h │ │ ├── mpu_wrappers.h │ │ ├── portable.h │ │ ├── portmacro.h │ │ ├── projdefs.h │ │ ├── queue.h │ │ ├── semphr.h │ │ ├── stack_macros.h │ │ ├── stdint.readme │ │ ├── stream_buffer.h │ │ ├── task.h │ │ └── timers.h ├── ld.script ├── main.c ├── toolchain.cmake └── tools │ └── eld.exe ├── example_3_doom ├── .crt.c ├── CMakeLists.txt ├── DOOM │ ├── CMakeLists.txt │ ├── am_map.c │ ├── d_event.c │ ├── d_items.c │ ├── d_iwad.c │ ├── d_loop.c │ ├── d_main.c │ ├── d_mode.c │ ├── d_net.c │ ├── doomdef.c │ ├── doomgeneric.c │ ├── doomstat.c │ ├── dstrings.c │ ├── dummy.c │ ├── f_finale.c │ ├── f_wipe.c │ ├── g_game.c │ ├── gusconf.c │ ├── hu_lib.c │ ├── hu_stuff.c │ ├── i_cdmus.c │ ├── i_endoom.c │ ├── i_input.c │ ├── i_joystick.c │ ├── i_main.c │ ├── i_scale.c │ ├── i_sound.c │ ├── i_system.c │ ├── i_timer.c │ ├── icon.c │ ├── include │ │ ├── am_map.h │ │ ├── config.h │ │ ├── d_englsh.h │ │ ├── d_event.h │ │ ├── d_items.h │ │ ├── d_iwad.h │ │ ├── d_loop.h │ │ ├── d_main.h │ │ ├── d_mode.h │ │ ├── d_player.h │ │ ├── d_textur.h │ │ ├── d_think.h │ │ ├── d_ticcmd.h │ │ ├── deh_main.h │ │ ├── deh_misc.h │ │ ├── deh_str.h │ │ ├── doom.h │ │ ├── doomdata.h │ │ ├── doomdef.h │ │ ├── doomfeatures.h │ │ ├── doomkeys.h │ │ ├── doomstat.h │ │ ├── doomtype.h │ │ ├── dstrings.h │ │ ├── f_finale.h │ │ ├── f_wipe.h │ │ ├── g_game.h │ │ ├── gusconf.h │ │ ├── hu_lib.h │ │ ├── hu_stuff.h │ │ ├── i_cdmus.h │ │ ├── i_endoom.h │ │ ├── i_joystick.h │ │ ├── i_scale.h │ │ ├── i_sound.h │ │ ├── i_swap.h │ │ ├── i_system.h │ │ ├── i_timer.h │ │ ├── i_video.h │ │ ├── info.h │ │ ├── m_argv.h │ │ ├── m_bbox.h │ │ ├── m_cheat.h │ │ ├── m_config.h │ │ ├── m_controls.h │ │ ├── m_fixed.h │ │ ├── m_menu.h │ │ ├── m_misc.h │ │ ├── m_random.h │ │ ├── memio.h │ │ ├── net_client.h │ │ ├── net_dedicated.h │ │ ├── net_defs.h │ │ ├── net_gui.h │ │ ├── net_io.h │ │ ├── net_loop.h │ │ ├── net_packet.h │ │ ├── net_query.h │ │ ├── net_sdl.h │ │ ├── net_server.h │ │ ├── p_inter.h │ │ ├── p_local.h │ │ ├── p_mobj.h │ │ ├── p_pspr.h │ │ ├── p_saveg.h │ │ ├── p_setup.h │ │ ├── p_spec.h │ │ ├── p_tick.h │ │ ├── r_bsp.h │ │ ├── r_data.h │ │ ├── r_defs.h │ │ ├── r_draw.h │ │ ├── r_local.h │ │ ├── r_main.h │ │ ├── r_plane.h │ │ ├── r_segs.h │ │ ├── r_sky.h │ │ ├── r_state.h │ │ ├── r_things.h │ │ ├── s_sound.h │ │ ├── sha1.h │ │ ├── sounds.h │ │ ├── st_lib.h │ │ ├── st_stuff.h │ │ ├── statdump.h │ │ ├── tables.h │ │ ├── v_patch.h │ │ ├── v_video.h │ │ ├── w_checksum.h │ │ ├── w_file.h │ │ ├── w_main.h │ │ ├── w_merge.h │ │ ├── w_wad.h │ │ ├── wi_stuff.h │ │ └── z_zone.h │ ├── info.c │ ├── m_argv.c │ ├── m_bbox.c │ ├── m_cheat.c │ ├── m_config.c │ ├── m_controls.c │ ├── m_fixed.c │ ├── m_menu.c │ ├── m_misc.c │ ├── m_random.c │ ├── memio.c │ ├── p_ceilng.c │ ├── p_doors.c │ ├── p_enemy.c │ ├── p_floor.c │ ├── p_inter.c │ ├── p_lights.c │ ├── p_map.c │ ├── p_maputl.c │ ├── p_mobj.c │ ├── p_plats.c │ ├── p_pspr.c │ ├── p_saveg.c │ ├── p_setup.c │ ├── p_sight.c │ ├── p_spec.c │ ├── p_switch.c │ ├── p_telept.c │ ├── p_tick.c │ ├── p_user.c │ ├── platform │ │ ├── doomgeneric.h │ │ ├── doomgeneric_existos.c │ │ ├── i_video.c │ │ └── w_file.c │ ├── r_bsp.c │ ├── r_data.c │ ├── r_draw.c │ ├── r_main.c │ ├── r_plane.c │ ├── r_segs.c │ ├── r_sky.c │ ├── r_things.c │ ├── s_sound.c │ ├── sha1.c │ ├── sounds.c │ ├── st_lib.c │ ├── st_stuff.c │ ├── statdump.c │ ├── tables.c │ ├── v_video.c │ ├── w_checksum.c │ ├── w_file_stdc.c_off │ ├── w_main.c │ ├── w_wad.c │ ├── wi_stuff.c │ └── z_zone.c ├── doom.wad ├── include │ ├── existosapi │ │ ├── SystemUI.h │ │ ├── basic_api.h │ │ ├── keyboard_gii39.h │ │ ├── ll_sys_api_code.h │ │ └── syscall.h │ ├── fatfs │ │ ├── diskio.h │ │ ├── ff.h │ │ └── ffconf.h │ ├── freertos │ │ ├── FreeRTOS.h │ │ ├── FreeRTOSConfig.h │ │ ├── StackMacros.h │ │ ├── atomic.h │ │ ├── croutine.h │ │ ├── deprecated_definitions.h │ │ ├── event_groups.h │ │ ├── list.h │ │ ├── message_buffer.h │ │ ├── mpu_prototypes.h │ │ ├── mpu_wrappers.h │ │ ├── portable.h │ │ ├── portmacro.h │ │ ├── projdefs.h │ │ ├── queue.h │ │ ├── semphr.h │ │ ├── stack_macros.h │ │ ├── stdint.readme │ │ ├── stream_buffer.h │ │ ├── task.h │ │ └── timers.h │ ├── lv_conf.h │ └── lvgl │ │ ├── lvgl.h │ │ └── src │ │ ├── core │ │ ├── lv_core.mk │ │ ├── lv_disp.h │ │ ├── lv_event.h │ │ ├── lv_group.h │ │ ├── lv_indev.h │ │ ├── lv_indev_scroll.h │ │ ├── lv_obj.h │ │ ├── lv_obj_class.h │ │ ├── lv_obj_draw.h │ │ ├── lv_obj_pos.h │ │ ├── lv_obj_scroll.h │ │ ├── lv_obj_style.h │ │ ├── lv_obj_style_gen.h │ │ ├── lv_obj_tree.h │ │ ├── lv_refr.h │ │ └── lv_theme.h │ │ ├── draw │ │ ├── arm2d │ │ │ ├── lv_draw_arm2d.mk │ │ │ └── lv_gpu_arm2d.h │ │ ├── lv_draw.h │ │ ├── lv_draw.mk │ │ ├── lv_draw_arc.h │ │ ├── lv_draw_img.h │ │ ├── lv_draw_label.h │ │ ├── lv_draw_layer.h │ │ ├── lv_draw_line.h │ │ ├── lv_draw_mask.h │ │ ├── lv_draw_rect.h │ │ ├── lv_draw_transform.h │ │ ├── lv_draw_triangle.h │ │ ├── lv_img_buf.h │ │ ├── lv_img_cache.h │ │ ├── lv_img_decoder.h │ │ ├── nxp │ │ │ ├── lv_draw_nxp.mk │ │ │ ├── lv_gpu_nxp.h │ │ │ ├── pxp │ │ │ │ ├── lv_draw_nxp_pxp.mk │ │ │ │ ├── lv_draw_pxp_blend.h │ │ │ │ ├── lv_gpu_nxp_pxp.h │ │ │ │ └── lv_gpu_nxp_pxp_osa.h │ │ │ └── vglite │ │ │ │ ├── lv_draw_nxp_vglite.mk │ │ │ │ ├── lv_draw_vglite_arc.h │ │ │ │ ├── lv_draw_vglite_blend.h │ │ │ │ ├── lv_draw_vglite_rect.h │ │ │ │ └── lv_gpu_nxp_vglite.h │ │ ├── sdl │ │ │ ├── README.md │ │ │ ├── lv_draw_sdl.h │ │ │ ├── lv_draw_sdl.mk │ │ │ ├── lv_draw_sdl_composite.h │ │ │ ├── lv_draw_sdl_img.h │ │ │ ├── lv_draw_sdl_layer.h │ │ │ ├── lv_draw_sdl_mask.h │ │ │ ├── lv_draw_sdl_priv.h │ │ │ ├── lv_draw_sdl_rect.h │ │ │ ├── lv_draw_sdl_stack_blur.h │ │ │ ├── lv_draw_sdl_texture_cache.h │ │ │ └── lv_draw_sdl_utils.h │ │ ├── stm32_dma2d │ │ │ ├── lv_draw_stm32_dma2d.mk │ │ │ └── lv_gpu_stm32_dma2d.h │ │ ├── sw │ │ │ ├── lv_draw_sw.h │ │ │ ├── lv_draw_sw.mk │ │ │ ├── lv_draw_sw_blend.h │ │ │ ├── lv_draw_sw_dither.h │ │ │ └── lv_draw_sw_gradient.h │ │ └── swm341_dma2d │ │ │ ├── lv_draw_swm341_dma2d.mk │ │ │ └── lv_gpu_swm341_dma2d.h │ │ ├── extra │ │ ├── README.md │ │ ├── layouts │ │ │ ├── flex │ │ │ │ └── lv_flex.h │ │ │ ├── grid │ │ │ │ └── lv_grid.h │ │ │ └── lv_layouts.h │ │ ├── libs │ │ │ ├── bmp │ │ │ │ └── lv_bmp.h │ │ │ ├── ffmpeg │ │ │ │ └── lv_ffmpeg.h │ │ │ ├── freetype │ │ │ │ ├── arial.ttf │ │ │ │ └── lv_freetype.h │ │ │ ├── fsdrv │ │ │ │ └── lv_fsdrv.h │ │ │ ├── gif │ │ │ │ ├── gifdec.h │ │ │ │ └── lv_gif.h │ │ │ ├── lv_libs.h │ │ │ ├── png │ │ │ │ ├── lodepng.h │ │ │ │ └── lv_png.h │ │ │ ├── qrcode │ │ │ │ ├── lv_qrcode.h │ │ │ │ └── qrcodegen.h │ │ │ ├── rlottie │ │ │ │ └── lv_rlottie.h │ │ │ └── sjpg │ │ │ │ ├── lv_sjpg.h │ │ │ │ ├── tjpgd.h │ │ │ │ └── tjpgdcnf.h │ │ ├── lv_extra.h │ │ ├── lv_extra.mk │ │ ├── others │ │ │ ├── fragment │ │ │ │ ├── README.md │ │ │ │ └── lv_fragment.h │ │ │ ├── gridnav │ │ │ │ └── lv_gridnav.h │ │ │ ├── ime │ │ │ │ └── lv_ime_pinyin.h │ │ │ ├── imgfont │ │ │ │ └── lv_imgfont.h │ │ │ ├── lv_others.h │ │ │ ├── monkey │ │ │ │ └── lv_monkey.h │ │ │ ├── msg │ │ │ │ └── lv_msg.h │ │ │ └── snapshot │ │ │ │ └── lv_snapshot.h │ │ ├── themes │ │ │ ├── basic │ │ │ │ └── lv_theme_basic.h │ │ │ ├── default │ │ │ │ └── lv_theme_default.h │ │ │ ├── lv_themes.h │ │ │ └── mono │ │ │ │ └── lv_theme_mono.h │ │ └── widgets │ │ │ ├── animimg │ │ │ └── lv_animimg.h │ │ │ ├── calendar │ │ │ ├── lv_calendar.h │ │ │ ├── lv_calendar_header_arrow.h │ │ │ └── lv_calendar_header_dropdown.h │ │ │ ├── chart │ │ │ └── lv_chart.h │ │ │ ├── colorwheel │ │ │ └── lv_colorwheel.h │ │ │ ├── imgbtn │ │ │ └── lv_imgbtn.h │ │ │ ├── keyboard │ │ │ └── lv_keyboard.h │ │ │ ├── led │ │ │ └── lv_led.h │ │ │ ├── list │ │ │ └── lv_list.h │ │ │ ├── lv_widgets.h │ │ │ ├── menu │ │ │ └── lv_menu.h │ │ │ ├── meter │ │ │ └── lv_meter.h │ │ │ ├── msgbox │ │ │ └── lv_msgbox.h │ │ │ ├── span │ │ │ └── lv_span.h │ │ │ ├── spinbox │ │ │ └── lv_spinbox.h │ │ │ ├── spinner │ │ │ └── lv_spinner.h │ │ │ ├── tabview │ │ │ └── lv_tabview.h │ │ │ ├── tileview │ │ │ └── lv_tileview.h │ │ │ └── win │ │ │ └── lv_win.h │ │ ├── font │ │ ├── korean.ttf │ │ ├── lv_font.h │ │ ├── lv_font.mk │ │ ├── lv_font_fmt_txt.h │ │ ├── lv_font_loader.h │ │ └── lv_symbol_def.h │ │ ├── hal │ │ ├── lv_hal.h │ │ ├── lv_hal.mk │ │ ├── lv_hal_disp.h │ │ ├── lv_hal_indev.h │ │ └── lv_hal_tick.h │ │ ├── lv_api_map.h │ │ ├── lv_conf_internal.h │ │ ├── lv_conf_kconfig.h │ │ ├── lvgl.h │ │ ├── misc │ │ ├── lv_anim.h │ │ ├── lv_anim_timeline.h │ │ ├── lv_area.h │ │ ├── lv_assert.h │ │ ├── lv_async.h │ │ ├── lv_bidi.h │ │ ├── lv_color.h │ │ ├── lv_fs.h │ │ ├── lv_gc.h │ │ ├── lv_ll.h │ │ ├── lv_log.h │ │ ├── lv_lru.h │ │ ├── lv_math.h │ │ ├── lv_mem.h │ │ ├── lv_misc.mk │ │ ├── lv_printf.h │ │ ├── lv_style.h │ │ ├── lv_style_gen.h │ │ ├── lv_templ.h │ │ ├── lv_timer.h │ │ ├── lv_tlsf.h │ │ ├── lv_txt.h │ │ ├── lv_txt_ap.h │ │ ├── lv_types.h │ │ └── lv_utils.h │ │ └── widgets │ │ ├── lv_arc.h │ │ ├── lv_bar.h │ │ ├── lv_btn.h │ │ ├── lv_btnmatrix.h │ │ ├── lv_canvas.h │ │ ├── lv_checkbox.h │ │ ├── lv_dropdown.h │ │ ├── lv_img.h │ │ ├── lv_label.h │ │ ├── lv_line.h │ │ ├── lv_objx_templ.h │ │ ├── lv_roller.h │ │ ├── lv_slider.h │ │ ├── lv_switch.h │ │ ├── lv_table.h │ │ ├── lv_textarea.h │ │ └── lv_widgets.mk ├── ld.script ├── main.c ├── toolchain.cmake └── tools │ └── eld.exe ├── example_4_multithread ├── .crt.c ├── CMakeLists.txt ├── include │ ├── existosapi │ │ ├── SystemUI.h │ │ ├── basic_api.h │ │ ├── keyboard_gii39.h │ │ ├── ll_sys_api_code.h │ │ └── syscall.h │ ├── fatfs │ │ ├── diskio.h │ │ ├── ff.h │ │ └── ffconf.h │ ├── freertos │ │ ├── FreeRTOS.h │ │ ├── FreeRTOSConfig.h │ │ ├── StackMacros.h │ │ ├── atomic.h │ │ ├── croutine.h │ │ ├── deprecated_definitions.h │ │ ├── event_groups.h │ │ ├── list.h │ │ ├── message_buffer.h │ │ ├── mpu_prototypes.h │ │ ├── mpu_wrappers.h │ │ ├── portable.h │ │ ├── portmacro.h │ │ ├── projdefs.h │ │ ├── queue.h │ │ ├── semphr.h │ │ ├── stack_macros.h │ │ ├── stdint.readme │ │ ├── stream_buffer.h │ │ ├── task.h │ │ └── timers.h │ ├── lv_conf.h │ └── lvgl │ │ ├── lvgl.h │ │ └── src │ │ ├── core │ │ ├── lv_core.mk │ │ ├── lv_disp.h │ │ ├── lv_event.h │ │ ├── lv_group.h │ │ ├── lv_indev.h │ │ ├── lv_indev_scroll.h │ │ ├── lv_obj.h │ │ ├── lv_obj_class.h │ │ ├── lv_obj_draw.h │ │ ├── lv_obj_pos.h │ │ ├── lv_obj_scroll.h │ │ ├── lv_obj_style.h │ │ ├── lv_obj_style_gen.h │ │ ├── lv_obj_tree.h │ │ ├── lv_refr.h │ │ └── lv_theme.h │ │ ├── draw │ │ ├── arm2d │ │ │ ├── lv_draw_arm2d.mk │ │ │ └── lv_gpu_arm2d.h │ │ ├── lv_draw.h │ │ ├── lv_draw.mk │ │ ├── lv_draw_arc.h │ │ ├── lv_draw_img.h │ │ ├── lv_draw_label.h │ │ ├── lv_draw_layer.h │ │ ├── lv_draw_line.h │ │ ├── lv_draw_mask.h │ │ ├── lv_draw_rect.h │ │ ├── lv_draw_transform.h │ │ ├── lv_draw_triangle.h │ │ ├── lv_img_buf.h │ │ ├── lv_img_cache.h │ │ ├── lv_img_decoder.h │ │ ├── nxp │ │ │ ├── lv_draw_nxp.mk │ │ │ ├── lv_gpu_nxp.h │ │ │ ├── pxp │ │ │ │ ├── lv_draw_nxp_pxp.mk │ │ │ │ ├── lv_draw_pxp_blend.h │ │ │ │ ├── lv_gpu_nxp_pxp.h │ │ │ │ └── lv_gpu_nxp_pxp_osa.h │ │ │ └── vglite │ │ │ │ ├── lv_draw_nxp_vglite.mk │ │ │ │ ├── lv_draw_vglite_arc.h │ │ │ │ ├── lv_draw_vglite_blend.h │ │ │ │ ├── lv_draw_vglite_rect.h │ │ │ │ └── lv_gpu_nxp_vglite.h │ │ ├── sdl │ │ │ ├── README.md │ │ │ ├── lv_draw_sdl.h │ │ │ ├── lv_draw_sdl.mk │ │ │ ├── lv_draw_sdl_composite.h │ │ │ ├── lv_draw_sdl_img.h │ │ │ ├── lv_draw_sdl_layer.h │ │ │ ├── lv_draw_sdl_mask.h │ │ │ ├── lv_draw_sdl_priv.h │ │ │ ├── lv_draw_sdl_rect.h │ │ │ ├── lv_draw_sdl_stack_blur.h │ │ │ ├── lv_draw_sdl_texture_cache.h │ │ │ └── lv_draw_sdl_utils.h │ │ ├── stm32_dma2d │ │ │ ├── lv_draw_stm32_dma2d.mk │ │ │ └── lv_gpu_stm32_dma2d.h │ │ ├── sw │ │ │ ├── lv_draw_sw.h │ │ │ ├── lv_draw_sw.mk │ │ │ ├── lv_draw_sw_blend.h │ │ │ ├── lv_draw_sw_dither.h │ │ │ └── lv_draw_sw_gradient.h │ │ └── swm341_dma2d │ │ │ ├── lv_draw_swm341_dma2d.mk │ │ │ └── lv_gpu_swm341_dma2d.h │ │ ├── extra │ │ ├── README.md │ │ ├── layouts │ │ │ ├── flex │ │ │ │ └── lv_flex.h │ │ │ ├── grid │ │ │ │ └── lv_grid.h │ │ │ └── lv_layouts.h │ │ ├── libs │ │ │ ├── bmp │ │ │ │ └── lv_bmp.h │ │ │ ├── ffmpeg │ │ │ │ └── lv_ffmpeg.h │ │ │ ├── freetype │ │ │ │ ├── arial.ttf │ │ │ │ └── lv_freetype.h │ │ │ ├── fsdrv │ │ │ │ └── lv_fsdrv.h │ │ │ ├── gif │ │ │ │ ├── gifdec.h │ │ │ │ └── lv_gif.h │ │ │ ├── lv_libs.h │ │ │ ├── png │ │ │ │ ├── lodepng.h │ │ │ │ └── lv_png.h │ │ │ ├── qrcode │ │ │ │ ├── lv_qrcode.h │ │ │ │ └── qrcodegen.h │ │ │ ├── rlottie │ │ │ │ └── lv_rlottie.h │ │ │ └── sjpg │ │ │ │ ├── lv_sjpg.h │ │ │ │ ├── tjpgd.h │ │ │ │ └── tjpgdcnf.h │ │ ├── lv_extra.h │ │ ├── lv_extra.mk │ │ ├── others │ │ │ ├── fragment │ │ │ │ ├── README.md │ │ │ │ └── lv_fragment.h │ │ │ ├── gridnav │ │ │ │ └── lv_gridnav.h │ │ │ ├── ime │ │ │ │ └── lv_ime_pinyin.h │ │ │ ├── imgfont │ │ │ │ └── lv_imgfont.h │ │ │ ├── lv_others.h │ │ │ ├── monkey │ │ │ │ └── lv_monkey.h │ │ │ ├── msg │ │ │ │ └── lv_msg.h │ │ │ └── snapshot │ │ │ │ └── lv_snapshot.h │ │ ├── themes │ │ │ ├── basic │ │ │ │ └── lv_theme_basic.h │ │ │ ├── default │ │ │ │ └── lv_theme_default.h │ │ │ ├── lv_themes.h │ │ │ └── mono │ │ │ │ └── lv_theme_mono.h │ │ └── widgets │ │ │ ├── animimg │ │ │ └── lv_animimg.h │ │ │ ├── calendar │ │ │ ├── lv_calendar.h │ │ │ ├── lv_calendar_header_arrow.h │ │ │ └── lv_calendar_header_dropdown.h │ │ │ ├── chart │ │ │ └── lv_chart.h │ │ │ ├── colorwheel │ │ │ └── lv_colorwheel.h │ │ │ ├── imgbtn │ │ │ └── lv_imgbtn.h │ │ │ ├── keyboard │ │ │ └── lv_keyboard.h │ │ │ ├── led │ │ │ └── lv_led.h │ │ │ ├── list │ │ │ └── lv_list.h │ │ │ ├── lv_widgets.h │ │ │ ├── menu │ │ │ └── lv_menu.h │ │ │ ├── meter │ │ │ └── lv_meter.h │ │ │ ├── msgbox │ │ │ └── lv_msgbox.h │ │ │ ├── span │ │ │ └── lv_span.h │ │ │ ├── spinbox │ │ │ └── lv_spinbox.h │ │ │ ├── spinner │ │ │ └── lv_spinner.h │ │ │ ├── tabview │ │ │ └── lv_tabview.h │ │ │ ├── tileview │ │ │ └── lv_tileview.h │ │ │ └── win │ │ │ └── lv_win.h │ │ ├── font │ │ ├── korean.ttf │ │ ├── lv_font.h │ │ ├── lv_font.mk │ │ ├── lv_font_fmt_txt.h │ │ ├── lv_font_loader.h │ │ └── lv_symbol_def.h │ │ ├── hal │ │ ├── lv_hal.h │ │ ├── lv_hal.mk │ │ ├── lv_hal_disp.h │ │ ├── lv_hal_indev.h │ │ └── lv_hal_tick.h │ │ ├── lv_api_map.h │ │ ├── lv_conf_internal.h │ │ ├── lv_conf_kconfig.h │ │ ├── lvgl.h │ │ ├── misc │ │ ├── lv_anim.h │ │ ├── lv_anim_timeline.h │ │ ├── lv_area.h │ │ ├── lv_assert.h │ │ ├── lv_async.h │ │ ├── lv_bidi.h │ │ ├── lv_color.h │ │ ├── lv_fs.h │ │ ├── lv_gc.h │ │ ├── lv_ll.h │ │ ├── lv_log.h │ │ ├── lv_lru.h │ │ ├── lv_math.h │ │ ├── lv_mem.h │ │ ├── lv_misc.mk │ │ ├── lv_printf.h │ │ ├── lv_style.h │ │ ├── lv_style_gen.h │ │ ├── lv_templ.h │ │ ├── lv_timer.h │ │ ├── lv_tlsf.h │ │ ├── lv_txt.h │ │ ├── lv_txt_ap.h │ │ ├── lv_types.h │ │ └── lv_utils.h │ │ └── widgets │ │ ├── lv_arc.h │ │ ├── lv_bar.h │ │ ├── lv_btn.h │ │ ├── lv_btnmatrix.h │ │ ├── lv_canvas.h │ │ ├── lv_checkbox.h │ │ ├── lv_dropdown.h │ │ ├── lv_img.h │ │ ├── lv_label.h │ │ ├── lv_line.h │ │ ├── lv_objx_templ.h │ │ ├── lv_roller.h │ │ ├── lv_slider.h │ │ ├── lv_switch.h │ │ ├── lv_table.h │ │ ├── lv_textarea.h │ │ └── lv_widgets.mk ├── ld.script ├── main.c ├── toolchain.cmake └── tools │ └── eld.exe ├── example_5_coremark ├── .crt.c ├── CMakeLists.txt ├── coremark │ ├── LICENSE.md │ ├── Makefile │ ├── README.md │ ├── core_list_join.c │ ├── core_main.c │ ├── core_matrix.c │ ├── core_portme.c │ ├── core_portme.h │ ├── core_state.c │ ├── core_util.c │ └── coremark.h ├── include │ ├── existosapi │ │ ├── SystemUI.h │ │ ├── basic_api.h │ │ ├── keyboard_gii39.h │ │ ├── ll_sys_api_code.h │ │ └── syscall.h │ ├── fatfs │ │ ├── diskio.h │ │ ├── ff.h │ │ └── ffconf.h │ ├── freertos │ │ ├── FreeRTOS.h │ │ ├── FreeRTOSConfig.h │ │ ├── StackMacros.h │ │ ├── atomic.h │ │ ├── croutine.h │ │ ├── deprecated_definitions.h │ │ ├── event_groups.h │ │ ├── list.h │ │ ├── message_buffer.h │ │ ├── mpu_prototypes.h │ │ ├── mpu_wrappers.h │ │ ├── portable.h │ │ ├── portmacro.h │ │ ├── projdefs.h │ │ ├── queue.h │ │ ├── semphr.h │ │ ├── stack_macros.h │ │ ├── stdint.readme │ │ ├── stream_buffer.h │ │ ├── task.h │ │ └── timers.h │ ├── lv_conf.h │ └── lvgl │ │ ├── lvgl.h │ │ └── src │ │ ├── core │ │ ├── lv_core.mk │ │ ├── lv_disp.h │ │ ├── lv_event.h │ │ ├── lv_group.h │ │ ├── lv_indev.h │ │ ├── lv_indev_scroll.h │ │ ├── lv_obj.h │ │ ├── lv_obj_class.h │ │ ├── lv_obj_draw.h │ │ ├── lv_obj_pos.h │ │ ├── lv_obj_scroll.h │ │ ├── lv_obj_style.h │ │ ├── lv_obj_style_gen.h │ │ ├── lv_obj_tree.h │ │ ├── lv_refr.h │ │ └── lv_theme.h │ │ ├── draw │ │ ├── arm2d │ │ │ ├── lv_draw_arm2d.mk │ │ │ └── lv_gpu_arm2d.h │ │ ├── lv_draw.h │ │ ├── lv_draw.mk │ │ ├── lv_draw_arc.h │ │ ├── lv_draw_img.h │ │ ├── lv_draw_label.h │ │ ├── lv_draw_layer.h │ │ ├── lv_draw_line.h │ │ ├── lv_draw_mask.h │ │ ├── lv_draw_rect.h │ │ ├── lv_draw_transform.h │ │ ├── lv_draw_triangle.h │ │ ├── lv_img_buf.h │ │ ├── lv_img_cache.h │ │ ├── lv_img_decoder.h │ │ ├── nxp │ │ │ ├── lv_draw_nxp.mk │ │ │ ├── lv_gpu_nxp.h │ │ │ ├── pxp │ │ │ │ ├── lv_draw_nxp_pxp.mk │ │ │ │ ├── lv_draw_pxp_blend.h │ │ │ │ ├── lv_gpu_nxp_pxp.h │ │ │ │ └── lv_gpu_nxp_pxp_osa.h │ │ │ └── vglite │ │ │ │ ├── lv_draw_nxp_vglite.mk │ │ │ │ ├── lv_draw_vglite_arc.h │ │ │ │ ├── lv_draw_vglite_blend.h │ │ │ │ ├── lv_draw_vglite_rect.h │ │ │ │ └── lv_gpu_nxp_vglite.h │ │ ├── sdl │ │ │ ├── README.md │ │ │ ├── lv_draw_sdl.h │ │ │ ├── lv_draw_sdl.mk │ │ │ ├── lv_draw_sdl_composite.h │ │ │ ├── lv_draw_sdl_img.h │ │ │ ├── lv_draw_sdl_layer.h │ │ │ ├── lv_draw_sdl_mask.h │ │ │ ├── lv_draw_sdl_priv.h │ │ │ ├── lv_draw_sdl_rect.h │ │ │ ├── lv_draw_sdl_stack_blur.h │ │ │ ├── lv_draw_sdl_texture_cache.h │ │ │ └── lv_draw_sdl_utils.h │ │ ├── stm32_dma2d │ │ │ ├── lv_draw_stm32_dma2d.mk │ │ │ └── lv_gpu_stm32_dma2d.h │ │ ├── sw │ │ │ ├── lv_draw_sw.h │ │ │ ├── lv_draw_sw.mk │ │ │ ├── lv_draw_sw_blend.h │ │ │ ├── lv_draw_sw_dither.h │ │ │ └── lv_draw_sw_gradient.h │ │ └── swm341_dma2d │ │ │ ├── lv_draw_swm341_dma2d.mk │ │ │ └── lv_gpu_swm341_dma2d.h │ │ ├── extra │ │ ├── README.md │ │ ├── layouts │ │ │ ├── flex │ │ │ │ └── lv_flex.h │ │ │ ├── grid │ │ │ │ └── lv_grid.h │ │ │ └── lv_layouts.h │ │ ├── libs │ │ │ ├── bmp │ │ │ │ └── lv_bmp.h │ │ │ ├── ffmpeg │ │ │ │ └── lv_ffmpeg.h │ │ │ ├── freetype │ │ │ │ ├── arial.ttf │ │ │ │ └── lv_freetype.h │ │ │ ├── fsdrv │ │ │ │ └── lv_fsdrv.h │ │ │ ├── gif │ │ │ │ ├── gifdec.h │ │ │ │ └── lv_gif.h │ │ │ ├── lv_libs.h │ │ │ ├── png │ │ │ │ ├── lodepng.h │ │ │ │ └── lv_png.h │ │ │ ├── qrcode │ │ │ │ ├── lv_qrcode.h │ │ │ │ └── qrcodegen.h │ │ │ ├── rlottie │ │ │ │ └── lv_rlottie.h │ │ │ └── sjpg │ │ │ │ ├── lv_sjpg.h │ │ │ │ ├── tjpgd.h │ │ │ │ └── tjpgdcnf.h │ │ ├── lv_extra.h │ │ ├── lv_extra.mk │ │ ├── others │ │ │ ├── fragment │ │ │ │ ├── README.md │ │ │ │ └── lv_fragment.h │ │ │ ├── gridnav │ │ │ │ └── lv_gridnav.h │ │ │ ├── ime │ │ │ │ └── lv_ime_pinyin.h │ │ │ ├── imgfont │ │ │ │ └── lv_imgfont.h │ │ │ ├── lv_others.h │ │ │ ├── monkey │ │ │ │ └── lv_monkey.h │ │ │ ├── msg │ │ │ │ └── lv_msg.h │ │ │ └── snapshot │ │ │ │ └── lv_snapshot.h │ │ ├── themes │ │ │ ├── basic │ │ │ │ └── lv_theme_basic.h │ │ │ ├── default │ │ │ │ └── lv_theme_default.h │ │ │ ├── lv_themes.h │ │ │ └── mono │ │ │ │ └── lv_theme_mono.h │ │ └── widgets │ │ │ ├── animimg │ │ │ └── lv_animimg.h │ │ │ ├── calendar │ │ │ ├── lv_calendar.h │ │ │ ├── lv_calendar_header_arrow.h │ │ │ └── lv_calendar_header_dropdown.h │ │ │ ├── chart │ │ │ └── lv_chart.h │ │ │ ├── colorwheel │ │ │ └── lv_colorwheel.h │ │ │ ├── imgbtn │ │ │ └── lv_imgbtn.h │ │ │ ├── keyboard │ │ │ └── lv_keyboard.h │ │ │ ├── led │ │ │ └── lv_led.h │ │ │ ├── list │ │ │ └── lv_list.h │ │ │ ├── lv_widgets.h │ │ │ ├── menu │ │ │ └── lv_menu.h │ │ │ ├── meter │ │ │ └── lv_meter.h │ │ │ ├── msgbox │ │ │ └── lv_msgbox.h │ │ │ ├── span │ │ │ └── lv_span.h │ │ │ ├── spinbox │ │ │ └── lv_spinbox.h │ │ │ ├── spinner │ │ │ └── lv_spinner.h │ │ │ ├── tabview │ │ │ └── lv_tabview.h │ │ │ ├── tileview │ │ │ └── lv_tileview.h │ │ │ └── win │ │ │ └── lv_win.h │ │ ├── font │ │ ├── korean.ttf │ │ ├── lv_font.h │ │ ├── lv_font.mk │ │ ├── lv_font_fmt_txt.h │ │ ├── lv_font_loader.h │ │ └── lv_symbol_def.h │ │ ├── hal │ │ ├── lv_hal.h │ │ ├── lv_hal.mk │ │ ├── lv_hal_disp.h │ │ ├── lv_hal_indev.h │ │ └── lv_hal_tick.h │ │ ├── lv_api_map.h │ │ ├── lv_conf_internal.h │ │ ├── lv_conf_kconfig.h │ │ ├── lvgl.h │ │ ├── misc │ │ ├── lv_anim.h │ │ ├── lv_anim_timeline.h │ │ ├── lv_area.h │ │ ├── lv_assert.h │ │ ├── lv_async.h │ │ ├── lv_bidi.h │ │ ├── lv_color.h │ │ ├── lv_fs.h │ │ ├── lv_gc.h │ │ ├── lv_ll.h │ │ ├── lv_log.h │ │ ├── lv_lru.h │ │ ├── lv_math.h │ │ ├── lv_mem.h │ │ ├── lv_misc.mk │ │ ├── lv_printf.h │ │ ├── lv_style.h │ │ ├── lv_style_gen.h │ │ ├── lv_templ.h │ │ ├── lv_timer.h │ │ ├── lv_tlsf.h │ │ ├── lv_txt.h │ │ ├── lv_txt_ap.h │ │ ├── lv_types.h │ │ └── lv_utils.h │ │ └── widgets │ │ ├── lv_arc.h │ │ ├── lv_bar.h │ │ ├── lv_btn.h │ │ ├── lv_btnmatrix.h │ │ ├── lv_canvas.h │ │ ├── lv_checkbox.h │ │ ├── lv_dropdown.h │ │ ├── lv_img.h │ │ ├── lv_label.h │ │ ├── lv_line.h │ │ ├── lv_objx_templ.h │ │ ├── lv_roller.h │ │ ├── lv_slider.h │ │ ├── lv_switch.h │ │ ├── lv_table.h │ │ ├── lv_textarea.h │ │ └── lv_widgets.mk ├── ld.script ├── main.c ├── toolchain.cmake └── tools │ └── eld.exe └── pictures ├── 0.png ├── 1.png ├── 2.gif ├── 2.png ├── 3.gif ├── 3.png └── 4.gif /.gitignore: -------------------------------------------------------------------------------- 1 | sys_symtab.txt 2 | 3 | # MicroPython 4 | TestELF/MicroPython/port/ExistOS/build/ 5 | # Prerequisites 6 | *.d 7 | 8 | # Object files 9 | *.o 10 | *.ko 11 | *.obj 12 | *.elf 13 | 14 | # Linker output 15 | *.ilk 16 | *.map 17 | *.exp 18 | 19 | # Precompiled Headers 20 | *.gch 21 | *.pch 22 | 23 | # Libraries 24 | *.lib 25 | *.a 26 | *.la 27 | *.lo 28 | 29 | # Shared objects (inc. Windows DLLs) 30 | *.dll 31 | *.so 32 | *.so.* 33 | *.dylib 34 | 35 | # Executables 36 | *.out 37 | *.app 38 | *.i*86 39 | *.x86_64 40 | *.hex 41 | *.bin 42 | *.sb 43 | *.bin 44 | 45 | # Debug files 46 | *.dSYM/ 47 | *.su 48 | *.idb 49 | *.pdb 50 | 51 | # Kernel Module Compile Results 52 | *.mod* 53 | *.cmd 54 | .tmp_versions/ 55 | modules.order 56 | Module.symvers 57 | Mkfile.old 58 | dkms.conf 59 | 60 | # VS code config 61 | .vscode/ 62 | *.code-workspace 63 | 64 | # Cmake files 65 | # Makefile 66 | CMakeCache.txt 67 | cmake_install.cmake 68 | CMakeFiles/ 69 | .cmake/ 70 | build/ 71 | build/.cmake/ 72 | .cache/ 73 | compile_commands.json 74 | 75 | # Tools 76 | elftosb 77 | sbloader 78 | elftosb1 79 | rsrctool 80 | sbtoelf -------------------------------------------------------------------------------- /example_0_empty/include/existosapi/SystemUI.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "lvgl.h" 3 | #define INDICATE_LEFT (1 << 0) 4 | #define INDICATE_RIGHT (1 << 1) 5 | #define INDICATE_A__Z (1 << 2) 6 | #define INDICATE_a__z (1 << 3) 7 | #define INDICATE_BUSY (1 << 4) 8 | #define INDICATE_TX (1 << 5) 9 | #define INDICATE_RX (1 << 6) 10 | 11 | #define SYSTEMUI_MSGBOX_BUTTON_OK (0) 12 | #define SYSTEMUI_MSGBOX_BUTTON_CANCAL (1 << 1) 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | 19 | void SystemUIInit(); 20 | 21 | uint32_t SystemUIMsgBox(lv_obj_t *parent,char *msg, char *title, uint32_t button); 22 | 23 | 24 | void SystemUISuspend(); 25 | void SystemUIResume(); 26 | lv_indev_t *SystemGetInKeypad(); 27 | void SystemUISetBusy(bool enable); 28 | 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | -------------------------------------------------------------------------------- /example_0_empty/include/existosapi/basic_api.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | void api_vram_initialize(uint8_t *vram_addr); 11 | void *api_vram_get_current(void); 12 | void api_vram_flush(void); 13 | void api_vram_clear(uint16_t color); 14 | void api_vram_put_char(int x0, int y0, char ch, int fg, int bg, int fontSize); 15 | void api_vram_put_string(int x0, int y0, char *s, int fg, int bg, int fontSize); 16 | void api_vram_set_pixel(uint32_t x, uint32_t y, uint8_t c); 17 | void api_vram_draw_HLine(int y, int x1, int x2, unsigned short c); 18 | void api_vram_draw_VLine(int x, int y1, int y2, unsigned short c); 19 | void api_vram_draw_line(int x1, int y1, int x2, int y2, unsigned short c); 20 | void api_vram_fill_rect(int x, int y, int w, int h, unsigned short c); 21 | 22 | 23 | 24 | int api_get_key(int check_key); 25 | 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/core/lv_core.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_disp.c 2 | CSRCS += lv_group.c 3 | CSRCS += lv_indev.c 4 | CSRCS += lv_indev_scroll.c 5 | CSRCS += lv_obj.c 6 | CSRCS += lv_obj_class.c 7 | CSRCS += lv_obj_draw.c 8 | CSRCS += lv_obj_pos.c 9 | CSRCS += lv_obj_scroll.c 10 | CSRCS += lv_obj_style.c 11 | CSRCS += lv_obj_style_gen.c 12 | CSRCS += lv_obj_tree.c 13 | CSRCS += lv_event.c 14 | CSRCS += lv_refr.c 15 | CSRCS += lv_theme.c 16 | 17 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core 18 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core 19 | 20 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core" 21 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/arm2d/lv_draw_arm2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_arm2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d" 7 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/arm2d/lv_gpu_arm2d.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_gpu_arm2d.h 3 | * 4 | */ 5 | 6 | #ifndef LV_GPU_ARM2D_H 7 | #define LV_GPU_ARM2D_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../misc/lv_color.h" 17 | #include "../../hal/lv_hal_disp.h" 18 | #include "../sw/lv_draw_sw.h" 19 | 20 | #if LV_USE_GPU_ARM2D 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | /********************** 27 | * TYPEDEFS 28 | **********************/ 29 | typedef lv_draw_sw_ctx_t lv_draw_arm2d_ctx_t; 30 | 31 | struct _lv_disp_drv_t; 32 | 33 | /********************** 34 | * GLOBAL PROTOTYPES 35 | **********************/ 36 | 37 | void lv_draw_arm2d_ctx_init(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx); 38 | 39 | void lv_draw_arm2d_ctx_deinit(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx); 40 | 41 | /********************** 42 | * MACROS 43 | **********************/ 44 | 45 | #endif /*LV_USE_GPU_ARM2D*/ 46 | 47 | #ifdef __cplusplus 48 | } /*extern "C"*/ 49 | #endif 50 | 51 | #endif /*LV_GPU_ARM2D_H*/ 52 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/lv_draw.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_arc.c 2 | CSRCS += lv_draw.c 3 | CSRCS += lv_draw_img.c 4 | CSRCS += lv_draw_label.c 5 | CSRCS += lv_draw_line.c 6 | CSRCS += lv_draw_mask.c 7 | CSRCS += lv_draw_rect.c 8 | CSRCS += lv_draw_transform.c 9 | CSRCS += lv_draw_layer.c 10 | CSRCS += lv_draw_triangle.c 11 | CSRCS += lv_img_buf.c 12 | CSRCS += lv_img_cache.c 13 | CSRCS += lv_img_decoder.c 14 | 15 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw 16 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw 17 | 18 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw" 19 | 20 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d/lv_draw_arm2d.mk 21 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/lv_draw_nxp.mk 22 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl/lv_draw_sdl.mk 23 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d/lv_draw_stm32_dma2d.mk 24 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw/lv_draw_sw.mk 25 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d/lv_draw_swm341_dma2d.mk 26 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/lv_draw_transform.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_transform.h 3 | * 4 | */ 5 | 6 | #ifndef LV_DRAW_TRANSFORM_H 7 | #define LV_DRAW_TRANSFORM_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../lv_conf_internal.h" 17 | #include "../misc/lv_area.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | struct _lv_draw_ctx_t; 27 | 28 | /********************** 29 | * GLOBAL PROTOTYPES 30 | **********************/ 31 | 32 | void lv_draw_transform(struct _lv_draw_ctx_t * draw_ctx, const lv_area_t * dest_area, const void * src_buf, 33 | lv_coord_t src_w, lv_coord_t src_h, 34 | lv_coord_t src_stride, const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_DRAW_TRANSFORM_H*/ 45 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/lv_draw_triangle.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_triangle.h 3 | * 4 | */ 5 | 6 | #ifndef LV_DRAW_TRIANGLE_H 7 | #define LV_DRAW_TRIANGLE_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "lv_draw_rect.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | 26 | /********************** 27 | * GLOBAL PROTOTYPES 28 | **********************/ 29 | 30 | void lv_draw_polygon(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[], 31 | uint16_t point_cnt); 32 | 33 | void lv_draw_triangle(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[]); 34 | /********************** 35 | * MACROS 36 | **********************/ 37 | 38 | #ifdef __cplusplus 39 | } /*extern "C"*/ 40 | #endif 41 | 42 | #endif /*LV_DRAW_TRIANGLE_H*/ 43 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/nxp/lv_draw_nxp.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_nxp.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp" 7 | 8 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp/lv_draw_nxp_pxp.mk 9 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite/lv_draw_nxp_vglite.mk 10 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/nxp/pxp/lv_draw_nxp_pxp.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_pxp_blend.c 2 | CSRCS += lv_gpu_nxp_pxp_osa.c 3 | CSRCS += lv_gpu_nxp_pxp.c 4 | 5 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp 6 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp 7 | 8 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp" 9 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/nxp/vglite/lv_draw_nxp_vglite.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_vglite_arc.c 2 | CSRCS += lv_draw_vglite_blend.c 3 | CSRCS += lv_draw_vglite_rect.c 4 | CSRCS += lv_gpu_nxp_vglite.c 5 | 6 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite 7 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite 8 | 9 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite" 10 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/sdl/lv_draw_sdl.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_sdl.c 2 | CSRCS += lv_draw_sdl_arc.c 3 | CSRCS += lv_draw_sdl_bg.c 4 | CSRCS += lv_draw_sdl_composite.c 5 | CSRCS += lv_draw_sdl_img.c 6 | CSRCS += lv_draw_sdl_label.c 7 | CSRCS += lv_draw_sdl_line.c 8 | CSRCS += lv_draw_sdl_mask.c 9 | CSRCS += lv_draw_sdl_polygon.c 10 | CSRCS += lv_draw_sdl_rect.c 11 | CSRCS += lv_draw_sdl_stack_blur.c 12 | CSRCS += lv_draw_sdl_texture_cache.c 13 | CSRCS += lv_draw_sdl_utils.c 14 | CSRCS += lv_draw_sdl_layer.c 15 | 16 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl 17 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl 18 | 19 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl" 20 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/sdl/lv_draw_sdl_stack_blur.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_sdl_stack_blur.h 3 | * 4 | */ 5 | #ifndef LV_DRAW_SDL_STACK_BLUR_H 6 | #define LV_DRAW_SDL_STACK_BLUR_H 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /********************* 13 | * INCLUDES 14 | *********************/ 15 | 16 | #include "../../lv_conf_internal.h" 17 | 18 | #if LV_USE_GPU_SDL 19 | 20 | #include "../../misc/lv_color.h" 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | /********************** 27 | * TYPEDEFS 28 | **********************/ 29 | 30 | /********************** 31 | * GLOBAL PROTOTYPES 32 | **********************/ 33 | 34 | void lv_stack_blur_grayscale(lv_opa_t * buf, uint16_t w, uint16_t h, uint16_t r); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #endif /*LV_USE_GPU_SDL*/ 41 | 42 | #ifdef __cplusplus 43 | } /*extern "C"*/ 44 | #endif 45 | 46 | #endif /*LV_DRAW_SDL_STACK_BLUR_H*/ 47 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/stm32_dma2d/lv_draw_stm32_dma2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_stm32_dma2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d" 7 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/sw/lv_draw_sw.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_sw.c 2 | CSRCS += lv_draw_sw_arc.c 3 | CSRCS += lv_draw_sw_blend.c 4 | CSRCS += lv_draw_sw_dither.c 5 | CSRCS += lv_draw_sw_gradient.c 6 | CSRCS += lv_draw_sw_img.c 7 | CSRCS += lv_draw_sw_letter.c 8 | CSRCS += lv_draw_sw_line.c 9 | CSRCS += lv_draw_sw_polygon.c 10 | CSRCS += lv_draw_sw_rect.c 11 | CSRCS += lv_draw_sw_transform.c 12 | CSRCS += lv_draw_sw_layer.c 13 | 14 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw 15 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw 16 | 17 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw" 18 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/draw/swm341_dma2d/lv_draw_swm341_dma2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_swm341_dma2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d" 7 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/layouts/lv_layouts.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_layouts.h 3 | * 4 | */ 5 | 6 | #ifndef LV_LAYOUTS_H 7 | #define LV_LAYOUTS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "flex/lv_flex.h" 17 | #include "grid/lv_grid.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /********************** 32 | * MACROS 33 | **********************/ 34 | #if LV_USE_LOG && LV_LOG_TRACE_LAYOUT 35 | # define LV_TRACE_LAYOUT(...) LV_LOG_TRACE(__VA_ARGS__) 36 | #else 37 | # define LV_TRACE_LAYOUT(...) 38 | #endif 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_LAYOUTS_H*/ 45 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/libs/bmp/lv_bmp.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_bmp.h 3 | * 4 | */ 5 | 6 | #ifndef LV_BMP_H 7 | #define LV_BMP_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | #if LV_USE_BMP 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | void lv_bmp_init(void); 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #endif /*LV_USE_BMP*/ 37 | 38 | #ifdef __cplusplus 39 | } /* extern "C" */ 40 | #endif 41 | 42 | #endif /*LV_BMP_H*/ 43 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/libs/freetype/arial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_0_empty/include/lvgl/src/extra/libs/freetype/arial.ttf -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/libs/fsdrv/lv_fsdrv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_fsdrv.h 3 | * 4 | */ 5 | 6 | #ifndef LV_FSDRV_H 7 | #define LV_FSDRV_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | 26 | /********************** 27 | * GLOBAL PROTOTYPES 28 | **********************/ 29 | 30 | #if LV_USE_FS_FATFS != '\0' 31 | void lv_fs_fatfs_init(void); 32 | #endif 33 | 34 | #if LV_USE_FS_STDIO != '\0' 35 | void lv_fs_stdio_init(void); 36 | #endif 37 | 38 | #if LV_USE_FS_POSIX != '\0' 39 | void lv_fs_posix_init(void); 40 | #endif 41 | 42 | #if LV_USE_FS_WIN32 != '\0' 43 | void lv_fs_win32_init(void); 44 | #endif 45 | 46 | /********************** 47 | * MACROS 48 | **********************/ 49 | 50 | #ifdef __cplusplus 51 | } /* extern "C" */ 52 | #endif 53 | 54 | #endif /*LV_FSDRV_H*/ 55 | 56 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/libs/gif/lv_gif.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_gif.h 3 | * 4 | */ 5 | 6 | #ifndef LV_GIF_H 7 | #define LV_GIF_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #include "../../../lvgl.h" 18 | #if LV_USE_GIF 19 | 20 | #include "gifdec.h" 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | /********************** 27 | * TYPEDEFS 28 | **********************/ 29 | 30 | typedef struct { 31 | lv_img_t img; 32 | gd_GIF * gif; 33 | lv_timer_t * timer; 34 | lv_img_dsc_t imgdsc; 35 | uint32_t last_call; 36 | } lv_gif_t; 37 | 38 | extern const lv_obj_class_t lv_gif_class; 39 | 40 | /********************** 41 | * GLOBAL PROTOTYPES 42 | **********************/ 43 | 44 | lv_obj_t * lv_gif_create(lv_obj_t * parent); 45 | void lv_gif_set_src(lv_obj_t * obj, const void * src); 46 | void lv_gif_restart(lv_obj_t * gif); 47 | 48 | /********************** 49 | * MACROS 50 | **********************/ 51 | 52 | #endif /*LV_USE_GIF*/ 53 | 54 | #ifdef __cplusplus 55 | } /* extern "C" */ 56 | #endif 57 | 58 | #endif /*LV_GIF_H*/ 59 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/libs/lv_libs.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_libs.h 3 | * 4 | */ 5 | 6 | #ifndef LV_LIBS_H 7 | #define LV_LIBS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "bmp/lv_bmp.h" 17 | #include "fsdrv/lv_fsdrv.h" 18 | #include "png/lv_png.h" 19 | #include "gif/lv_gif.h" 20 | #include "qrcode/lv_qrcode.h" 21 | #include "sjpg/lv_sjpg.h" 22 | #include "freetype/lv_freetype.h" 23 | #include "rlottie/lv_rlottie.h" 24 | #include "ffmpeg/lv_ffmpeg.h" 25 | 26 | /********************* 27 | * DEFINES 28 | *********************/ 29 | 30 | /********************** 31 | * TYPEDEFS 32 | **********************/ 33 | 34 | /********************** 35 | * GLOBAL PROTOTYPES 36 | **********************/ 37 | 38 | /********************** 39 | * MACROS 40 | **********************/ 41 | 42 | #ifdef __cplusplus 43 | } /*extern "C"*/ 44 | #endif 45 | 46 | #endif /*LV_LIBS_H*/ 47 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/libs/png/lv_png.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_png.h 3 | * 4 | */ 5 | 6 | #ifndef LV_PNG_H 7 | #define LV_PNG_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | #if LV_USE_PNG 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /** 32 | * Register the PNG decoder functions in LVGL 33 | */ 34 | void lv_png_init(void); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #endif /*LV_USE_PNG*/ 41 | 42 | #ifdef __cplusplus 43 | } /* extern "C" */ 44 | #endif 45 | 46 | #endif /*LV_PNG_H*/ 47 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/libs/sjpg/lv_sjpg.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_sjpg.h 3 | * 4 | */ 5 | 6 | #ifndef LV_SJPEG_H 7 | #define LV_SJPEG_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #if LV_USE_SJPG 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | void lv_split_jpeg_init(void); 32 | 33 | /********************** 34 | * MACROS 35 | **********************/ 36 | 37 | #endif /*LV_USE_SJPG*/ 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif /* LV_SJPEG_H */ 44 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/libs/sjpg/tjpgdcnf.h: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------*/ 2 | /* TJpgDec System Configurations R0.03 */ 3 | /*----------------------------------------------*/ 4 | 5 | #define JD_SZBUF 512 6 | /* Specifies size of stream input buffer */ 7 | 8 | #define JD_FORMAT 0 9 | /* Specifies output pixel format. 10 | / 0: RGB888 (24-bit/pix) 11 | / 1: RGB565 (16-bit/pix) 12 | / 2: Grayscale (8-bit/pix) 13 | */ 14 | 15 | #define JD_USE_SCALE 1 16 | /* Switches output descaling feature. 17 | / 0: Disable 18 | / 1: Enable 19 | */ 20 | 21 | #define JD_TBLCLIP 1 22 | /* Use table conversion for saturation arithmetic. A bit faster, but increases 1 KB of code size. 23 | / 0: Disable 24 | / 1: Enable 25 | */ 26 | 27 | #define JD_FASTDECODE 0 28 | /* Optimization level 29 | / 0: Basic optimization. Suitable for 8/16-bit MCUs. 30 | / 1: + 32-bit barrel shifter. Suitable for 32-bit MCUs. 31 | / 2: + Table conversion for huffman decoding (wants 6 << HUFF_BIT bytes of RAM) 32 | */ 33 | 34 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/lv_extra.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_extra.h 3 | * 4 | */ 5 | 6 | #ifndef LV_EXTRA_H 7 | #define LV_EXTRA_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #include "layouts/lv_layouts.h" 18 | #include "libs/lv_libs.h" 19 | #include "others/lv_others.h" 20 | #include "themes/lv_themes.h" 21 | #include "widgets/lv_widgets.h" 22 | 23 | /********************* 24 | * DEFINES 25 | *********************/ 26 | 27 | /********************** 28 | * TYPEDEFS 29 | **********************/ 30 | 31 | /********************** 32 | * GLOBAL PROTOTYPES 33 | **********************/ 34 | 35 | /** 36 | * Initialize the extra components 37 | */ 38 | void lv_extra_init(void); 39 | 40 | /********************** 41 | * MACROS 42 | **********************/ 43 | 44 | #ifdef __cplusplus 45 | } /*extern "C"*/ 46 | #endif 47 | 48 | #endif /*LV_EXTRA_H*/ 49 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/lv_extra.mk: -------------------------------------------------------------------------------- 1 | CSRCS += $(shell find -L $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra -name \*.c) 2 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/others/fragment/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_0_empty/include/lvgl/src/extra/others/fragment/README.md -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/others/lv_others.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_others.h 3 | * 4 | */ 5 | 6 | #ifndef LV_OTHERS_H 7 | #define LV_OTHERS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "snapshot/lv_snapshot.h" 17 | #include "monkey/lv_monkey.h" 18 | #include "gridnav/lv_gridnav.h" 19 | #include "fragment/lv_fragment.h" 20 | #include "imgfont/lv_imgfont.h" 21 | #include "msg/lv_msg.h" 22 | #include "ime/lv_ime_pinyin.h" 23 | 24 | /********************* 25 | * DEFINES 26 | *********************/ 27 | 28 | /********************** 29 | * TYPEDEFS 30 | **********************/ 31 | 32 | /********************** 33 | * GLOBAL PROTOTYPES 34 | **********************/ 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_OTHERS_H*/ 45 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/themes/lv_themes.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_themes.h 3 | * 4 | */ 5 | 6 | #ifndef LV_THEMES_H 7 | #define LV_THEMES_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "default/lv_theme_default.h" 17 | #include "mono/lv_theme_mono.h" 18 | #include "basic/lv_theme_basic.h" 19 | 20 | /********************* 21 | * DEFINES 22 | *********************/ 23 | 24 | /********************** 25 | * TYPEDEFS 26 | **********************/ 27 | 28 | /********************** 29 | * GLOBAL PROTOTYPES 30 | **********************/ 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #ifdef __cplusplus 37 | } /*extern "C"*/ 38 | #endif 39 | 40 | #endif /*LV_THEMES_H*/ 41 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/widgets/spinner/lv_spinner.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_spinner.h 3 | * 4 | */ 5 | 6 | #ifndef LV_SPINNER_H 7 | #define LV_SPINNER_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lvgl.h" 17 | 18 | #if LV_USE_SPINNER 19 | 20 | /*Testing of dependencies*/ 21 | #if LV_USE_ARC == 0 22 | #error "lv_spinner: lv_arc is required. Enable it in lv_conf.h (LV_USE_ARC 1) " 23 | #endif 24 | 25 | /********************* 26 | * DEFINES 27 | *********************/ 28 | 29 | /********************** 30 | * TYPEDEFS 31 | **********************/ 32 | extern const lv_obj_class_t lv_spinner_class; 33 | 34 | /********************** 35 | * GLOBAL PROTOTYPES 36 | **********************/ 37 | 38 | lv_obj_t * lv_spinner_create(lv_obj_t * parent, uint32_t time, uint32_t arc_length); 39 | 40 | /********************** 41 | * MACROS 42 | **********************/ 43 | 44 | #endif /*LV_USE_SPINNER*/ 45 | 46 | #ifdef __cplusplus 47 | } /*extern "C"*/ 48 | #endif 49 | 50 | #endif /*LV_SPINNER_H*/ 51 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/extra/widgets/win/lv_win.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_win.h 3 | * 4 | */ 5 | 6 | #ifndef LV_WIN_H 7 | #define LV_WIN_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lvgl.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | typedef struct { 26 | lv_obj_t obj; 27 | } lv_win_t; 28 | 29 | extern const lv_obj_class_t lv_win_class; 30 | 31 | /********************** 32 | * GLOBAL PROTOTYPES 33 | **********************/ 34 | 35 | lv_obj_t * lv_win_create(lv_obj_t * parent, lv_coord_t header_height); 36 | 37 | 38 | lv_obj_t * lv_win_add_title(lv_obj_t * win, const char * txt); 39 | lv_obj_t * lv_win_add_btn(lv_obj_t * win, const void * icon, lv_coord_t btn_w); 40 | 41 | lv_obj_t * lv_win_get_header(lv_obj_t * win); 42 | lv_obj_t * lv_win_get_content(lv_obj_t * win); 43 | /********************** 44 | * MACROS 45 | **********************/ 46 | 47 | #ifdef __cplusplus 48 | } /*extern "C"*/ 49 | #endif 50 | 51 | #endif /*LV_WIN_H*/ 52 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/font/korean.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_0_empty/include/lvgl/src/font/korean.ttf -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/font/lv_font_loader.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_font_loader.h 3 | * 4 | */ 5 | 6 | #ifndef LV_FONT_LOADER_H 7 | #define LV_FONT_LOADER_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | /********************* 18 | * DEFINES 19 | *********************/ 20 | 21 | /********************** 22 | * TYPEDEFS 23 | **********************/ 24 | 25 | /********************** 26 | * GLOBAL PROTOTYPES 27 | **********************/ 28 | 29 | lv_font_t * lv_font_load(const char * fontName); 30 | void lv_font_free(lv_font_t * font); 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #ifdef __cplusplus 37 | } /*extern "C"*/ 38 | #endif 39 | 40 | #endif /*LV_FONT_LOADER_H*/ 41 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/hal/lv_hal.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_hal_disp.c 2 | CSRCS += lv_hal_indev.c 3 | CSRCS += lv_hal_tick.c 4 | 5 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal 6 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal 7 | 8 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal" 9 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/lvgl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lvgl.h 3 | * This file exists only to be compatible with Arduino's library structure 4 | */ 5 | 6 | #ifndef LVGL_SRC_H 7 | #define LVGL_SRC_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #include "../lvgl.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /********************** 32 | * MACROS 33 | **********************/ 34 | 35 | #ifdef __cplusplus 36 | } /*extern "C"*/ 37 | #endif 38 | 39 | #endif /*LVGL_SRC_H*/ 40 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/misc/lv_misc.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_anim.c 2 | CSRCS += lv_anim_timeline.c 3 | CSRCS += lv_area.c 4 | CSRCS += lv_async.c 5 | CSRCS += lv_bidi.c 6 | CSRCS += lv_color.c 7 | CSRCS += lv_fs.c 8 | CSRCS += lv_gc.c 9 | CSRCS += lv_ll.c 10 | CSRCS += lv_log.c 11 | CSRCS += lv_lru.c 12 | CSRCS += lv_math.c 13 | CSRCS += lv_mem.c 14 | CSRCS += lv_printf.c 15 | CSRCS += lv_style.c 16 | CSRCS += lv_style_gen.c 17 | CSRCS += lv_timer.c 18 | CSRCS += lv_tlsf.c 19 | CSRCS += lv_txt.c 20 | CSRCS += lv_txt_ap.c 21 | CSRCS += lv_utils.c 22 | 23 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc 24 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc 25 | 26 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc" 27 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/misc/lv_templ.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_templ.h 3 | * 4 | */ 5 | 6 | #ifndef LV_TEMPL_H 7 | #define LV_TEMPL_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | /********************* 18 | * DEFINES 19 | *********************/ 20 | 21 | /********************** 22 | * TYPEDEFS 23 | **********************/ 24 | 25 | /********************** 26 | * GLOBAL PROTOTYPES 27 | **********************/ 28 | 29 | /********************** 30 | * MACROS 31 | **********************/ 32 | 33 | #ifdef __cplusplus 34 | } /*extern "C"*/ 35 | #endif 36 | 37 | #endif /*LV_TEMPL_H*/ 38 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/misc/lv_txt_ap.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_txt_ap.h 3 | * 4 | */ 5 | 6 | #ifndef LV_TXT_AP_H 7 | #define LV_TXT_AP_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include 17 | #include "lv_txt.h" 18 | #include "../draw/lv_draw.h" 19 | 20 | #if LV_USE_ARABIC_PERSIAN_CHARS == 1 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | #define LV_UNDEF_ARABIC_PERSIAN_CHARS (UINT32_MAX) 27 | #define LV_AP_ALPHABET_BASE_CODE 0x0622 28 | #define LV_AP_END_CHARS_LIST {0,0,0,0,0,{0,0}} 29 | /********************** 30 | * TYPEDEFS 31 | **********************/ 32 | 33 | /********************** 34 | * GLOBAL PROTOTYPES 35 | **********************/ 36 | uint32_t _lv_txt_ap_calc_bytes_cnt(const char * txt); 37 | void _lv_txt_ap_proc(const char * txt, char * txt_out); 38 | 39 | /********************** 40 | * MACROS 41 | **********************/ 42 | 43 | #endif // LV_USE_ARABIC_PERSIAN_CHARS 44 | 45 | #ifdef __cplusplus 46 | } /*extern "C"*/ 47 | #endif 48 | 49 | #endif /*LV_TXT_AP_H*/ 50 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/widgets/lv_btn.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_btn.h 3 | * 4 | */ 5 | 6 | #ifndef LV_BTN_H 7 | #define LV_BTN_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../lv_conf_internal.h" 17 | 18 | #if LV_USE_BTN != 0 19 | #include "../core/lv_obj.h" 20 | 21 | /********************* 22 | * DEFINES 23 | *********************/ 24 | 25 | /********************** 26 | * TYPEDEFS 27 | **********************/ 28 | 29 | typedef struct { 30 | lv_obj_t obj; 31 | } lv_btn_t; 32 | 33 | extern const lv_obj_class_t lv_btn_class; 34 | 35 | /********************** 36 | * GLOBAL PROTOTYPES 37 | **********************/ 38 | 39 | /** 40 | * Create a button object 41 | * @param parent pointer to an object, it will be the parent of the new button 42 | * @return pointer to the created button 43 | */ 44 | lv_obj_t * lv_btn_create(lv_obj_t * parent); 45 | 46 | /********************** 47 | * MACROS 48 | **********************/ 49 | 50 | #endif /*LV_USE_BTN*/ 51 | 52 | #ifdef __cplusplus 53 | } /*extern "C"*/ 54 | #endif 55 | 56 | #endif /*LV_BTN_H*/ 57 | -------------------------------------------------------------------------------- /example_0_empty/include/lvgl/src/widgets/lv_widgets.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_arc.c 2 | CSRCS += lv_bar.c 3 | CSRCS += lv_btn.c 4 | CSRCS += lv_btnmatrix.c 5 | CSRCS += lv_canvas.c 6 | CSRCS += lv_checkbox.c 7 | CSRCS += lv_dropdown.c 8 | CSRCS += lv_img.c 9 | CSRCS += lv_label.c 10 | CSRCS += lv_line.c 11 | CSRCS += lv_roller.c 12 | CSRCS += lv_slider.c 13 | CSRCS += lv_switch.c 14 | CSRCS += lv_table.c 15 | CSRCS += lv_textarea.c 16 | 17 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets 18 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets 19 | 20 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets" 21 | -------------------------------------------------------------------------------- /example_0_empty/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | #include "existosapi/basic_api.h" 7 | #include "existosapi/keyboard_gii39.h" 8 | #include "existosapi/syscall.h" 9 | 10 | #include "existosapi/SystemUI.h" 11 | 12 | static uint8_t vram[256 * 128]; //创建帧缓存 13 | 14 | int main() 15 | { 16 | ll_cpu_slowdown_enable(false); //关闭CPU自动降频 17 | 18 | api_vram_initialize(vram); //初始化帧缓存 19 | 20 | for (int y = 0; y < 127; y++) 21 | { 22 | for (int x = 0; x < 256; x++) 23 | { 24 | vram[x + y * 256] = x; //绘制灰度渐变条纹 25 | } 26 | } 27 | 28 | api_vram_put_string(5, 6, " Hello World ", 0, 255, 16); 29 | api_vram_put_string(5, 110, " Press F6 to Exit. ", 0, 255, 12); 30 | api_vram_flush(); //刷新显存显示 31 | 32 | while(1) 33 | { 34 | if(api_get_key(-1) == KEY_F6) //判断按下F6后退出 35 | { 36 | return 0; 37 | } 38 | } 39 | 40 | return 0; 41 | } 42 | -------------------------------------------------------------------------------- /example_0_empty/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Generic) 2 | SET(CMAKE_SYSTEM_PROCESSOR arm) 3 | #set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) 4 | SET(CMAKE_C_COMPILER arm-none-eabi-gcc) 5 | SET(CMAKE_CXX_COMPILER arm-none-eabi-g++) 6 | set(CMAKE_C_COMPILER_WORKS 1) 7 | set(CMAKE_CXX_COMPILER_WORKS 1) 8 | find_program(CMAKE_OBJCOPY arm-none-eabi-objcopy) 9 | find_program(CMAKE_SIZE arm-none-eabi-size) 10 | -------------------------------------------------------------------------------- /example_0_empty/tools/eld.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_0_empty/tools/eld.exe -------------------------------------------------------------------------------- /example_1_LvGL/include/existosapi/SystemUI.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "lvgl.h" 3 | #define INDICATE_LEFT (1 << 0) 4 | #define INDICATE_RIGHT (1 << 1) 5 | #define INDICATE_A__Z (1 << 2) 6 | #define INDICATE_a__z (1 << 3) 7 | #define INDICATE_BUSY (1 << 4) 8 | #define INDICATE_TX (1 << 5) 9 | #define INDICATE_RX (1 << 6) 10 | 11 | #define SYSTEMUI_MSGBOX_BUTTON_OK (0) 12 | #define SYSTEMUI_MSGBOX_BUTTON_CANCAL (1 << 1) 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | 19 | void SystemUIInit(); 20 | 21 | uint32_t SystemUIMsgBox(lv_obj_t *parent,char *msg, char *title, uint32_t button); 22 | 23 | 24 | void SystemUISuspend(); 25 | void SystemUIResume(); 26 | lv_indev_t *SystemGetInKeypad(); 27 | void SystemUISetBusy(bool enable); 28 | 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | -------------------------------------------------------------------------------- /example_1_LvGL/include/existosapi/basic_api.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | void api_vram_initialize(uint8_t *vram_addr); 11 | void *api_vram_get_current(void); 12 | void api_vram_flush(void); 13 | void api_vram_clear(uint16_t color); 14 | void api_vram_put_char(int x0, int y0, char ch, int fg, int bg, int fontSize); 15 | void api_vram_put_string(int x0, int y0, char *s, int fg, int bg, int fontSize); 16 | void api_vram_set_pixel(uint32_t x, uint32_t y, uint8_t c); 17 | void api_vram_draw_HLine(int y, int x1, int x2, unsigned short c); 18 | void api_vram_draw_VLine(int x, int y1, int y2, unsigned short c); 19 | void api_vram_draw_line(int x1, int y1, int x2, int y2, unsigned short c); 20 | void api_vram_fill_rect(int x, int y, int w, int h, unsigned short c); 21 | 22 | 23 | 24 | int api_get_key(int check_key); 25 | 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/core/lv_core.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_disp.c 2 | CSRCS += lv_group.c 3 | CSRCS += lv_indev.c 4 | CSRCS += lv_indev_scroll.c 5 | CSRCS += lv_obj.c 6 | CSRCS += lv_obj_class.c 7 | CSRCS += lv_obj_draw.c 8 | CSRCS += lv_obj_pos.c 9 | CSRCS += lv_obj_scroll.c 10 | CSRCS += lv_obj_style.c 11 | CSRCS += lv_obj_style_gen.c 12 | CSRCS += lv_obj_tree.c 13 | CSRCS += lv_event.c 14 | CSRCS += lv_refr.c 15 | CSRCS += lv_theme.c 16 | 17 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core 18 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core 19 | 20 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core" 21 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/arm2d/lv_draw_arm2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_arm2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d" 7 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/arm2d/lv_gpu_arm2d.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_gpu_arm2d.h 3 | * 4 | */ 5 | 6 | #ifndef LV_GPU_ARM2D_H 7 | #define LV_GPU_ARM2D_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../misc/lv_color.h" 17 | #include "../../hal/lv_hal_disp.h" 18 | #include "../sw/lv_draw_sw.h" 19 | 20 | #if LV_USE_GPU_ARM2D 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | /********************** 27 | * TYPEDEFS 28 | **********************/ 29 | typedef lv_draw_sw_ctx_t lv_draw_arm2d_ctx_t; 30 | 31 | struct _lv_disp_drv_t; 32 | 33 | /********************** 34 | * GLOBAL PROTOTYPES 35 | **********************/ 36 | 37 | void lv_draw_arm2d_ctx_init(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx); 38 | 39 | void lv_draw_arm2d_ctx_deinit(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx); 40 | 41 | /********************** 42 | * MACROS 43 | **********************/ 44 | 45 | #endif /*LV_USE_GPU_ARM2D*/ 46 | 47 | #ifdef __cplusplus 48 | } /*extern "C"*/ 49 | #endif 50 | 51 | #endif /*LV_GPU_ARM2D_H*/ 52 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/lv_draw.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_arc.c 2 | CSRCS += lv_draw.c 3 | CSRCS += lv_draw_img.c 4 | CSRCS += lv_draw_label.c 5 | CSRCS += lv_draw_line.c 6 | CSRCS += lv_draw_mask.c 7 | CSRCS += lv_draw_rect.c 8 | CSRCS += lv_draw_transform.c 9 | CSRCS += lv_draw_layer.c 10 | CSRCS += lv_draw_triangle.c 11 | CSRCS += lv_img_buf.c 12 | CSRCS += lv_img_cache.c 13 | CSRCS += lv_img_decoder.c 14 | 15 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw 16 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw 17 | 18 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw" 19 | 20 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d/lv_draw_arm2d.mk 21 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/lv_draw_nxp.mk 22 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl/lv_draw_sdl.mk 23 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d/lv_draw_stm32_dma2d.mk 24 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw/lv_draw_sw.mk 25 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d/lv_draw_swm341_dma2d.mk 26 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/lv_draw_transform.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_transform.h 3 | * 4 | */ 5 | 6 | #ifndef LV_DRAW_TRANSFORM_H 7 | #define LV_DRAW_TRANSFORM_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../lv_conf_internal.h" 17 | #include "../misc/lv_area.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | struct _lv_draw_ctx_t; 27 | 28 | /********************** 29 | * GLOBAL PROTOTYPES 30 | **********************/ 31 | 32 | void lv_draw_transform(struct _lv_draw_ctx_t * draw_ctx, const lv_area_t * dest_area, const void * src_buf, 33 | lv_coord_t src_w, lv_coord_t src_h, 34 | lv_coord_t src_stride, const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_DRAW_TRANSFORM_H*/ 45 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/lv_draw_triangle.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_triangle.h 3 | * 4 | */ 5 | 6 | #ifndef LV_DRAW_TRIANGLE_H 7 | #define LV_DRAW_TRIANGLE_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "lv_draw_rect.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | 26 | /********************** 27 | * GLOBAL PROTOTYPES 28 | **********************/ 29 | 30 | void lv_draw_polygon(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[], 31 | uint16_t point_cnt); 32 | 33 | void lv_draw_triangle(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[]); 34 | /********************** 35 | * MACROS 36 | **********************/ 37 | 38 | #ifdef __cplusplus 39 | } /*extern "C"*/ 40 | #endif 41 | 42 | #endif /*LV_DRAW_TRIANGLE_H*/ 43 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/nxp/lv_draw_nxp.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_nxp.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp" 7 | 8 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp/lv_draw_nxp_pxp.mk 9 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite/lv_draw_nxp_vglite.mk 10 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/nxp/pxp/lv_draw_nxp_pxp.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_pxp_blend.c 2 | CSRCS += lv_gpu_nxp_pxp_osa.c 3 | CSRCS += lv_gpu_nxp_pxp.c 4 | 5 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp 6 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp 7 | 8 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp" 9 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/nxp/vglite/lv_draw_nxp_vglite.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_vglite_arc.c 2 | CSRCS += lv_draw_vglite_blend.c 3 | CSRCS += lv_draw_vglite_rect.c 4 | CSRCS += lv_gpu_nxp_vglite.c 5 | 6 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite 7 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite 8 | 9 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite" 10 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/sdl/lv_draw_sdl.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_sdl.c 2 | CSRCS += lv_draw_sdl_arc.c 3 | CSRCS += lv_draw_sdl_bg.c 4 | CSRCS += lv_draw_sdl_composite.c 5 | CSRCS += lv_draw_sdl_img.c 6 | CSRCS += lv_draw_sdl_label.c 7 | CSRCS += lv_draw_sdl_line.c 8 | CSRCS += lv_draw_sdl_mask.c 9 | CSRCS += lv_draw_sdl_polygon.c 10 | CSRCS += lv_draw_sdl_rect.c 11 | CSRCS += lv_draw_sdl_stack_blur.c 12 | CSRCS += lv_draw_sdl_texture_cache.c 13 | CSRCS += lv_draw_sdl_utils.c 14 | CSRCS += lv_draw_sdl_layer.c 15 | 16 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl 17 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl 18 | 19 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl" 20 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/sdl/lv_draw_sdl_stack_blur.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_sdl_stack_blur.h 3 | * 4 | */ 5 | #ifndef LV_DRAW_SDL_STACK_BLUR_H 6 | #define LV_DRAW_SDL_STACK_BLUR_H 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /********************* 13 | * INCLUDES 14 | *********************/ 15 | 16 | #include "../../lv_conf_internal.h" 17 | 18 | #if LV_USE_GPU_SDL 19 | 20 | #include "../../misc/lv_color.h" 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | /********************** 27 | * TYPEDEFS 28 | **********************/ 29 | 30 | /********************** 31 | * GLOBAL PROTOTYPES 32 | **********************/ 33 | 34 | void lv_stack_blur_grayscale(lv_opa_t * buf, uint16_t w, uint16_t h, uint16_t r); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #endif /*LV_USE_GPU_SDL*/ 41 | 42 | #ifdef __cplusplus 43 | } /*extern "C"*/ 44 | #endif 45 | 46 | #endif /*LV_DRAW_SDL_STACK_BLUR_H*/ 47 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/stm32_dma2d/lv_draw_stm32_dma2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_stm32_dma2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d" 7 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/sw/lv_draw_sw.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_sw.c 2 | CSRCS += lv_draw_sw_arc.c 3 | CSRCS += lv_draw_sw_blend.c 4 | CSRCS += lv_draw_sw_dither.c 5 | CSRCS += lv_draw_sw_gradient.c 6 | CSRCS += lv_draw_sw_img.c 7 | CSRCS += lv_draw_sw_letter.c 8 | CSRCS += lv_draw_sw_line.c 9 | CSRCS += lv_draw_sw_polygon.c 10 | CSRCS += lv_draw_sw_rect.c 11 | CSRCS += lv_draw_sw_transform.c 12 | CSRCS += lv_draw_sw_layer.c 13 | 14 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw 15 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw 16 | 17 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw" 18 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/draw/swm341_dma2d/lv_draw_swm341_dma2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_swm341_dma2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d" 7 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/layouts/lv_layouts.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_layouts.h 3 | * 4 | */ 5 | 6 | #ifndef LV_LAYOUTS_H 7 | #define LV_LAYOUTS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "flex/lv_flex.h" 17 | #include "grid/lv_grid.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /********************** 32 | * MACROS 33 | **********************/ 34 | #if LV_USE_LOG && LV_LOG_TRACE_LAYOUT 35 | # define LV_TRACE_LAYOUT(...) LV_LOG_TRACE(__VA_ARGS__) 36 | #else 37 | # define LV_TRACE_LAYOUT(...) 38 | #endif 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_LAYOUTS_H*/ 45 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/libs/bmp/lv_bmp.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_bmp.h 3 | * 4 | */ 5 | 6 | #ifndef LV_BMP_H 7 | #define LV_BMP_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | #if LV_USE_BMP 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | void lv_bmp_init(void); 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #endif /*LV_USE_BMP*/ 37 | 38 | #ifdef __cplusplus 39 | } /* extern "C" */ 40 | #endif 41 | 42 | #endif /*LV_BMP_H*/ 43 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/libs/freetype/arial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_1_LvGL/include/lvgl/src/extra/libs/freetype/arial.ttf -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/libs/fsdrv/lv_fsdrv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_fsdrv.h 3 | * 4 | */ 5 | 6 | #ifndef LV_FSDRV_H 7 | #define LV_FSDRV_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | 26 | /********************** 27 | * GLOBAL PROTOTYPES 28 | **********************/ 29 | 30 | #if LV_USE_FS_FATFS != '\0' 31 | void lv_fs_fatfs_init(void); 32 | #endif 33 | 34 | #if LV_USE_FS_STDIO != '\0' 35 | void lv_fs_stdio_init(void); 36 | #endif 37 | 38 | #if LV_USE_FS_POSIX != '\0' 39 | void lv_fs_posix_init(void); 40 | #endif 41 | 42 | #if LV_USE_FS_WIN32 != '\0' 43 | void lv_fs_win32_init(void); 44 | #endif 45 | 46 | /********************** 47 | * MACROS 48 | **********************/ 49 | 50 | #ifdef __cplusplus 51 | } /* extern "C" */ 52 | #endif 53 | 54 | #endif /*LV_FSDRV_H*/ 55 | 56 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/libs/lv_libs.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_libs.h 3 | * 4 | */ 5 | 6 | #ifndef LV_LIBS_H 7 | #define LV_LIBS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "bmp/lv_bmp.h" 17 | #include "fsdrv/lv_fsdrv.h" 18 | #include "png/lv_png.h" 19 | #include "gif/lv_gif.h" 20 | #include "qrcode/lv_qrcode.h" 21 | #include "sjpg/lv_sjpg.h" 22 | #include "freetype/lv_freetype.h" 23 | #include "rlottie/lv_rlottie.h" 24 | #include "ffmpeg/lv_ffmpeg.h" 25 | 26 | /********************* 27 | * DEFINES 28 | *********************/ 29 | 30 | /********************** 31 | * TYPEDEFS 32 | **********************/ 33 | 34 | /********************** 35 | * GLOBAL PROTOTYPES 36 | **********************/ 37 | 38 | /********************** 39 | * MACROS 40 | **********************/ 41 | 42 | #ifdef __cplusplus 43 | } /*extern "C"*/ 44 | #endif 45 | 46 | #endif /*LV_LIBS_H*/ 47 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/libs/png/lv_png.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_png.h 3 | * 4 | */ 5 | 6 | #ifndef LV_PNG_H 7 | #define LV_PNG_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | #if LV_USE_PNG 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /** 32 | * Register the PNG decoder functions in LVGL 33 | */ 34 | void lv_png_init(void); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #endif /*LV_USE_PNG*/ 41 | 42 | #ifdef __cplusplus 43 | } /* extern "C" */ 44 | #endif 45 | 46 | #endif /*LV_PNG_H*/ 47 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/libs/sjpg/lv_sjpg.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_sjpg.h 3 | * 4 | */ 5 | 6 | #ifndef LV_SJPEG_H 7 | #define LV_SJPEG_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #if LV_USE_SJPG 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | void lv_split_jpeg_init(void); 32 | 33 | /********************** 34 | * MACROS 35 | **********************/ 36 | 37 | #endif /*LV_USE_SJPG*/ 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif /* LV_SJPEG_H */ 44 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/libs/sjpg/tjpgdcnf.h: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------*/ 2 | /* TJpgDec System Configurations R0.03 */ 3 | /*----------------------------------------------*/ 4 | 5 | #define JD_SZBUF 512 6 | /* Specifies size of stream input buffer */ 7 | 8 | #define JD_FORMAT 0 9 | /* Specifies output pixel format. 10 | / 0: RGB888 (24-bit/pix) 11 | / 1: RGB565 (16-bit/pix) 12 | / 2: Grayscale (8-bit/pix) 13 | */ 14 | 15 | #define JD_USE_SCALE 1 16 | /* Switches output descaling feature. 17 | / 0: Disable 18 | / 1: Enable 19 | */ 20 | 21 | #define JD_TBLCLIP 1 22 | /* Use table conversion for saturation arithmetic. A bit faster, but increases 1 KB of code size. 23 | / 0: Disable 24 | / 1: Enable 25 | */ 26 | 27 | #define JD_FASTDECODE 0 28 | /* Optimization level 29 | / 0: Basic optimization. Suitable for 8/16-bit MCUs. 30 | / 1: + 32-bit barrel shifter. Suitable for 32-bit MCUs. 31 | / 2: + Table conversion for huffman decoding (wants 6 << HUFF_BIT bytes of RAM) 32 | */ 33 | 34 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/lv_extra.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_extra.h 3 | * 4 | */ 5 | 6 | #ifndef LV_EXTRA_H 7 | #define LV_EXTRA_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #include "layouts/lv_layouts.h" 18 | #include "libs/lv_libs.h" 19 | #include "others/lv_others.h" 20 | #include "themes/lv_themes.h" 21 | #include "widgets/lv_widgets.h" 22 | 23 | /********************* 24 | * DEFINES 25 | *********************/ 26 | 27 | /********************** 28 | * TYPEDEFS 29 | **********************/ 30 | 31 | /********************** 32 | * GLOBAL PROTOTYPES 33 | **********************/ 34 | 35 | /** 36 | * Initialize the extra components 37 | */ 38 | void lv_extra_init(void); 39 | 40 | /********************** 41 | * MACROS 42 | **********************/ 43 | 44 | #ifdef __cplusplus 45 | } /*extern "C"*/ 46 | #endif 47 | 48 | #endif /*LV_EXTRA_H*/ 49 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/lv_extra.mk: -------------------------------------------------------------------------------- 1 | CSRCS += $(shell find -L $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra -name \*.c) 2 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/others/fragment/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_1_LvGL/include/lvgl/src/extra/others/fragment/README.md -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/others/lv_others.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_others.h 3 | * 4 | */ 5 | 6 | #ifndef LV_OTHERS_H 7 | #define LV_OTHERS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "snapshot/lv_snapshot.h" 17 | #include "monkey/lv_monkey.h" 18 | #include "gridnav/lv_gridnav.h" 19 | #include "fragment/lv_fragment.h" 20 | #include "imgfont/lv_imgfont.h" 21 | #include "msg/lv_msg.h" 22 | #include "ime/lv_ime_pinyin.h" 23 | 24 | /********************* 25 | * DEFINES 26 | *********************/ 27 | 28 | /********************** 29 | * TYPEDEFS 30 | **********************/ 31 | 32 | /********************** 33 | * GLOBAL PROTOTYPES 34 | **********************/ 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_OTHERS_H*/ 45 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/themes/lv_themes.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_themes.h 3 | * 4 | */ 5 | 6 | #ifndef LV_THEMES_H 7 | #define LV_THEMES_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "default/lv_theme_default.h" 17 | #include "mono/lv_theme_mono.h" 18 | #include "basic/lv_theme_basic.h" 19 | 20 | /********************* 21 | * DEFINES 22 | *********************/ 23 | 24 | /********************** 25 | * TYPEDEFS 26 | **********************/ 27 | 28 | /********************** 29 | * GLOBAL PROTOTYPES 30 | **********************/ 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #ifdef __cplusplus 37 | } /*extern "C"*/ 38 | #endif 39 | 40 | #endif /*LV_THEMES_H*/ 41 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/widgets/spinner/lv_spinner.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_spinner.h 3 | * 4 | */ 5 | 6 | #ifndef LV_SPINNER_H 7 | #define LV_SPINNER_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lvgl.h" 17 | 18 | #if LV_USE_SPINNER 19 | 20 | /*Testing of dependencies*/ 21 | #if LV_USE_ARC == 0 22 | #error "lv_spinner: lv_arc is required. Enable it in lv_conf.h (LV_USE_ARC 1) " 23 | #endif 24 | 25 | /********************* 26 | * DEFINES 27 | *********************/ 28 | 29 | /********************** 30 | * TYPEDEFS 31 | **********************/ 32 | extern const lv_obj_class_t lv_spinner_class; 33 | 34 | /********************** 35 | * GLOBAL PROTOTYPES 36 | **********************/ 37 | 38 | lv_obj_t * lv_spinner_create(lv_obj_t * parent, uint32_t time, uint32_t arc_length); 39 | 40 | /********************** 41 | * MACROS 42 | **********************/ 43 | 44 | #endif /*LV_USE_SPINNER*/ 45 | 46 | #ifdef __cplusplus 47 | } /*extern "C"*/ 48 | #endif 49 | 50 | #endif /*LV_SPINNER_H*/ 51 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/extra/widgets/win/lv_win.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_win.h 3 | * 4 | */ 5 | 6 | #ifndef LV_WIN_H 7 | #define LV_WIN_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lvgl.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | typedef struct { 26 | lv_obj_t obj; 27 | } lv_win_t; 28 | 29 | extern const lv_obj_class_t lv_win_class; 30 | 31 | /********************** 32 | * GLOBAL PROTOTYPES 33 | **********************/ 34 | 35 | lv_obj_t * lv_win_create(lv_obj_t * parent, lv_coord_t header_height); 36 | 37 | 38 | lv_obj_t * lv_win_add_title(lv_obj_t * win, const char * txt); 39 | lv_obj_t * lv_win_add_btn(lv_obj_t * win, const void * icon, lv_coord_t btn_w); 40 | 41 | lv_obj_t * lv_win_get_header(lv_obj_t * win); 42 | lv_obj_t * lv_win_get_content(lv_obj_t * win); 43 | /********************** 44 | * MACROS 45 | **********************/ 46 | 47 | #ifdef __cplusplus 48 | } /*extern "C"*/ 49 | #endif 50 | 51 | #endif /*LV_WIN_H*/ 52 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/font/korean.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_1_LvGL/include/lvgl/src/font/korean.ttf -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/font/lv_font_loader.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_font_loader.h 3 | * 4 | */ 5 | 6 | #ifndef LV_FONT_LOADER_H 7 | #define LV_FONT_LOADER_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | /********************* 18 | * DEFINES 19 | *********************/ 20 | 21 | /********************** 22 | * TYPEDEFS 23 | **********************/ 24 | 25 | /********************** 26 | * GLOBAL PROTOTYPES 27 | **********************/ 28 | 29 | lv_font_t * lv_font_load(const char * fontName); 30 | void lv_font_free(lv_font_t * font); 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #ifdef __cplusplus 37 | } /*extern "C"*/ 38 | #endif 39 | 40 | #endif /*LV_FONT_LOADER_H*/ 41 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/hal/lv_hal.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_hal_disp.c 2 | CSRCS += lv_hal_indev.c 3 | CSRCS += lv_hal_tick.c 4 | 5 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal 6 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal 7 | 8 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal" 9 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/lvgl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lvgl.h 3 | * This file exists only to be compatible with Arduino's library structure 4 | */ 5 | 6 | #ifndef LVGL_SRC_H 7 | #define LVGL_SRC_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #include "../lvgl.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /********************** 32 | * MACROS 33 | **********************/ 34 | 35 | #ifdef __cplusplus 36 | } /*extern "C"*/ 37 | #endif 38 | 39 | #endif /*LVGL_SRC_H*/ 40 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/misc/lv_misc.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_anim.c 2 | CSRCS += lv_anim_timeline.c 3 | CSRCS += lv_area.c 4 | CSRCS += lv_async.c 5 | CSRCS += lv_bidi.c 6 | CSRCS += lv_color.c 7 | CSRCS += lv_fs.c 8 | CSRCS += lv_gc.c 9 | CSRCS += lv_ll.c 10 | CSRCS += lv_log.c 11 | CSRCS += lv_lru.c 12 | CSRCS += lv_math.c 13 | CSRCS += lv_mem.c 14 | CSRCS += lv_printf.c 15 | CSRCS += lv_style.c 16 | CSRCS += lv_style_gen.c 17 | CSRCS += lv_timer.c 18 | CSRCS += lv_tlsf.c 19 | CSRCS += lv_txt.c 20 | CSRCS += lv_txt_ap.c 21 | CSRCS += lv_utils.c 22 | 23 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc 24 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc 25 | 26 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc" 27 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/misc/lv_templ.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_templ.h 3 | * 4 | */ 5 | 6 | #ifndef LV_TEMPL_H 7 | #define LV_TEMPL_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | /********************* 18 | * DEFINES 19 | *********************/ 20 | 21 | /********************** 22 | * TYPEDEFS 23 | **********************/ 24 | 25 | /********************** 26 | * GLOBAL PROTOTYPES 27 | **********************/ 28 | 29 | /********************** 30 | * MACROS 31 | **********************/ 32 | 33 | #ifdef __cplusplus 34 | } /*extern "C"*/ 35 | #endif 36 | 37 | #endif /*LV_TEMPL_H*/ 38 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/misc/lv_txt_ap.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_txt_ap.h 3 | * 4 | */ 5 | 6 | #ifndef LV_TXT_AP_H 7 | #define LV_TXT_AP_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include 17 | #include "lv_txt.h" 18 | #include "../draw/lv_draw.h" 19 | 20 | #if LV_USE_ARABIC_PERSIAN_CHARS == 1 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | #define LV_UNDEF_ARABIC_PERSIAN_CHARS (UINT32_MAX) 27 | #define LV_AP_ALPHABET_BASE_CODE 0x0622 28 | #define LV_AP_END_CHARS_LIST {0,0,0,0,0,{0,0}} 29 | /********************** 30 | * TYPEDEFS 31 | **********************/ 32 | 33 | /********************** 34 | * GLOBAL PROTOTYPES 35 | **********************/ 36 | uint32_t _lv_txt_ap_calc_bytes_cnt(const char * txt); 37 | void _lv_txt_ap_proc(const char * txt, char * txt_out); 38 | 39 | /********************** 40 | * MACROS 41 | **********************/ 42 | 43 | #endif // LV_USE_ARABIC_PERSIAN_CHARS 44 | 45 | #ifdef __cplusplus 46 | } /*extern "C"*/ 47 | #endif 48 | 49 | #endif /*LV_TXT_AP_H*/ 50 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/widgets/lv_btn.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_btn.h 3 | * 4 | */ 5 | 6 | #ifndef LV_BTN_H 7 | #define LV_BTN_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../lv_conf_internal.h" 17 | 18 | #if LV_USE_BTN != 0 19 | #include "../core/lv_obj.h" 20 | 21 | /********************* 22 | * DEFINES 23 | *********************/ 24 | 25 | /********************** 26 | * TYPEDEFS 27 | **********************/ 28 | 29 | typedef struct { 30 | lv_obj_t obj; 31 | } lv_btn_t; 32 | 33 | extern const lv_obj_class_t lv_btn_class; 34 | 35 | /********************** 36 | * GLOBAL PROTOTYPES 37 | **********************/ 38 | 39 | /** 40 | * Create a button object 41 | * @param parent pointer to an object, it will be the parent of the new button 42 | * @return pointer to the created button 43 | */ 44 | lv_obj_t * lv_btn_create(lv_obj_t * parent); 45 | 46 | /********************** 47 | * MACROS 48 | **********************/ 49 | 50 | #endif /*LV_USE_BTN*/ 51 | 52 | #ifdef __cplusplus 53 | } /*extern "C"*/ 54 | #endif 55 | 56 | #endif /*LV_BTN_H*/ 57 | -------------------------------------------------------------------------------- /example_1_LvGL/include/lvgl/src/widgets/lv_widgets.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_arc.c 2 | CSRCS += lv_bar.c 3 | CSRCS += lv_btn.c 4 | CSRCS += lv_btnmatrix.c 5 | CSRCS += lv_canvas.c 6 | CSRCS += lv_checkbox.c 7 | CSRCS += lv_dropdown.c 8 | CSRCS += lv_img.c 9 | CSRCS += lv_label.c 10 | CSRCS += lv_line.c 11 | CSRCS += lv_roller.c 12 | CSRCS += lv_slider.c 13 | CSRCS += lv_switch.c 14 | CSRCS += lv_table.c 15 | CSRCS += lv_textarea.c 16 | 17 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets 18 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets 19 | 20 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets" 21 | -------------------------------------------------------------------------------- /example_1_LvGL/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Generic) 2 | SET(CMAKE_SYSTEM_PROCESSOR arm) 3 | #set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) 4 | SET(CMAKE_C_COMPILER arm-none-eabi-gcc) 5 | SET(CMAKE_CXX_COMPILER arm-none-eabi-g++) 6 | set(CMAKE_C_COMPILER_WORKS 1) 7 | set(CMAKE_CXX_COMPILER_WORKS 1) 8 | find_program(CMAKE_OBJCOPY arm-none-eabi-objcopy) 9 | find_program(CMAKE_SIZE arm-none-eabi-size) 10 | -------------------------------------------------------------------------------- /example_1_LvGL/tools/eld.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_1_LvGL/tools/eld.exe -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | include_directories(.) 3 | 4 | AUX_SOURCE_DIRECTORY(. DIR_PICOGL_SRCS) 5 | 6 | ADD_LIBRARY(picogl ${DIR_PICOGL_SRCS}) 7 | 8 | 9 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/GL/glu.h: -------------------------------------------------------------------------------- 1 | #ifndef GLU_H 2 | #define GLU_H 3 | 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | void gluPerspective( GLdouble fovy, GLdouble aspect, 11 | GLdouble zNear, GLdouble zFar ); 12 | 13 | typedef struct { 14 | int draw_style; 15 | } GLUquadricObj; 16 | 17 | #define GLU_LINE 0 18 | 19 | GLUquadricObj *gluNewQuadric(void); 20 | void gluQuadricDrawStyle(GLUquadricObj *obj, int style); 21 | 22 | void gluSphere(GLUquadricObj *qobj, 23 | GLfloat radius,int slices,int stacks); 24 | void gluCylinder( GLUquadricObj *qobj, 25 | GLdouble baseRadius, GLdouble topRadius, GLdouble height, 26 | GLint slices, GLint stacks ); 27 | void gluDisk( GLUquadricObj *qobj, 28 | GLdouble innerRadius, GLdouble outerRadius, 29 | GLint slices, GLint loops ); 30 | 31 | void drawTorus(GLfloat rc, int numc, GLfloat rt, int numt); 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/GL/glx.h: -------------------------------------------------------------------------------- 1 | #ifndef UPSTREAM_GLX_H 2 | #define UPSTREAM_GLX_H 3 | 4 | /* the build system will assign proper glx header from implementation */ 5 | #include "../glx_impl.h" 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/GL/oscontext.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCONTEXT_H 2 | #define OSCONTEXT_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | typedef struct { 9 | void **zbs; 10 | void **framebuffers; 11 | int numbuffers; 12 | int xsize, ysize; 13 | } ostgl_context; 14 | 15 | ostgl_context * 16 | ostgl_create_context(const int xsize, 17 | const int ysize, 18 | const int depth, 19 | void **framebuffers, 20 | const int numbuffers); 21 | void 22 | ostgl_delete_context(ostgl_context *context); 23 | 24 | void 25 | ostgl_make_current(ostgl_context *context, const int index); 26 | 27 | void 28 | ostgl_resize(ostgl_context * context, 29 | const int xsize, 30 | const int ysize, 31 | void **framebuffers); 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif /* OSCONTEXT_H */ 38 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/MemfbDefs.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by kaaass on 2020/3/16. 3 | // 4 | 5 | #ifndef PICOGL_TEST_MEMFBDEFS_H 6 | #define PICOGL_TEST_MEMFBDEFS_H 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | void *getFrameBuffer(); 13 | 14 | size_t sizeOfFrameBuffer(); 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | 20 | #endif //PICOGL_TEST_MEMFBDEFS_H 21 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/clear.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void glopClearColor(GLContext *c,GLParam *p) 4 | { 5 | c->clear_color.v[0]=p[1].f; 6 | c->clear_color.v[1]=p[2].f; 7 | c->clear_color.v[2]=p[3].f; 8 | c->clear_color.v[3]=p[4].f; 9 | } 10 | void glopClearDepth(GLContext *c,GLParam *p) 11 | { 12 | c->clear_depth=p[1].f; 13 | } 14 | 15 | 16 | void glopClear(GLContext *c,GLParam *p) 17 | { 18 | int mask=p[1].i; 19 | int z=0; 20 | int r=sll2int(sllmul(c->clear_color.v[0], int2sll(65535))); 21 | int g=sll2int(sllmul(c->clear_color.v[1], int2sll(65535))); 22 | int b=sll2int(sllmul(c->clear_color.v[2], int2sll(65535))); 23 | 24 | /* TODO : correct value of Z */ 25 | 26 | ZB_clear(c->zb,mask & GL_DEPTH_BUFFER_BIT,z, 27 | mask & GL_COLOR_BUFFER_BIT,r,g,b); 28 | } 29 | 30 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/debugger.c: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/debugger.h: -------------------------------------------------------------------------------- 1 | #ifndef DEBUGGER_HH 2 | #define DEBUGGER_HH 3 | 4 | 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/error.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void gl_fatal_error(char *format, ...) 5 | { 6 | va_list ap; 7 | 8 | va_start(ap, format); 9 | 10 | fprintf(stderr, "PicoGL: fatal error: "); 11 | vfprintf(stderr, format,ap); 12 | fprintf(stderr, "\n"); 13 | 14 | va_end(ap); 15 | } 16 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/glu.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #ifndef M_PI 6 | #define M_PI 3.14159265358979323846 /* pi */ 7 | #endif 8 | 9 | GLUquadricObj *gluNewQuadric(void) 10 | { 11 | return NULL; 12 | } 13 | 14 | void gluQuadricDrawStyle(GLUquadricObj *obj, int style) 15 | { 16 | } 17 | 18 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/glu_perspective.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #ifndef M_PI 6 | #define M_PI 3.14159265358979323846 /* pi */ 7 | #endif 8 | 9 | void gluPerspective( GLdouble fovy, GLdouble aspect, 10 | GLdouble zNear, GLdouble zFar ) 11 | { 12 | GLdouble xmin, xmax, ymin, ymax; 13 | 14 | ymax = sllmul(zNear, slltan( sllmul(fovy, dbl2sll(M_PI/360.0)) )); 15 | ymin = sllneg(ymax); 16 | 17 | xmin = sllmul(ymin, aspect); 18 | xmax = sllmul(ymax, aspect); 19 | 20 | glFrustum( xmin, xmax, ymin, ymax, zNear, zFar ); 21 | } 22 | 23 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/glu_sphere.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_2_TinyGL/RepicoGL/glu_sphere.c -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/glx_impl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * FBDev GLX-like backend 3 | */ 4 | 5 | #ifndef GLX_H 6 | #define GLX_H 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | 13 | #include 14 | #include 15 | 16 | #ifdef __cplusplus 17 | extern "C" { 18 | #endif 19 | 20 | 21 | typedef struct TinyFBDevGLXContext FBDevGLXContext; 22 | 23 | extern FBDevGLXContext *fbdev_glXCreateContext(); 24 | 25 | extern void fbdev_glXDestroyContext(); 26 | 27 | extern int fbdev_glXMakeCurrent(FBDevGLXContext *ctx); 28 | 29 | extern void fbdev_glXSwapBuffers(FBDevGLXContext *ctx); 30 | 31 | extern int fbdev_getLineLength(FBDevGLXContext *ctx); 32 | 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/library.properties: -------------------------------------------------------------------------------- 1 | name=PicoGL 2 | version=1.0.0 3 | author=KAAAsS 4 | maintainer=KAAAsS 5 | sentence= 6 | paragraph= 7 | category=Communication 8 | url= 9 | architectures=* 10 | includes=ButtonCallback.h 11 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/memory.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Memory allocator for PicoGL 3 | */ 4 | #include 5 | 6 | /* modify these functions so that they suit your needs */ 7 | 8 | void gl_free(void *p) 9 | { 10 | free(p); 11 | } 12 | 13 | void *gl_malloc(int size) 14 | { 15 | return malloc(size); 16 | } 17 | 18 | void *gl_zalloc(int size) 19 | { 20 | return calloc(1, size); 21 | } 22 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/msghandling.h: -------------------------------------------------------------------------------- 1 | #ifndef _msghandling_h_ 2 | #define _msghandling_h_ 3 | 4 | extern void tgl_warning(const char *text, ...); 5 | extern void tgl_trace(const char *text, ...); 6 | extern void tgl_fixme(const char *text, ...); 7 | 8 | #endif /* _msghandling_h_ */ 9 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/picotk.h: -------------------------------------------------------------------------------- 1 | #ifndef PICOTK_H 2 | #define PICOTK_H 3 | 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* 11 | * tk like ui 12 | */ 13 | void draw( void ); 14 | int loop( void ); 15 | void reshape( int width, int height ); 16 | void picotk_init( void ); 17 | int ui_loop(int argc, char **argv, const char *name); 18 | void tkSwapBuffers(void); 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | /* 24 | #define KEY_UP 0xe000 25 | #define KEY_DOWN 0xe001 26 | #define KEY_LEFT 0xe002 27 | #define KEY_RIGHT 0xe003 28 | #define KEY_ESCAPE 0xe004 29 | */ 30 | #endif 31 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/screen_config.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by kaaass on 2020/3/16. 3 | // 4 | 5 | #ifndef PICOGL_TEST_SCREEN_CONFIG_H 6 | #define PICOGL_TEST_SCREEN_CONFIG_H 7 | 8 | #define SCREEN_WIDTH 128 9 | #define SCREEN_HEIGHT 64 10 | #define SCREEN_BITS_PER_PIXEL 8 11 | #define SCREEN_LINE_BYTES_LENGTH (SCREEN_WIDTH * SCREEN_BITS_PER_PIXEL / 8) 12 | 13 | #endif //PICOGL_TEST_SCREEN_CONFIG_H 14 | -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/specbuf.h: -------------------------------------------------------------------------------- 1 | #ifndef _tgl_specbuf_h_ 2 | #define _tgl_specbuf_h_ 3 | 4 | /* Max # of specular light pow buffers */ 5 | #define MAX_SPECULAR_BUFFERS 8 6 | /* # of entries in specular buffer */ 7 | #define SPECULAR_BUFFER_SIZE 1024 8 | /* specular buffer granularity */ 9 | #define SPECULAR_BUFFER_RESOLUTION 1024 10 | 11 | typedef struct GLSpecBuf { 12 | int shininess_i; 13 | int last_used; 14 | float buf[SPECULAR_BUFFER_SIZE+1]; 15 | struct GLSpecBuf *next; 16 | } GLSpecBuf; 17 | 18 | GLSpecBuf *specbuf_get_buffer(GLContext *c, const int shininess_i, 19 | const float shininess); 20 | void specbuf_cleanup(GLContext *c); /* free all memory used */ 21 | 22 | #endif /* _tgl_specbuf_h_ */ -------------------------------------------------------------------------------- /example_2_TinyGL/RepicoGL/zmath.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_2_TinyGL/RepicoGL/zmath.c -------------------------------------------------------------------------------- /example_2_TinyGL/include/existosapi/basic_api.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | void api_vram_initialize(uint8_t *vram_addr); 11 | void *api_vram_get_current(void); 12 | void api_vram_flush(void); 13 | void api_vram_clear(uint16_t color); 14 | void api_vram_put_char(int x0, int y0, char ch, int fg, int bg, int fontSize); 15 | void api_vram_put_string(int x0, int y0, char *s, int fg, int bg, int fontSize); 16 | void api_vram_set_pixel(uint32_t x, uint32_t y, uint8_t c); 17 | void api_vram_draw_HLine(int y, int x1, int x2, unsigned short c); 18 | void api_vram_draw_VLine(int x, int y1, int y2, unsigned short c); 19 | void api_vram_draw_line(int x1, int y1, int x2, int y2, unsigned short c); 20 | void api_vram_fill_rect(int x, int y, int w, int h, unsigned short c); 21 | 22 | 23 | 24 | int api_get_key(int check_key); 25 | 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /example_2_TinyGL/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Generic) 2 | SET(CMAKE_SYSTEM_PROCESSOR arm) 3 | #set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) 4 | SET(CMAKE_C_COMPILER arm-none-eabi-gcc) 5 | SET(CMAKE_CXX_COMPILER arm-none-eabi-g++) 6 | set(CMAKE_C_COMPILER_WORKS 1) 7 | set(CMAKE_CXX_COMPILER_WORKS 1) 8 | find_program(CMAKE_OBJCOPY arm-none-eabi-objcopy) 9 | find_program(CMAKE_SIZE arm-none-eabi-size) 10 | -------------------------------------------------------------------------------- /example_2_TinyGL/tools/eld.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_2_TinyGL/tools/eld.exe -------------------------------------------------------------------------------- /example_3_doom/DOOM/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #file(GLOB DoomSources *.c) 2 | #file(GLOB PlatformSources platform/*.c) 3 | 4 | 5 | include_directories(.) 6 | include_directories(./include) 7 | include_directories(./platform) 8 | 9 | AUX_SOURCE_DIRECTORY(. DIR_DOOM_SRCS) 10 | AUX_SOURCE_DIRECTORY(./platform DIR_DOOM_SRCS) 11 | 12 | ADD_LIBRARY(doom ${DIR_DOOM_SRCS}) 13 | 14 | -------------------------------------------------------------------------------- /example_3_doom/DOOM/doomdef.c: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // DoomDef - basic defines for DOOM, e.g. Version, game mode 17 | // and skill level, and display parameters. 18 | // 19 | 20 | 21 | 22 | #include "doomdef.h" 23 | 24 | // Location for any defines turned variables. 25 | 26 | // None. 27 | 28 | 29 | -------------------------------------------------------------------------------- /example_3_doom/DOOM/doomgeneric.c: -------------------------------------------------------------------------------- 1 | #include "doomgeneric.h" 2 | 3 | 4 | void dg_Create() 5 | { 6 | DG_Init(); 7 | } 8 | 9 | -------------------------------------------------------------------------------- /example_3_doom/DOOM/doomstat.c: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // Put all global tate variables here. 17 | // 18 | 19 | #include 20 | 21 | #include "doomstat.h" 22 | 23 | 24 | // Game Mode - identify IWAD as shareware, retail etc. 25 | GameMode_t gamemode = indetermined; 26 | GameMission_t gamemission = doom; 27 | GameVersion_t gameversion = exe_final2; 28 | char *gamedescription; 29 | 30 | // Set if homebrew PWAD stuff has been added. 31 | boolean modifiedgame; 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /example_3_doom/DOOM/icon.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_3_doom/DOOM/icon.c -------------------------------------------------------------------------------- /example_3_doom/DOOM/include/d_items.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // Items: key cards, artifacts, weapon, ammunition. 17 | // 18 | 19 | 20 | #ifndef __D_ITEMS__ 21 | #define __D_ITEMS__ 22 | 23 | #include "doomdef.h" 24 | 25 | 26 | 27 | // Weapon info: sprite frames, ammunition use. 28 | typedef struct 29 | { 30 | ammotype_t ammo; 31 | int upstate; 32 | int downstate; 33 | int readystate; 34 | int atkstate; 35 | int flashstate; 36 | 37 | } weaponinfo_t; 38 | 39 | extern const weaponinfo_t weaponinfo[NUMWEAPONS]; 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /example_3_doom/DOOM/include/d_textur.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // Typedefs related to to textures etc., 17 | // isolated here to make it easier separating modules. 18 | // 19 | 20 | 21 | #ifndef __D_TEXTUR__ 22 | #define __D_TEXTUR__ 23 | 24 | #include "doomtype.h" 25 | 26 | 27 | 28 | 29 | // 30 | // Flats? 31 | // 32 | // a pic is an unmasked block of pixels 33 | typedef struct 34 | { 35 | byte width; 36 | byte height; 37 | byte data; 38 | } pic_t; 39 | 40 | 41 | 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /example_3_doom/DOOM/include/dstrings.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // 16 | // DESCRIPTION: 17 | // DOOM strings, by language. 18 | // 19 | 20 | 21 | #ifndef __DSTRINGS__ 22 | #define __DSTRINGS__ 23 | 24 | 25 | // All important printed strings. 26 | 27 | #include "d_englsh.h" 28 | 29 | // Misc. other strings. 30 | #define SAVEGAMENAME "doomsav" 31 | 32 | 33 | // QuitDOOM messages 34 | // 8 per each game type 35 | #define NUM_QUITMESSAGES 8 36 | 37 | extern char *doom1_endmsg[]; 38 | extern char *doom2_endmsg[]; 39 | 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /example_3_doom/DOOM/include/f_finale.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // 17 | // 18 | 19 | 20 | #ifndef __F_FINALE__ 21 | #define __F_FINALE__ 22 | 23 | 24 | #include "doomtype.h" 25 | #include "d_event.h" 26 | // 27 | // FINALE 28 | // 29 | 30 | // Called by main loop. 31 | boolean F_Responder (event_t* ev); 32 | 33 | // Called by main loop. 34 | void F_Ticker (void); 35 | 36 | // Called by main loop. 37 | void F_Drawer (void); 38 | 39 | 40 | void F_StartFinale (void); 41 | 42 | 43 | 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /example_3_doom/DOOM/include/gusconf.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 2005-2014 Simon Howard 3 | // 4 | // This program is free software; you can redistribute it and/or 5 | // modify it under the terms of the GNU General Public License 6 | // as published by the Free Software Foundation; either version 2 7 | // of the License, or (at your option) any later version. 8 | // 9 | // This program is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | // 14 | // DESCRIPTION: 15 | // GUS emulation code. 16 | // 17 | 18 | #ifndef __GUSCONF_H__ 19 | #define __GUSCONF_H__ 20 | 21 | #include "doomtype.h" 22 | 23 | extern char *gus_patch_path; 24 | extern unsigned int gus_ram_kb; 25 | 26 | boolean GUS_WriteConfig(char *path); 27 | 28 | #endif /* #ifndef __GUSCONF_H__ */ 29 | 30 | -------------------------------------------------------------------------------- /example_3_doom/DOOM/include/i_endoom.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // Exit text-mode ENDOOM screen. 17 | // 18 | 19 | 20 | #ifndef __I_ENDOOM__ 21 | #define __I_ENDOOM__ 22 | 23 | // Display the Endoom screen on shutdown. Pass a pointer to the 24 | // ENDOOM lump. 25 | 26 | void I_Endoom(byte *data); 27 | 28 | #endif 29 | 30 | -------------------------------------------------------------------------------- /example_3_doom/DOOM/include/m_bbox.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // Nil. 17 | // 18 | 19 | 20 | #ifndef __M_BBOX__ 21 | #define __M_BBOX__ 22 | 23 | #include 24 | 25 | #include "m_fixed.h" 26 | 27 | 28 | // Bounding box coordinate storage. 29 | enum 30 | { 31 | BOXTOP, 32 | BOXBOTTOM, 33 | BOXLEFT, 34 | BOXRIGHT 35 | }; // bbox coordinates 36 | 37 | // Bounding box functions. 38 | void M_ClearBox (fixed_t* box); 39 | 40 | void 41 | M_AddToBox 42 | ( fixed_t* box, 43 | fixed_t x, 44 | fixed_t y ); 45 | 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /example_3_doom/DOOM/include/m_fixed.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(C) 1993-1996 Id Software, Inc. 3 | // Copyright(C) 2005-2014 Simon Howard 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // DESCRIPTION: 16 | // Fixed point arithemtics, implementation. 17 | // 18 | 19 | 20 | #ifndef __M_FIXED__ 21 | #define __M_FIXED__ 22 | 23 | 24 | 25 | 26 | // 27 | // Fixed point, 32bit as 16.16. 28 | // 29 | #define FRACBITS 16 30 | #define FRACUNIT (1< 5 | #include 6 | 7 | 8 | #define DOOMGENERIC_RESX 256 9 | #define DOOMGENERIC_RESY 127 10 | 11 | 12 | extern uint16_t* DG_ScreenBuffer; 13 | 14 | 15 | void DG_Init(); 16 | void DG_DrawFrame(); 17 | void DG_SleepMs(uint32_t ms); 18 | uint32_t DG_GetTicksMs(); 19 | int DG_GetKey(int* pressed, unsigned char* key); 20 | void DG_SetWindowTitle(const char * title); 21 | 22 | #endif //DOOM_GENERIC 23 | -------------------------------------------------------------------------------- /example_3_doom/doom.wad: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_3_doom/doom.wad -------------------------------------------------------------------------------- /example_3_doom/include/existosapi/SystemUI.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "lvgl.h" 3 | #define INDICATE_LEFT (1 << 0) 4 | #define INDICATE_RIGHT (1 << 1) 5 | #define INDICATE_A__Z (1 << 2) 6 | #define INDICATE_a__z (1 << 3) 7 | #define INDICATE_BUSY (1 << 4) 8 | #define INDICATE_TX (1 << 5) 9 | #define INDICATE_RX (1 << 6) 10 | 11 | #define SYSTEMUI_MSGBOX_BUTTON_OK (0) 12 | #define SYSTEMUI_MSGBOX_BUTTON_CANCAL (1 << 1) 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | 19 | void SystemUIInit(); 20 | 21 | uint32_t SystemUIMsgBox(lv_obj_t *parent,char *msg, char *title, uint32_t button); 22 | 23 | 24 | void SystemUISuspend(); 25 | void SystemUIResume(); 26 | lv_indev_t *SystemGetInKeypad(); 27 | void SystemUISetBusy(bool enable); 28 | 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | -------------------------------------------------------------------------------- /example_3_doom/include/existosapi/basic_api.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | void api_vram_initialize(uint8_t *vram_addr); 11 | void *api_vram_get_current(void); 12 | void api_vram_flush(void); 13 | void api_vram_clear(uint16_t color); 14 | void api_vram_put_char(int x0, int y0, char ch, int fg, int bg, int fontSize); 15 | void api_vram_put_string(int x0, int y0, char *s, int fg, int bg, int fontSize); 16 | void api_vram_set_pixel(uint32_t x, uint32_t y, uint8_t c); 17 | void api_vram_draw_HLine(int y, int x1, int x2, unsigned short c); 18 | void api_vram_draw_VLine(int x, int y1, int y2, unsigned short c); 19 | void api_vram_draw_line(int x1, int y1, int x2, int y2, unsigned short c); 20 | void api_vram_fill_rect(int x, int y, int w, int h, unsigned short c); 21 | 22 | 23 | 24 | int api_get_key(int check_key); 25 | 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/core/lv_core.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_disp.c 2 | CSRCS += lv_group.c 3 | CSRCS += lv_indev.c 4 | CSRCS += lv_indev_scroll.c 5 | CSRCS += lv_obj.c 6 | CSRCS += lv_obj_class.c 7 | CSRCS += lv_obj_draw.c 8 | CSRCS += lv_obj_pos.c 9 | CSRCS += lv_obj_scroll.c 10 | CSRCS += lv_obj_style.c 11 | CSRCS += lv_obj_style_gen.c 12 | CSRCS += lv_obj_tree.c 13 | CSRCS += lv_event.c 14 | CSRCS += lv_refr.c 15 | CSRCS += lv_theme.c 16 | 17 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core 18 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core 19 | 20 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core" 21 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/arm2d/lv_draw_arm2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_arm2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d" 7 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/arm2d/lv_gpu_arm2d.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_gpu_arm2d.h 3 | * 4 | */ 5 | 6 | #ifndef LV_GPU_ARM2D_H 7 | #define LV_GPU_ARM2D_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../misc/lv_color.h" 17 | #include "../../hal/lv_hal_disp.h" 18 | #include "../sw/lv_draw_sw.h" 19 | 20 | #if LV_USE_GPU_ARM2D 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | /********************** 27 | * TYPEDEFS 28 | **********************/ 29 | typedef lv_draw_sw_ctx_t lv_draw_arm2d_ctx_t; 30 | 31 | struct _lv_disp_drv_t; 32 | 33 | /********************** 34 | * GLOBAL PROTOTYPES 35 | **********************/ 36 | 37 | void lv_draw_arm2d_ctx_init(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx); 38 | 39 | void lv_draw_arm2d_ctx_deinit(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx); 40 | 41 | /********************** 42 | * MACROS 43 | **********************/ 44 | 45 | #endif /*LV_USE_GPU_ARM2D*/ 46 | 47 | #ifdef __cplusplus 48 | } /*extern "C"*/ 49 | #endif 50 | 51 | #endif /*LV_GPU_ARM2D_H*/ 52 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/lv_draw.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_arc.c 2 | CSRCS += lv_draw.c 3 | CSRCS += lv_draw_img.c 4 | CSRCS += lv_draw_label.c 5 | CSRCS += lv_draw_line.c 6 | CSRCS += lv_draw_mask.c 7 | CSRCS += lv_draw_rect.c 8 | CSRCS += lv_draw_transform.c 9 | CSRCS += lv_draw_layer.c 10 | CSRCS += lv_draw_triangle.c 11 | CSRCS += lv_img_buf.c 12 | CSRCS += lv_img_cache.c 13 | CSRCS += lv_img_decoder.c 14 | 15 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw 16 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw 17 | 18 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw" 19 | 20 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d/lv_draw_arm2d.mk 21 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/lv_draw_nxp.mk 22 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl/lv_draw_sdl.mk 23 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d/lv_draw_stm32_dma2d.mk 24 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw/lv_draw_sw.mk 25 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d/lv_draw_swm341_dma2d.mk 26 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/lv_draw_transform.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_transform.h 3 | * 4 | */ 5 | 6 | #ifndef LV_DRAW_TRANSFORM_H 7 | #define LV_DRAW_TRANSFORM_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../lv_conf_internal.h" 17 | #include "../misc/lv_area.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | struct _lv_draw_ctx_t; 27 | 28 | /********************** 29 | * GLOBAL PROTOTYPES 30 | **********************/ 31 | 32 | void lv_draw_transform(struct _lv_draw_ctx_t * draw_ctx, const lv_area_t * dest_area, const void * src_buf, 33 | lv_coord_t src_w, lv_coord_t src_h, 34 | lv_coord_t src_stride, const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_DRAW_TRANSFORM_H*/ 45 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/lv_draw_triangle.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_triangle.h 3 | * 4 | */ 5 | 6 | #ifndef LV_DRAW_TRIANGLE_H 7 | #define LV_DRAW_TRIANGLE_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "lv_draw_rect.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | 26 | /********************** 27 | * GLOBAL PROTOTYPES 28 | **********************/ 29 | 30 | void lv_draw_polygon(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[], 31 | uint16_t point_cnt); 32 | 33 | void lv_draw_triangle(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[]); 34 | /********************** 35 | * MACROS 36 | **********************/ 37 | 38 | #ifdef __cplusplus 39 | } /*extern "C"*/ 40 | #endif 41 | 42 | #endif /*LV_DRAW_TRIANGLE_H*/ 43 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/nxp/lv_draw_nxp.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_nxp.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp" 7 | 8 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp/lv_draw_nxp_pxp.mk 9 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite/lv_draw_nxp_vglite.mk 10 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/nxp/pxp/lv_draw_nxp_pxp.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_pxp_blend.c 2 | CSRCS += lv_gpu_nxp_pxp_osa.c 3 | CSRCS += lv_gpu_nxp_pxp.c 4 | 5 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp 6 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp 7 | 8 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp" 9 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/nxp/vglite/lv_draw_nxp_vglite.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_vglite_arc.c 2 | CSRCS += lv_draw_vglite_blend.c 3 | CSRCS += lv_draw_vglite_rect.c 4 | CSRCS += lv_gpu_nxp_vglite.c 5 | 6 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite 7 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite 8 | 9 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite" 10 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/sdl/lv_draw_sdl.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_sdl.c 2 | CSRCS += lv_draw_sdl_arc.c 3 | CSRCS += lv_draw_sdl_bg.c 4 | CSRCS += lv_draw_sdl_composite.c 5 | CSRCS += lv_draw_sdl_img.c 6 | CSRCS += lv_draw_sdl_label.c 7 | CSRCS += lv_draw_sdl_line.c 8 | CSRCS += lv_draw_sdl_mask.c 9 | CSRCS += lv_draw_sdl_polygon.c 10 | CSRCS += lv_draw_sdl_rect.c 11 | CSRCS += lv_draw_sdl_stack_blur.c 12 | CSRCS += lv_draw_sdl_texture_cache.c 13 | CSRCS += lv_draw_sdl_utils.c 14 | CSRCS += lv_draw_sdl_layer.c 15 | 16 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl 17 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl 18 | 19 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl" 20 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/sdl/lv_draw_sdl_stack_blur.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_sdl_stack_blur.h 3 | * 4 | */ 5 | #ifndef LV_DRAW_SDL_STACK_BLUR_H 6 | #define LV_DRAW_SDL_STACK_BLUR_H 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /********************* 13 | * INCLUDES 14 | *********************/ 15 | 16 | #include "../../lv_conf_internal.h" 17 | 18 | #if LV_USE_GPU_SDL 19 | 20 | #include "../../misc/lv_color.h" 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | /********************** 27 | * TYPEDEFS 28 | **********************/ 29 | 30 | /********************** 31 | * GLOBAL PROTOTYPES 32 | **********************/ 33 | 34 | void lv_stack_blur_grayscale(lv_opa_t * buf, uint16_t w, uint16_t h, uint16_t r); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #endif /*LV_USE_GPU_SDL*/ 41 | 42 | #ifdef __cplusplus 43 | } /*extern "C"*/ 44 | #endif 45 | 46 | #endif /*LV_DRAW_SDL_STACK_BLUR_H*/ 47 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/stm32_dma2d/lv_draw_stm32_dma2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_stm32_dma2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d" 7 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/sw/lv_draw_sw.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_sw.c 2 | CSRCS += lv_draw_sw_arc.c 3 | CSRCS += lv_draw_sw_blend.c 4 | CSRCS += lv_draw_sw_dither.c 5 | CSRCS += lv_draw_sw_gradient.c 6 | CSRCS += lv_draw_sw_img.c 7 | CSRCS += lv_draw_sw_letter.c 8 | CSRCS += lv_draw_sw_line.c 9 | CSRCS += lv_draw_sw_polygon.c 10 | CSRCS += lv_draw_sw_rect.c 11 | CSRCS += lv_draw_sw_transform.c 12 | CSRCS += lv_draw_sw_layer.c 13 | 14 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw 15 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw 16 | 17 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw" 18 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/draw/swm341_dma2d/lv_draw_swm341_dma2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_swm341_dma2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d" 7 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/layouts/lv_layouts.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_layouts.h 3 | * 4 | */ 5 | 6 | #ifndef LV_LAYOUTS_H 7 | #define LV_LAYOUTS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "flex/lv_flex.h" 17 | #include "grid/lv_grid.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /********************** 32 | * MACROS 33 | **********************/ 34 | #if LV_USE_LOG && LV_LOG_TRACE_LAYOUT 35 | # define LV_TRACE_LAYOUT(...) LV_LOG_TRACE(__VA_ARGS__) 36 | #else 37 | # define LV_TRACE_LAYOUT(...) 38 | #endif 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_LAYOUTS_H*/ 45 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/libs/bmp/lv_bmp.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_bmp.h 3 | * 4 | */ 5 | 6 | #ifndef LV_BMP_H 7 | #define LV_BMP_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | #if LV_USE_BMP 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | void lv_bmp_init(void); 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #endif /*LV_USE_BMP*/ 37 | 38 | #ifdef __cplusplus 39 | } /* extern "C" */ 40 | #endif 41 | 42 | #endif /*LV_BMP_H*/ 43 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/libs/freetype/arial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_3_doom/include/lvgl/src/extra/libs/freetype/arial.ttf -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/libs/fsdrv/lv_fsdrv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_fsdrv.h 3 | * 4 | */ 5 | 6 | #ifndef LV_FSDRV_H 7 | #define LV_FSDRV_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | 26 | /********************** 27 | * GLOBAL PROTOTYPES 28 | **********************/ 29 | 30 | #if LV_USE_FS_FATFS != '\0' 31 | void lv_fs_fatfs_init(void); 32 | #endif 33 | 34 | #if LV_USE_FS_STDIO != '\0' 35 | void lv_fs_stdio_init(void); 36 | #endif 37 | 38 | #if LV_USE_FS_POSIX != '\0' 39 | void lv_fs_posix_init(void); 40 | #endif 41 | 42 | #if LV_USE_FS_WIN32 != '\0' 43 | void lv_fs_win32_init(void); 44 | #endif 45 | 46 | /********************** 47 | * MACROS 48 | **********************/ 49 | 50 | #ifdef __cplusplus 51 | } /* extern "C" */ 52 | #endif 53 | 54 | #endif /*LV_FSDRV_H*/ 55 | 56 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/libs/lv_libs.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_libs.h 3 | * 4 | */ 5 | 6 | #ifndef LV_LIBS_H 7 | #define LV_LIBS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "bmp/lv_bmp.h" 17 | #include "fsdrv/lv_fsdrv.h" 18 | #include "png/lv_png.h" 19 | #include "gif/lv_gif.h" 20 | #include "qrcode/lv_qrcode.h" 21 | #include "sjpg/lv_sjpg.h" 22 | #include "freetype/lv_freetype.h" 23 | #include "rlottie/lv_rlottie.h" 24 | #include "ffmpeg/lv_ffmpeg.h" 25 | 26 | /********************* 27 | * DEFINES 28 | *********************/ 29 | 30 | /********************** 31 | * TYPEDEFS 32 | **********************/ 33 | 34 | /********************** 35 | * GLOBAL PROTOTYPES 36 | **********************/ 37 | 38 | /********************** 39 | * MACROS 40 | **********************/ 41 | 42 | #ifdef __cplusplus 43 | } /*extern "C"*/ 44 | #endif 45 | 46 | #endif /*LV_LIBS_H*/ 47 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/libs/png/lv_png.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_png.h 3 | * 4 | */ 5 | 6 | #ifndef LV_PNG_H 7 | #define LV_PNG_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | #if LV_USE_PNG 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /** 32 | * Register the PNG decoder functions in LVGL 33 | */ 34 | void lv_png_init(void); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #endif /*LV_USE_PNG*/ 41 | 42 | #ifdef __cplusplus 43 | } /* extern "C" */ 44 | #endif 45 | 46 | #endif /*LV_PNG_H*/ 47 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/libs/sjpg/lv_sjpg.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_sjpg.h 3 | * 4 | */ 5 | 6 | #ifndef LV_SJPEG_H 7 | #define LV_SJPEG_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #if LV_USE_SJPG 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | void lv_split_jpeg_init(void); 32 | 33 | /********************** 34 | * MACROS 35 | **********************/ 36 | 37 | #endif /*LV_USE_SJPG*/ 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif /* LV_SJPEG_H */ 44 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/libs/sjpg/tjpgdcnf.h: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------*/ 2 | /* TJpgDec System Configurations R0.03 */ 3 | /*----------------------------------------------*/ 4 | 5 | #define JD_SZBUF 512 6 | /* Specifies size of stream input buffer */ 7 | 8 | #define JD_FORMAT 0 9 | /* Specifies output pixel format. 10 | / 0: RGB888 (24-bit/pix) 11 | / 1: RGB565 (16-bit/pix) 12 | / 2: Grayscale (8-bit/pix) 13 | */ 14 | 15 | #define JD_USE_SCALE 1 16 | /* Switches output descaling feature. 17 | / 0: Disable 18 | / 1: Enable 19 | */ 20 | 21 | #define JD_TBLCLIP 1 22 | /* Use table conversion for saturation arithmetic. A bit faster, but increases 1 KB of code size. 23 | / 0: Disable 24 | / 1: Enable 25 | */ 26 | 27 | #define JD_FASTDECODE 0 28 | /* Optimization level 29 | / 0: Basic optimization. Suitable for 8/16-bit MCUs. 30 | / 1: + 32-bit barrel shifter. Suitable for 32-bit MCUs. 31 | / 2: + Table conversion for huffman decoding (wants 6 << HUFF_BIT bytes of RAM) 32 | */ 33 | 34 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/lv_extra.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_extra.h 3 | * 4 | */ 5 | 6 | #ifndef LV_EXTRA_H 7 | #define LV_EXTRA_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #include "layouts/lv_layouts.h" 18 | #include "libs/lv_libs.h" 19 | #include "others/lv_others.h" 20 | #include "themes/lv_themes.h" 21 | #include "widgets/lv_widgets.h" 22 | 23 | /********************* 24 | * DEFINES 25 | *********************/ 26 | 27 | /********************** 28 | * TYPEDEFS 29 | **********************/ 30 | 31 | /********************** 32 | * GLOBAL PROTOTYPES 33 | **********************/ 34 | 35 | /** 36 | * Initialize the extra components 37 | */ 38 | void lv_extra_init(void); 39 | 40 | /********************** 41 | * MACROS 42 | **********************/ 43 | 44 | #ifdef __cplusplus 45 | } /*extern "C"*/ 46 | #endif 47 | 48 | #endif /*LV_EXTRA_H*/ 49 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/lv_extra.mk: -------------------------------------------------------------------------------- 1 | CSRCS += $(shell find -L $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra -name \*.c) 2 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/others/fragment/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_3_doom/include/lvgl/src/extra/others/fragment/README.md -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/others/lv_others.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_others.h 3 | * 4 | */ 5 | 6 | #ifndef LV_OTHERS_H 7 | #define LV_OTHERS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "snapshot/lv_snapshot.h" 17 | #include "monkey/lv_monkey.h" 18 | #include "gridnav/lv_gridnav.h" 19 | #include "fragment/lv_fragment.h" 20 | #include "imgfont/lv_imgfont.h" 21 | #include "msg/lv_msg.h" 22 | #include "ime/lv_ime_pinyin.h" 23 | 24 | /********************* 25 | * DEFINES 26 | *********************/ 27 | 28 | /********************** 29 | * TYPEDEFS 30 | **********************/ 31 | 32 | /********************** 33 | * GLOBAL PROTOTYPES 34 | **********************/ 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_OTHERS_H*/ 45 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/themes/lv_themes.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_themes.h 3 | * 4 | */ 5 | 6 | #ifndef LV_THEMES_H 7 | #define LV_THEMES_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "default/lv_theme_default.h" 17 | #include "mono/lv_theme_mono.h" 18 | #include "basic/lv_theme_basic.h" 19 | 20 | /********************* 21 | * DEFINES 22 | *********************/ 23 | 24 | /********************** 25 | * TYPEDEFS 26 | **********************/ 27 | 28 | /********************** 29 | * GLOBAL PROTOTYPES 30 | **********************/ 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #ifdef __cplusplus 37 | } /*extern "C"*/ 38 | #endif 39 | 40 | #endif /*LV_THEMES_H*/ 41 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/widgets/spinner/lv_spinner.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_spinner.h 3 | * 4 | */ 5 | 6 | #ifndef LV_SPINNER_H 7 | #define LV_SPINNER_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lvgl.h" 17 | 18 | #if LV_USE_SPINNER 19 | 20 | /*Testing of dependencies*/ 21 | #if LV_USE_ARC == 0 22 | #error "lv_spinner: lv_arc is required. Enable it in lv_conf.h (LV_USE_ARC 1) " 23 | #endif 24 | 25 | /********************* 26 | * DEFINES 27 | *********************/ 28 | 29 | /********************** 30 | * TYPEDEFS 31 | **********************/ 32 | extern const lv_obj_class_t lv_spinner_class; 33 | 34 | /********************** 35 | * GLOBAL PROTOTYPES 36 | **********************/ 37 | 38 | lv_obj_t * lv_spinner_create(lv_obj_t * parent, uint32_t time, uint32_t arc_length); 39 | 40 | /********************** 41 | * MACROS 42 | **********************/ 43 | 44 | #endif /*LV_USE_SPINNER*/ 45 | 46 | #ifdef __cplusplus 47 | } /*extern "C"*/ 48 | #endif 49 | 50 | #endif /*LV_SPINNER_H*/ 51 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/extra/widgets/win/lv_win.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_win.h 3 | * 4 | */ 5 | 6 | #ifndef LV_WIN_H 7 | #define LV_WIN_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lvgl.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | typedef struct { 26 | lv_obj_t obj; 27 | } lv_win_t; 28 | 29 | extern const lv_obj_class_t lv_win_class; 30 | 31 | /********************** 32 | * GLOBAL PROTOTYPES 33 | **********************/ 34 | 35 | lv_obj_t * lv_win_create(lv_obj_t * parent, lv_coord_t header_height); 36 | 37 | 38 | lv_obj_t * lv_win_add_title(lv_obj_t * win, const char * txt); 39 | lv_obj_t * lv_win_add_btn(lv_obj_t * win, const void * icon, lv_coord_t btn_w); 40 | 41 | lv_obj_t * lv_win_get_header(lv_obj_t * win); 42 | lv_obj_t * lv_win_get_content(lv_obj_t * win); 43 | /********************** 44 | * MACROS 45 | **********************/ 46 | 47 | #ifdef __cplusplus 48 | } /*extern "C"*/ 49 | #endif 50 | 51 | #endif /*LV_WIN_H*/ 52 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/font/korean.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_3_doom/include/lvgl/src/font/korean.ttf -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/font/lv_font_loader.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_font_loader.h 3 | * 4 | */ 5 | 6 | #ifndef LV_FONT_LOADER_H 7 | #define LV_FONT_LOADER_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | /********************* 18 | * DEFINES 19 | *********************/ 20 | 21 | /********************** 22 | * TYPEDEFS 23 | **********************/ 24 | 25 | /********************** 26 | * GLOBAL PROTOTYPES 27 | **********************/ 28 | 29 | lv_font_t * lv_font_load(const char * fontName); 30 | void lv_font_free(lv_font_t * font); 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #ifdef __cplusplus 37 | } /*extern "C"*/ 38 | #endif 39 | 40 | #endif /*LV_FONT_LOADER_H*/ 41 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/hal/lv_hal.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_hal_disp.c 2 | CSRCS += lv_hal_indev.c 3 | CSRCS += lv_hal_tick.c 4 | 5 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal 6 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal 7 | 8 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal" 9 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/lvgl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lvgl.h 3 | * This file exists only to be compatible with Arduino's library structure 4 | */ 5 | 6 | #ifndef LVGL_SRC_H 7 | #define LVGL_SRC_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #include "../lvgl.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /********************** 32 | * MACROS 33 | **********************/ 34 | 35 | #ifdef __cplusplus 36 | } /*extern "C"*/ 37 | #endif 38 | 39 | #endif /*LVGL_SRC_H*/ 40 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/misc/lv_misc.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_anim.c 2 | CSRCS += lv_anim_timeline.c 3 | CSRCS += lv_area.c 4 | CSRCS += lv_async.c 5 | CSRCS += lv_bidi.c 6 | CSRCS += lv_color.c 7 | CSRCS += lv_fs.c 8 | CSRCS += lv_gc.c 9 | CSRCS += lv_ll.c 10 | CSRCS += lv_log.c 11 | CSRCS += lv_lru.c 12 | CSRCS += lv_math.c 13 | CSRCS += lv_mem.c 14 | CSRCS += lv_printf.c 15 | CSRCS += lv_style.c 16 | CSRCS += lv_style_gen.c 17 | CSRCS += lv_timer.c 18 | CSRCS += lv_tlsf.c 19 | CSRCS += lv_txt.c 20 | CSRCS += lv_txt_ap.c 21 | CSRCS += lv_utils.c 22 | 23 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc 24 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc 25 | 26 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc" 27 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/misc/lv_templ.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_templ.h 3 | * 4 | */ 5 | 6 | #ifndef LV_TEMPL_H 7 | #define LV_TEMPL_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | /********************* 18 | * DEFINES 19 | *********************/ 20 | 21 | /********************** 22 | * TYPEDEFS 23 | **********************/ 24 | 25 | /********************** 26 | * GLOBAL PROTOTYPES 27 | **********************/ 28 | 29 | /********************** 30 | * MACROS 31 | **********************/ 32 | 33 | #ifdef __cplusplus 34 | } /*extern "C"*/ 35 | #endif 36 | 37 | #endif /*LV_TEMPL_H*/ 38 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/misc/lv_txt_ap.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_txt_ap.h 3 | * 4 | */ 5 | 6 | #ifndef LV_TXT_AP_H 7 | #define LV_TXT_AP_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include 17 | #include "lv_txt.h" 18 | #include "../draw/lv_draw.h" 19 | 20 | #if LV_USE_ARABIC_PERSIAN_CHARS == 1 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | #define LV_UNDEF_ARABIC_PERSIAN_CHARS (UINT32_MAX) 27 | #define LV_AP_ALPHABET_BASE_CODE 0x0622 28 | #define LV_AP_END_CHARS_LIST {0,0,0,0,0,{0,0}} 29 | /********************** 30 | * TYPEDEFS 31 | **********************/ 32 | 33 | /********************** 34 | * GLOBAL PROTOTYPES 35 | **********************/ 36 | uint32_t _lv_txt_ap_calc_bytes_cnt(const char * txt); 37 | void _lv_txt_ap_proc(const char * txt, char * txt_out); 38 | 39 | /********************** 40 | * MACROS 41 | **********************/ 42 | 43 | #endif // LV_USE_ARABIC_PERSIAN_CHARS 44 | 45 | #ifdef __cplusplus 46 | } /*extern "C"*/ 47 | #endif 48 | 49 | #endif /*LV_TXT_AP_H*/ 50 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/widgets/lv_btn.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_btn.h 3 | * 4 | */ 5 | 6 | #ifndef LV_BTN_H 7 | #define LV_BTN_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../lv_conf_internal.h" 17 | 18 | #if LV_USE_BTN != 0 19 | #include "../core/lv_obj.h" 20 | 21 | /********************* 22 | * DEFINES 23 | *********************/ 24 | 25 | /********************** 26 | * TYPEDEFS 27 | **********************/ 28 | 29 | typedef struct { 30 | lv_obj_t obj; 31 | } lv_btn_t; 32 | 33 | extern const lv_obj_class_t lv_btn_class; 34 | 35 | /********************** 36 | * GLOBAL PROTOTYPES 37 | **********************/ 38 | 39 | /** 40 | * Create a button object 41 | * @param parent pointer to an object, it will be the parent of the new button 42 | * @return pointer to the created button 43 | */ 44 | lv_obj_t * lv_btn_create(lv_obj_t * parent); 45 | 46 | /********************** 47 | * MACROS 48 | **********************/ 49 | 50 | #endif /*LV_USE_BTN*/ 51 | 52 | #ifdef __cplusplus 53 | } /*extern "C"*/ 54 | #endif 55 | 56 | #endif /*LV_BTN_H*/ 57 | -------------------------------------------------------------------------------- /example_3_doom/include/lvgl/src/widgets/lv_widgets.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_arc.c 2 | CSRCS += lv_bar.c 3 | CSRCS += lv_btn.c 4 | CSRCS += lv_btnmatrix.c 5 | CSRCS += lv_canvas.c 6 | CSRCS += lv_checkbox.c 7 | CSRCS += lv_dropdown.c 8 | CSRCS += lv_img.c 9 | CSRCS += lv_label.c 10 | CSRCS += lv_line.c 11 | CSRCS += lv_roller.c 12 | CSRCS += lv_slider.c 13 | CSRCS += lv_switch.c 14 | CSRCS += lv_table.c 15 | CSRCS += lv_textarea.c 16 | 17 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets 18 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets 19 | 20 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets" 21 | -------------------------------------------------------------------------------- /example_3_doom/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | 7 | #include "existosapi/syscall.h" 8 | #include "existosapi/basic_api.h" 9 | #include "existosapi/keyboard_gii39.h" 10 | 11 | int putchar(int c) 12 | { 13 | fwrite(&c, 1, 1, stdout); 14 | return c; 15 | } 16 | 17 | uint8_t vram[320*256]; 18 | int main() 19 | { 20 | printf("start\n"); 21 | ll_cpu_slowdown_enable(false); 22 | api_vram_initialize(vram); 23 | 24 | for(int y = 0; y < 127; y++) 25 | { 26 | for(int x = 0; x < 256; x++) 27 | { 28 | vram[x + y * 256] = x; 29 | } 30 | } 31 | 32 | api_vram_put_string(5,6,"Hello World", 0, 255, 16); 33 | 34 | ll_disp_put_area(vram, 0, 0, 255, 126); 35 | 36 | extern void doom_main(int argc, char *argv[]); 37 | 38 | char *argv[] = {"doom", "-iwad", "doom.wad", NULL}; 39 | int argc = sizeof(argv) / sizeof(argv[0]) - 1; 40 | 41 | doom_main(argc, argv); 42 | 43 | printf("exit..\n"); 44 | 45 | 46 | return 0; 47 | } 48 | 49 | 50 | -------------------------------------------------------------------------------- /example_3_doom/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Generic) 2 | SET(CMAKE_SYSTEM_PROCESSOR arm) 3 | #set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) 4 | SET(CMAKE_C_COMPILER arm-none-eabi-gcc) 5 | SET(CMAKE_CXX_COMPILER arm-none-eabi-g++) 6 | set(CMAKE_C_COMPILER_WORKS 1) 7 | set(CMAKE_CXX_COMPILER_WORKS 1) 8 | find_program(CMAKE_OBJCOPY arm-none-eabi-objcopy) 9 | find_program(CMAKE_SIZE arm-none-eabi-size) 10 | -------------------------------------------------------------------------------- /example_3_doom/tools/eld.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_3_doom/tools/eld.exe -------------------------------------------------------------------------------- /example_4_multithread/include/existosapi/SystemUI.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "lvgl.h" 3 | #define INDICATE_LEFT (1 << 0) 4 | #define INDICATE_RIGHT (1 << 1) 5 | #define INDICATE_A__Z (1 << 2) 6 | #define INDICATE_a__z (1 << 3) 7 | #define INDICATE_BUSY (1 << 4) 8 | #define INDICATE_TX (1 << 5) 9 | #define INDICATE_RX (1 << 6) 10 | 11 | #define SYSTEMUI_MSGBOX_BUTTON_OK (0) 12 | #define SYSTEMUI_MSGBOX_BUTTON_CANCAL (1 << 1) 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | 19 | void SystemUIInit(); 20 | 21 | uint32_t SystemUIMsgBox(lv_obj_t *parent,char *msg, char *title, uint32_t button); 22 | 23 | 24 | void SystemUISuspend(); 25 | void SystemUIResume(); 26 | lv_indev_t *SystemGetInKeypad(); 27 | void SystemUISetBusy(bool enable); 28 | 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | -------------------------------------------------------------------------------- /example_4_multithread/include/existosapi/basic_api.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | void api_vram_initialize(uint8_t *vram_addr); 11 | void *api_vram_get_current(void); 12 | void api_vram_flush(void); 13 | void api_vram_clear(uint16_t color); 14 | void api_vram_put_char(int x0, int y0, char ch, int fg, int bg, int fontSize); 15 | void api_vram_put_string(int x0, int y0, char *s, int fg, int bg, int fontSize); 16 | void api_vram_set_pixel(uint32_t x, uint32_t y, uint8_t c); 17 | void api_vram_draw_HLine(int y, int x1, int x2, unsigned short c); 18 | void api_vram_draw_VLine(int x, int y1, int y2, unsigned short c); 19 | void api_vram_draw_line(int x1, int y1, int x2, int y2, unsigned short c); 20 | void api_vram_fill_rect(int x, int y, int w, int h, unsigned short c); 21 | 22 | 23 | 24 | int api_get_key(int check_key); 25 | 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/core/lv_core.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_disp.c 2 | CSRCS += lv_group.c 3 | CSRCS += lv_indev.c 4 | CSRCS += lv_indev_scroll.c 5 | CSRCS += lv_obj.c 6 | CSRCS += lv_obj_class.c 7 | CSRCS += lv_obj_draw.c 8 | CSRCS += lv_obj_pos.c 9 | CSRCS += lv_obj_scroll.c 10 | CSRCS += lv_obj_style.c 11 | CSRCS += lv_obj_style_gen.c 12 | CSRCS += lv_obj_tree.c 13 | CSRCS += lv_event.c 14 | CSRCS += lv_refr.c 15 | CSRCS += lv_theme.c 16 | 17 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core 18 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core 19 | 20 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core" 21 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/arm2d/lv_draw_arm2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_arm2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d" 7 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/arm2d/lv_gpu_arm2d.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_gpu_arm2d.h 3 | * 4 | */ 5 | 6 | #ifndef LV_GPU_ARM2D_H 7 | #define LV_GPU_ARM2D_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../misc/lv_color.h" 17 | #include "../../hal/lv_hal_disp.h" 18 | #include "../sw/lv_draw_sw.h" 19 | 20 | #if LV_USE_GPU_ARM2D 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | /********************** 27 | * TYPEDEFS 28 | **********************/ 29 | typedef lv_draw_sw_ctx_t lv_draw_arm2d_ctx_t; 30 | 31 | struct _lv_disp_drv_t; 32 | 33 | /********************** 34 | * GLOBAL PROTOTYPES 35 | **********************/ 36 | 37 | void lv_draw_arm2d_ctx_init(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx); 38 | 39 | void lv_draw_arm2d_ctx_deinit(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx); 40 | 41 | /********************** 42 | * MACROS 43 | **********************/ 44 | 45 | #endif /*LV_USE_GPU_ARM2D*/ 46 | 47 | #ifdef __cplusplus 48 | } /*extern "C"*/ 49 | #endif 50 | 51 | #endif /*LV_GPU_ARM2D_H*/ 52 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/lv_draw.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_arc.c 2 | CSRCS += lv_draw.c 3 | CSRCS += lv_draw_img.c 4 | CSRCS += lv_draw_label.c 5 | CSRCS += lv_draw_line.c 6 | CSRCS += lv_draw_mask.c 7 | CSRCS += lv_draw_rect.c 8 | CSRCS += lv_draw_transform.c 9 | CSRCS += lv_draw_layer.c 10 | CSRCS += lv_draw_triangle.c 11 | CSRCS += lv_img_buf.c 12 | CSRCS += lv_img_cache.c 13 | CSRCS += lv_img_decoder.c 14 | 15 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw 16 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw 17 | 18 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw" 19 | 20 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d/lv_draw_arm2d.mk 21 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/lv_draw_nxp.mk 22 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl/lv_draw_sdl.mk 23 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d/lv_draw_stm32_dma2d.mk 24 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw/lv_draw_sw.mk 25 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d/lv_draw_swm341_dma2d.mk 26 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/lv_draw_transform.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_transform.h 3 | * 4 | */ 5 | 6 | #ifndef LV_DRAW_TRANSFORM_H 7 | #define LV_DRAW_TRANSFORM_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../lv_conf_internal.h" 17 | #include "../misc/lv_area.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | struct _lv_draw_ctx_t; 27 | 28 | /********************** 29 | * GLOBAL PROTOTYPES 30 | **********************/ 31 | 32 | void lv_draw_transform(struct _lv_draw_ctx_t * draw_ctx, const lv_area_t * dest_area, const void * src_buf, 33 | lv_coord_t src_w, lv_coord_t src_h, 34 | lv_coord_t src_stride, const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_DRAW_TRANSFORM_H*/ 45 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/lv_draw_triangle.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_triangle.h 3 | * 4 | */ 5 | 6 | #ifndef LV_DRAW_TRIANGLE_H 7 | #define LV_DRAW_TRIANGLE_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "lv_draw_rect.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | 26 | /********************** 27 | * GLOBAL PROTOTYPES 28 | **********************/ 29 | 30 | void lv_draw_polygon(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[], 31 | uint16_t point_cnt); 32 | 33 | void lv_draw_triangle(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[]); 34 | /********************** 35 | * MACROS 36 | **********************/ 37 | 38 | #ifdef __cplusplus 39 | } /*extern "C"*/ 40 | #endif 41 | 42 | #endif /*LV_DRAW_TRIANGLE_H*/ 43 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/nxp/lv_draw_nxp.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_nxp.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp" 7 | 8 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp/lv_draw_nxp_pxp.mk 9 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite/lv_draw_nxp_vglite.mk 10 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/nxp/pxp/lv_draw_nxp_pxp.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_pxp_blend.c 2 | CSRCS += lv_gpu_nxp_pxp_osa.c 3 | CSRCS += lv_gpu_nxp_pxp.c 4 | 5 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp 6 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp 7 | 8 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp" 9 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/nxp/vglite/lv_draw_nxp_vglite.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_vglite_arc.c 2 | CSRCS += lv_draw_vglite_blend.c 3 | CSRCS += lv_draw_vglite_rect.c 4 | CSRCS += lv_gpu_nxp_vglite.c 5 | 6 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite 7 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite 8 | 9 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite" 10 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/sdl/lv_draw_sdl.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_sdl.c 2 | CSRCS += lv_draw_sdl_arc.c 3 | CSRCS += lv_draw_sdl_bg.c 4 | CSRCS += lv_draw_sdl_composite.c 5 | CSRCS += lv_draw_sdl_img.c 6 | CSRCS += lv_draw_sdl_label.c 7 | CSRCS += lv_draw_sdl_line.c 8 | CSRCS += lv_draw_sdl_mask.c 9 | CSRCS += lv_draw_sdl_polygon.c 10 | CSRCS += lv_draw_sdl_rect.c 11 | CSRCS += lv_draw_sdl_stack_blur.c 12 | CSRCS += lv_draw_sdl_texture_cache.c 13 | CSRCS += lv_draw_sdl_utils.c 14 | CSRCS += lv_draw_sdl_layer.c 15 | 16 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl 17 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl 18 | 19 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl" 20 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/sdl/lv_draw_sdl_stack_blur.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_sdl_stack_blur.h 3 | * 4 | */ 5 | #ifndef LV_DRAW_SDL_STACK_BLUR_H 6 | #define LV_DRAW_SDL_STACK_BLUR_H 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /********************* 13 | * INCLUDES 14 | *********************/ 15 | 16 | #include "../../lv_conf_internal.h" 17 | 18 | #if LV_USE_GPU_SDL 19 | 20 | #include "../../misc/lv_color.h" 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | /********************** 27 | * TYPEDEFS 28 | **********************/ 29 | 30 | /********************** 31 | * GLOBAL PROTOTYPES 32 | **********************/ 33 | 34 | void lv_stack_blur_grayscale(lv_opa_t * buf, uint16_t w, uint16_t h, uint16_t r); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #endif /*LV_USE_GPU_SDL*/ 41 | 42 | #ifdef __cplusplus 43 | } /*extern "C"*/ 44 | #endif 45 | 46 | #endif /*LV_DRAW_SDL_STACK_BLUR_H*/ 47 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/stm32_dma2d/lv_draw_stm32_dma2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_stm32_dma2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d" 7 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/sw/lv_draw_sw.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_sw.c 2 | CSRCS += lv_draw_sw_arc.c 3 | CSRCS += lv_draw_sw_blend.c 4 | CSRCS += lv_draw_sw_dither.c 5 | CSRCS += lv_draw_sw_gradient.c 6 | CSRCS += lv_draw_sw_img.c 7 | CSRCS += lv_draw_sw_letter.c 8 | CSRCS += lv_draw_sw_line.c 9 | CSRCS += lv_draw_sw_polygon.c 10 | CSRCS += lv_draw_sw_rect.c 11 | CSRCS += lv_draw_sw_transform.c 12 | CSRCS += lv_draw_sw_layer.c 13 | 14 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw 15 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw 16 | 17 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw" 18 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/draw/swm341_dma2d/lv_draw_swm341_dma2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_swm341_dma2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d" 7 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/layouts/lv_layouts.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_layouts.h 3 | * 4 | */ 5 | 6 | #ifndef LV_LAYOUTS_H 7 | #define LV_LAYOUTS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "flex/lv_flex.h" 17 | #include "grid/lv_grid.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /********************** 32 | * MACROS 33 | **********************/ 34 | #if LV_USE_LOG && LV_LOG_TRACE_LAYOUT 35 | # define LV_TRACE_LAYOUT(...) LV_LOG_TRACE(__VA_ARGS__) 36 | #else 37 | # define LV_TRACE_LAYOUT(...) 38 | #endif 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_LAYOUTS_H*/ 45 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/libs/bmp/lv_bmp.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_bmp.h 3 | * 4 | */ 5 | 6 | #ifndef LV_BMP_H 7 | #define LV_BMP_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | #if LV_USE_BMP 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | void lv_bmp_init(void); 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #endif /*LV_USE_BMP*/ 37 | 38 | #ifdef __cplusplus 39 | } /* extern "C" */ 40 | #endif 41 | 42 | #endif /*LV_BMP_H*/ 43 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/libs/freetype/arial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_4_multithread/include/lvgl/src/extra/libs/freetype/arial.ttf -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/libs/fsdrv/lv_fsdrv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_fsdrv.h 3 | * 4 | */ 5 | 6 | #ifndef LV_FSDRV_H 7 | #define LV_FSDRV_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | 26 | /********************** 27 | * GLOBAL PROTOTYPES 28 | **********************/ 29 | 30 | #if LV_USE_FS_FATFS != '\0' 31 | void lv_fs_fatfs_init(void); 32 | #endif 33 | 34 | #if LV_USE_FS_STDIO != '\0' 35 | void lv_fs_stdio_init(void); 36 | #endif 37 | 38 | #if LV_USE_FS_POSIX != '\0' 39 | void lv_fs_posix_init(void); 40 | #endif 41 | 42 | #if LV_USE_FS_WIN32 != '\0' 43 | void lv_fs_win32_init(void); 44 | #endif 45 | 46 | /********************** 47 | * MACROS 48 | **********************/ 49 | 50 | #ifdef __cplusplus 51 | } /* extern "C" */ 52 | #endif 53 | 54 | #endif /*LV_FSDRV_H*/ 55 | 56 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/libs/lv_libs.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_libs.h 3 | * 4 | */ 5 | 6 | #ifndef LV_LIBS_H 7 | #define LV_LIBS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "bmp/lv_bmp.h" 17 | #include "fsdrv/lv_fsdrv.h" 18 | #include "png/lv_png.h" 19 | #include "gif/lv_gif.h" 20 | #include "qrcode/lv_qrcode.h" 21 | #include "sjpg/lv_sjpg.h" 22 | #include "freetype/lv_freetype.h" 23 | #include "rlottie/lv_rlottie.h" 24 | #include "ffmpeg/lv_ffmpeg.h" 25 | 26 | /********************* 27 | * DEFINES 28 | *********************/ 29 | 30 | /********************** 31 | * TYPEDEFS 32 | **********************/ 33 | 34 | /********************** 35 | * GLOBAL PROTOTYPES 36 | **********************/ 37 | 38 | /********************** 39 | * MACROS 40 | **********************/ 41 | 42 | #ifdef __cplusplus 43 | } /*extern "C"*/ 44 | #endif 45 | 46 | #endif /*LV_LIBS_H*/ 47 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/libs/png/lv_png.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_png.h 3 | * 4 | */ 5 | 6 | #ifndef LV_PNG_H 7 | #define LV_PNG_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | #if LV_USE_PNG 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /** 32 | * Register the PNG decoder functions in LVGL 33 | */ 34 | void lv_png_init(void); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #endif /*LV_USE_PNG*/ 41 | 42 | #ifdef __cplusplus 43 | } /* extern "C" */ 44 | #endif 45 | 46 | #endif /*LV_PNG_H*/ 47 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/libs/sjpg/lv_sjpg.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_sjpg.h 3 | * 4 | */ 5 | 6 | #ifndef LV_SJPEG_H 7 | #define LV_SJPEG_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #if LV_USE_SJPG 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | void lv_split_jpeg_init(void); 32 | 33 | /********************** 34 | * MACROS 35 | **********************/ 36 | 37 | #endif /*LV_USE_SJPG*/ 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif /* LV_SJPEG_H */ 44 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/libs/sjpg/tjpgdcnf.h: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------*/ 2 | /* TJpgDec System Configurations R0.03 */ 3 | /*----------------------------------------------*/ 4 | 5 | #define JD_SZBUF 512 6 | /* Specifies size of stream input buffer */ 7 | 8 | #define JD_FORMAT 0 9 | /* Specifies output pixel format. 10 | / 0: RGB888 (24-bit/pix) 11 | / 1: RGB565 (16-bit/pix) 12 | / 2: Grayscale (8-bit/pix) 13 | */ 14 | 15 | #define JD_USE_SCALE 1 16 | /* Switches output descaling feature. 17 | / 0: Disable 18 | / 1: Enable 19 | */ 20 | 21 | #define JD_TBLCLIP 1 22 | /* Use table conversion for saturation arithmetic. A bit faster, but increases 1 KB of code size. 23 | / 0: Disable 24 | / 1: Enable 25 | */ 26 | 27 | #define JD_FASTDECODE 0 28 | /* Optimization level 29 | / 0: Basic optimization. Suitable for 8/16-bit MCUs. 30 | / 1: + 32-bit barrel shifter. Suitable for 32-bit MCUs. 31 | / 2: + Table conversion for huffman decoding (wants 6 << HUFF_BIT bytes of RAM) 32 | */ 33 | 34 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/lv_extra.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_extra.h 3 | * 4 | */ 5 | 6 | #ifndef LV_EXTRA_H 7 | #define LV_EXTRA_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #include "layouts/lv_layouts.h" 18 | #include "libs/lv_libs.h" 19 | #include "others/lv_others.h" 20 | #include "themes/lv_themes.h" 21 | #include "widgets/lv_widgets.h" 22 | 23 | /********************* 24 | * DEFINES 25 | *********************/ 26 | 27 | /********************** 28 | * TYPEDEFS 29 | **********************/ 30 | 31 | /********************** 32 | * GLOBAL PROTOTYPES 33 | **********************/ 34 | 35 | /** 36 | * Initialize the extra components 37 | */ 38 | void lv_extra_init(void); 39 | 40 | /********************** 41 | * MACROS 42 | **********************/ 43 | 44 | #ifdef __cplusplus 45 | } /*extern "C"*/ 46 | #endif 47 | 48 | #endif /*LV_EXTRA_H*/ 49 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/lv_extra.mk: -------------------------------------------------------------------------------- 1 | CSRCS += $(shell find -L $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra -name \*.c) 2 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/others/fragment/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_4_multithread/include/lvgl/src/extra/others/fragment/README.md -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/others/lv_others.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_others.h 3 | * 4 | */ 5 | 6 | #ifndef LV_OTHERS_H 7 | #define LV_OTHERS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "snapshot/lv_snapshot.h" 17 | #include "monkey/lv_monkey.h" 18 | #include "gridnav/lv_gridnav.h" 19 | #include "fragment/lv_fragment.h" 20 | #include "imgfont/lv_imgfont.h" 21 | #include "msg/lv_msg.h" 22 | #include "ime/lv_ime_pinyin.h" 23 | 24 | /********************* 25 | * DEFINES 26 | *********************/ 27 | 28 | /********************** 29 | * TYPEDEFS 30 | **********************/ 31 | 32 | /********************** 33 | * GLOBAL PROTOTYPES 34 | **********************/ 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_OTHERS_H*/ 45 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/themes/lv_themes.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_themes.h 3 | * 4 | */ 5 | 6 | #ifndef LV_THEMES_H 7 | #define LV_THEMES_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "default/lv_theme_default.h" 17 | #include "mono/lv_theme_mono.h" 18 | #include "basic/lv_theme_basic.h" 19 | 20 | /********************* 21 | * DEFINES 22 | *********************/ 23 | 24 | /********************** 25 | * TYPEDEFS 26 | **********************/ 27 | 28 | /********************** 29 | * GLOBAL PROTOTYPES 30 | **********************/ 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #ifdef __cplusplus 37 | } /*extern "C"*/ 38 | #endif 39 | 40 | #endif /*LV_THEMES_H*/ 41 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/widgets/spinner/lv_spinner.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_spinner.h 3 | * 4 | */ 5 | 6 | #ifndef LV_SPINNER_H 7 | #define LV_SPINNER_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lvgl.h" 17 | 18 | #if LV_USE_SPINNER 19 | 20 | /*Testing of dependencies*/ 21 | #if LV_USE_ARC == 0 22 | #error "lv_spinner: lv_arc is required. Enable it in lv_conf.h (LV_USE_ARC 1) " 23 | #endif 24 | 25 | /********************* 26 | * DEFINES 27 | *********************/ 28 | 29 | /********************** 30 | * TYPEDEFS 31 | **********************/ 32 | extern const lv_obj_class_t lv_spinner_class; 33 | 34 | /********************** 35 | * GLOBAL PROTOTYPES 36 | **********************/ 37 | 38 | lv_obj_t * lv_spinner_create(lv_obj_t * parent, uint32_t time, uint32_t arc_length); 39 | 40 | /********************** 41 | * MACROS 42 | **********************/ 43 | 44 | #endif /*LV_USE_SPINNER*/ 45 | 46 | #ifdef __cplusplus 47 | } /*extern "C"*/ 48 | #endif 49 | 50 | #endif /*LV_SPINNER_H*/ 51 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/extra/widgets/win/lv_win.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_win.h 3 | * 4 | */ 5 | 6 | #ifndef LV_WIN_H 7 | #define LV_WIN_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lvgl.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | typedef struct { 26 | lv_obj_t obj; 27 | } lv_win_t; 28 | 29 | extern const lv_obj_class_t lv_win_class; 30 | 31 | /********************** 32 | * GLOBAL PROTOTYPES 33 | **********************/ 34 | 35 | lv_obj_t * lv_win_create(lv_obj_t * parent, lv_coord_t header_height); 36 | 37 | 38 | lv_obj_t * lv_win_add_title(lv_obj_t * win, const char * txt); 39 | lv_obj_t * lv_win_add_btn(lv_obj_t * win, const void * icon, lv_coord_t btn_w); 40 | 41 | lv_obj_t * lv_win_get_header(lv_obj_t * win); 42 | lv_obj_t * lv_win_get_content(lv_obj_t * win); 43 | /********************** 44 | * MACROS 45 | **********************/ 46 | 47 | #ifdef __cplusplus 48 | } /*extern "C"*/ 49 | #endif 50 | 51 | #endif /*LV_WIN_H*/ 52 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/font/korean.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_4_multithread/include/lvgl/src/font/korean.ttf -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/font/lv_font_loader.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_font_loader.h 3 | * 4 | */ 5 | 6 | #ifndef LV_FONT_LOADER_H 7 | #define LV_FONT_LOADER_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | /********************* 18 | * DEFINES 19 | *********************/ 20 | 21 | /********************** 22 | * TYPEDEFS 23 | **********************/ 24 | 25 | /********************** 26 | * GLOBAL PROTOTYPES 27 | **********************/ 28 | 29 | lv_font_t * lv_font_load(const char * fontName); 30 | void lv_font_free(lv_font_t * font); 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #ifdef __cplusplus 37 | } /*extern "C"*/ 38 | #endif 39 | 40 | #endif /*LV_FONT_LOADER_H*/ 41 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/hal/lv_hal.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_hal_disp.c 2 | CSRCS += lv_hal_indev.c 3 | CSRCS += lv_hal_tick.c 4 | 5 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal 6 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal 7 | 8 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal" 9 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/lvgl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lvgl.h 3 | * This file exists only to be compatible with Arduino's library structure 4 | */ 5 | 6 | #ifndef LVGL_SRC_H 7 | #define LVGL_SRC_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #include "../lvgl.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /********************** 32 | * MACROS 33 | **********************/ 34 | 35 | #ifdef __cplusplus 36 | } /*extern "C"*/ 37 | #endif 38 | 39 | #endif /*LVGL_SRC_H*/ 40 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/misc/lv_misc.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_anim.c 2 | CSRCS += lv_anim_timeline.c 3 | CSRCS += lv_area.c 4 | CSRCS += lv_async.c 5 | CSRCS += lv_bidi.c 6 | CSRCS += lv_color.c 7 | CSRCS += lv_fs.c 8 | CSRCS += lv_gc.c 9 | CSRCS += lv_ll.c 10 | CSRCS += lv_log.c 11 | CSRCS += lv_lru.c 12 | CSRCS += lv_math.c 13 | CSRCS += lv_mem.c 14 | CSRCS += lv_printf.c 15 | CSRCS += lv_style.c 16 | CSRCS += lv_style_gen.c 17 | CSRCS += lv_timer.c 18 | CSRCS += lv_tlsf.c 19 | CSRCS += lv_txt.c 20 | CSRCS += lv_txt_ap.c 21 | CSRCS += lv_utils.c 22 | 23 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc 24 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc 25 | 26 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc" 27 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/misc/lv_templ.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_templ.h 3 | * 4 | */ 5 | 6 | #ifndef LV_TEMPL_H 7 | #define LV_TEMPL_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | /********************* 18 | * DEFINES 19 | *********************/ 20 | 21 | /********************** 22 | * TYPEDEFS 23 | **********************/ 24 | 25 | /********************** 26 | * GLOBAL PROTOTYPES 27 | **********************/ 28 | 29 | /********************** 30 | * MACROS 31 | **********************/ 32 | 33 | #ifdef __cplusplus 34 | } /*extern "C"*/ 35 | #endif 36 | 37 | #endif /*LV_TEMPL_H*/ 38 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/misc/lv_txt_ap.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_txt_ap.h 3 | * 4 | */ 5 | 6 | #ifndef LV_TXT_AP_H 7 | #define LV_TXT_AP_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include 17 | #include "lv_txt.h" 18 | #include "../draw/lv_draw.h" 19 | 20 | #if LV_USE_ARABIC_PERSIAN_CHARS == 1 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | #define LV_UNDEF_ARABIC_PERSIAN_CHARS (UINT32_MAX) 27 | #define LV_AP_ALPHABET_BASE_CODE 0x0622 28 | #define LV_AP_END_CHARS_LIST {0,0,0,0,0,{0,0}} 29 | /********************** 30 | * TYPEDEFS 31 | **********************/ 32 | 33 | /********************** 34 | * GLOBAL PROTOTYPES 35 | **********************/ 36 | uint32_t _lv_txt_ap_calc_bytes_cnt(const char * txt); 37 | void _lv_txt_ap_proc(const char * txt, char * txt_out); 38 | 39 | /********************** 40 | * MACROS 41 | **********************/ 42 | 43 | #endif // LV_USE_ARABIC_PERSIAN_CHARS 44 | 45 | #ifdef __cplusplus 46 | } /*extern "C"*/ 47 | #endif 48 | 49 | #endif /*LV_TXT_AP_H*/ 50 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/widgets/lv_btn.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_btn.h 3 | * 4 | */ 5 | 6 | #ifndef LV_BTN_H 7 | #define LV_BTN_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../lv_conf_internal.h" 17 | 18 | #if LV_USE_BTN != 0 19 | #include "../core/lv_obj.h" 20 | 21 | /********************* 22 | * DEFINES 23 | *********************/ 24 | 25 | /********************** 26 | * TYPEDEFS 27 | **********************/ 28 | 29 | typedef struct { 30 | lv_obj_t obj; 31 | } lv_btn_t; 32 | 33 | extern const lv_obj_class_t lv_btn_class; 34 | 35 | /********************** 36 | * GLOBAL PROTOTYPES 37 | **********************/ 38 | 39 | /** 40 | * Create a button object 41 | * @param parent pointer to an object, it will be the parent of the new button 42 | * @return pointer to the created button 43 | */ 44 | lv_obj_t * lv_btn_create(lv_obj_t * parent); 45 | 46 | /********************** 47 | * MACROS 48 | **********************/ 49 | 50 | #endif /*LV_USE_BTN*/ 51 | 52 | #ifdef __cplusplus 53 | } /*extern "C"*/ 54 | #endif 55 | 56 | #endif /*LV_BTN_H*/ 57 | -------------------------------------------------------------------------------- /example_4_multithread/include/lvgl/src/widgets/lv_widgets.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_arc.c 2 | CSRCS += lv_bar.c 3 | CSRCS += lv_btn.c 4 | CSRCS += lv_btnmatrix.c 5 | CSRCS += lv_canvas.c 6 | CSRCS += lv_checkbox.c 7 | CSRCS += lv_dropdown.c 8 | CSRCS += lv_img.c 9 | CSRCS += lv_label.c 10 | CSRCS += lv_line.c 11 | CSRCS += lv_roller.c 12 | CSRCS += lv_slider.c 13 | CSRCS += lv_switch.c 14 | CSRCS += lv_table.c 15 | CSRCS += lv_textarea.c 16 | 17 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets 18 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets 19 | 20 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets" 21 | -------------------------------------------------------------------------------- /example_4_multithread/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Generic) 2 | SET(CMAKE_SYSTEM_PROCESSOR arm) 3 | #set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) 4 | SET(CMAKE_C_COMPILER arm-none-eabi-gcc) 5 | SET(CMAKE_CXX_COMPILER arm-none-eabi-g++) 6 | set(CMAKE_C_COMPILER_WORKS 1) 7 | set(CMAKE_CXX_COMPILER_WORKS 1) 8 | find_program(CMAKE_OBJCOPY arm-none-eabi-objcopy) 9 | find_program(CMAKE_SIZE arm-none-eabi-size) 10 | -------------------------------------------------------------------------------- /example_4_multithread/tools/eld.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_4_multithread/tools/eld.exe -------------------------------------------------------------------------------- /example_5_coremark/include/existosapi/SystemUI.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "lvgl.h" 3 | #define INDICATE_LEFT (1 << 0) 4 | #define INDICATE_RIGHT (1 << 1) 5 | #define INDICATE_A__Z (1 << 2) 6 | #define INDICATE_a__z (1 << 3) 7 | #define INDICATE_BUSY (1 << 4) 8 | #define INDICATE_TX (1 << 5) 9 | #define INDICATE_RX (1 << 6) 10 | 11 | #define SYSTEMUI_MSGBOX_BUTTON_OK (0) 12 | #define SYSTEMUI_MSGBOX_BUTTON_CANCAL (1 << 1) 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | 19 | void SystemUIInit(); 20 | 21 | uint32_t SystemUIMsgBox(lv_obj_t *parent,char *msg, char *title, uint32_t button); 22 | 23 | 24 | void SystemUISuspend(); 25 | void SystemUIResume(); 26 | lv_indev_t *SystemGetInKeypad(); 27 | void SystemUISetBusy(bool enable); 28 | 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | -------------------------------------------------------------------------------- /example_5_coremark/include/existosapi/basic_api.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | void api_vram_initialize(uint8_t *vram_addr); 11 | void *api_vram_get_current(void); 12 | void api_vram_flush(void); 13 | void api_vram_clear(uint16_t color); 14 | void api_vram_put_char(int x0, int y0, char ch, int fg, int bg, int fontSize); 15 | void api_vram_put_string(int x0, int y0, char *s, int fg, int bg, int fontSize); 16 | void api_vram_set_pixel(uint32_t x, uint32_t y, uint8_t c); 17 | void api_vram_draw_HLine(int y, int x1, int x2, unsigned short c); 18 | void api_vram_draw_VLine(int x, int y1, int y2, unsigned short c); 19 | void api_vram_draw_line(int x1, int y1, int x2, int y2, unsigned short c); 20 | void api_vram_fill_rect(int x, int y, int w, int h, unsigned short c); 21 | 22 | 23 | 24 | int api_get_key(int check_key); 25 | 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/core/lv_core.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_disp.c 2 | CSRCS += lv_group.c 3 | CSRCS += lv_indev.c 4 | CSRCS += lv_indev_scroll.c 5 | CSRCS += lv_obj.c 6 | CSRCS += lv_obj_class.c 7 | CSRCS += lv_obj_draw.c 8 | CSRCS += lv_obj_pos.c 9 | CSRCS += lv_obj_scroll.c 10 | CSRCS += lv_obj_style.c 11 | CSRCS += lv_obj_style_gen.c 12 | CSRCS += lv_obj_tree.c 13 | CSRCS += lv_event.c 14 | CSRCS += lv_refr.c 15 | CSRCS += lv_theme.c 16 | 17 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core 18 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core 19 | 20 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core" 21 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/arm2d/lv_draw_arm2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_arm2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d" 7 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/arm2d/lv_gpu_arm2d.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_gpu_arm2d.h 3 | * 4 | */ 5 | 6 | #ifndef LV_GPU_ARM2D_H 7 | #define LV_GPU_ARM2D_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../misc/lv_color.h" 17 | #include "../../hal/lv_hal_disp.h" 18 | #include "../sw/lv_draw_sw.h" 19 | 20 | #if LV_USE_GPU_ARM2D 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | /********************** 27 | * TYPEDEFS 28 | **********************/ 29 | typedef lv_draw_sw_ctx_t lv_draw_arm2d_ctx_t; 30 | 31 | struct _lv_disp_drv_t; 32 | 33 | /********************** 34 | * GLOBAL PROTOTYPES 35 | **********************/ 36 | 37 | void lv_draw_arm2d_ctx_init(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx); 38 | 39 | void lv_draw_arm2d_ctx_deinit(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx); 40 | 41 | /********************** 42 | * MACROS 43 | **********************/ 44 | 45 | #endif /*LV_USE_GPU_ARM2D*/ 46 | 47 | #ifdef __cplusplus 48 | } /*extern "C"*/ 49 | #endif 50 | 51 | #endif /*LV_GPU_ARM2D_H*/ 52 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/lv_draw.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_arc.c 2 | CSRCS += lv_draw.c 3 | CSRCS += lv_draw_img.c 4 | CSRCS += lv_draw_label.c 5 | CSRCS += lv_draw_line.c 6 | CSRCS += lv_draw_mask.c 7 | CSRCS += lv_draw_rect.c 8 | CSRCS += lv_draw_transform.c 9 | CSRCS += lv_draw_layer.c 10 | CSRCS += lv_draw_triangle.c 11 | CSRCS += lv_img_buf.c 12 | CSRCS += lv_img_cache.c 13 | CSRCS += lv_img_decoder.c 14 | 15 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw 16 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw 17 | 18 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw" 19 | 20 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/arm2d/lv_draw_arm2d.mk 21 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/lv_draw_nxp.mk 22 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl/lv_draw_sdl.mk 23 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d/lv_draw_stm32_dma2d.mk 24 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw/lv_draw_sw.mk 25 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d/lv_draw_swm341_dma2d.mk 26 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/lv_draw_transform.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_transform.h 3 | * 4 | */ 5 | 6 | #ifndef LV_DRAW_TRANSFORM_H 7 | #define LV_DRAW_TRANSFORM_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../lv_conf_internal.h" 17 | #include "../misc/lv_area.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | struct _lv_draw_ctx_t; 27 | 28 | /********************** 29 | * GLOBAL PROTOTYPES 30 | **********************/ 31 | 32 | void lv_draw_transform(struct _lv_draw_ctx_t * draw_ctx, const lv_area_t * dest_area, const void * src_buf, 33 | lv_coord_t src_w, lv_coord_t src_h, 34 | lv_coord_t src_stride, const lv_draw_img_dsc_t * draw_dsc, lv_img_cf_t cf, lv_color_t * cbuf, lv_opa_t * abuf); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_DRAW_TRANSFORM_H*/ 45 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/lv_draw_triangle.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_triangle.h 3 | * 4 | */ 5 | 6 | #ifndef LV_DRAW_TRIANGLE_H 7 | #define LV_DRAW_TRIANGLE_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "lv_draw_rect.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | 26 | /********************** 27 | * GLOBAL PROTOTYPES 28 | **********************/ 29 | 30 | void lv_draw_polygon(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[], 31 | uint16_t point_cnt); 32 | 33 | void lv_draw_triangle(struct _lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * draw_dsc, const lv_point_t points[]); 34 | /********************** 35 | * MACROS 36 | **********************/ 37 | 38 | #ifdef __cplusplus 39 | } /*extern "C"*/ 40 | #endif 41 | 42 | #endif /*LV_DRAW_TRIANGLE_H*/ 43 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/nxp/lv_draw_nxp.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_nxp.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp" 7 | 8 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp/lv_draw_nxp_pxp.mk 9 | include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite/lv_draw_nxp_vglite.mk 10 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/nxp/pxp/lv_draw_nxp_pxp.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_pxp_blend.c 2 | CSRCS += lv_gpu_nxp_pxp_osa.c 3 | CSRCS += lv_gpu_nxp_pxp.c 4 | 5 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp 6 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp 7 | 8 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/pxp" 9 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/nxp/vglite/lv_draw_nxp_vglite.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_vglite_arc.c 2 | CSRCS += lv_draw_vglite_blend.c 3 | CSRCS += lv_draw_vglite_rect.c 4 | CSRCS += lv_gpu_nxp_vglite.c 5 | 6 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite 7 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite 8 | 9 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/nxp/vglite" 10 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/sdl/lv_draw_sdl.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_sdl.c 2 | CSRCS += lv_draw_sdl_arc.c 3 | CSRCS += lv_draw_sdl_bg.c 4 | CSRCS += lv_draw_sdl_composite.c 5 | CSRCS += lv_draw_sdl_img.c 6 | CSRCS += lv_draw_sdl_label.c 7 | CSRCS += lv_draw_sdl_line.c 8 | CSRCS += lv_draw_sdl_mask.c 9 | CSRCS += lv_draw_sdl_polygon.c 10 | CSRCS += lv_draw_sdl_rect.c 11 | CSRCS += lv_draw_sdl_stack_blur.c 12 | CSRCS += lv_draw_sdl_texture_cache.c 13 | CSRCS += lv_draw_sdl_utils.c 14 | CSRCS += lv_draw_sdl_layer.c 15 | 16 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl 17 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl 18 | 19 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sdl" 20 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/sdl/lv_draw_sdl_stack_blur.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_draw_sdl_stack_blur.h 3 | * 4 | */ 5 | #ifndef LV_DRAW_SDL_STACK_BLUR_H 6 | #define LV_DRAW_SDL_STACK_BLUR_H 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /********************* 13 | * INCLUDES 14 | *********************/ 15 | 16 | #include "../../lv_conf_internal.h" 17 | 18 | #if LV_USE_GPU_SDL 19 | 20 | #include "../../misc/lv_color.h" 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | /********************** 27 | * TYPEDEFS 28 | **********************/ 29 | 30 | /********************** 31 | * GLOBAL PROTOTYPES 32 | **********************/ 33 | 34 | void lv_stack_blur_grayscale(lv_opa_t * buf, uint16_t w, uint16_t h, uint16_t r); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #endif /*LV_USE_GPU_SDL*/ 41 | 42 | #ifdef __cplusplus 43 | } /*extern "C"*/ 44 | #endif 45 | 46 | #endif /*LV_DRAW_SDL_STACK_BLUR_H*/ 47 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/stm32_dma2d/lv_draw_stm32_dma2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_stm32_dma2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/stm32_dma2d" 7 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/sw/lv_draw_sw.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_draw_sw.c 2 | CSRCS += lv_draw_sw_arc.c 3 | CSRCS += lv_draw_sw_blend.c 4 | CSRCS += lv_draw_sw_dither.c 5 | CSRCS += lv_draw_sw_gradient.c 6 | CSRCS += lv_draw_sw_img.c 7 | CSRCS += lv_draw_sw_letter.c 8 | CSRCS += lv_draw_sw_line.c 9 | CSRCS += lv_draw_sw_polygon.c 10 | CSRCS += lv_draw_sw_rect.c 11 | CSRCS += lv_draw_sw_transform.c 12 | CSRCS += lv_draw_sw_layer.c 13 | 14 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw 15 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw 16 | 17 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/sw" 18 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/draw/swm341_dma2d/lv_draw_swm341_dma2d.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_gpu_swm341_dma2d.c 2 | 3 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d 4 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d 5 | 6 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/draw/swm341_dma2d" 7 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/layouts/lv_layouts.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_layouts.h 3 | * 4 | */ 5 | 6 | #ifndef LV_LAYOUTS_H 7 | #define LV_LAYOUTS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "flex/lv_flex.h" 17 | #include "grid/lv_grid.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /********************** 32 | * MACROS 33 | **********************/ 34 | #if LV_USE_LOG && LV_LOG_TRACE_LAYOUT 35 | # define LV_TRACE_LAYOUT(...) LV_LOG_TRACE(__VA_ARGS__) 36 | #else 37 | # define LV_TRACE_LAYOUT(...) 38 | #endif 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_LAYOUTS_H*/ 45 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/libs/bmp/lv_bmp.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_bmp.h 3 | * 4 | */ 5 | 6 | #ifndef LV_BMP_H 7 | #define LV_BMP_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | #if LV_USE_BMP 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | void lv_bmp_init(void); 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #endif /*LV_USE_BMP*/ 37 | 38 | #ifdef __cplusplus 39 | } /* extern "C" */ 40 | #endif 41 | 42 | #endif /*LV_BMP_H*/ 43 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/libs/freetype/arial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_5_coremark/include/lvgl/src/extra/libs/freetype/arial.ttf -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/libs/fsdrv/lv_fsdrv.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_fsdrv.h 3 | * 4 | */ 5 | 6 | #ifndef LV_FSDRV_H 7 | #define LV_FSDRV_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | 26 | /********************** 27 | * GLOBAL PROTOTYPES 28 | **********************/ 29 | 30 | #if LV_USE_FS_FATFS != '\0' 31 | void lv_fs_fatfs_init(void); 32 | #endif 33 | 34 | #if LV_USE_FS_STDIO != '\0' 35 | void lv_fs_stdio_init(void); 36 | #endif 37 | 38 | #if LV_USE_FS_POSIX != '\0' 39 | void lv_fs_posix_init(void); 40 | #endif 41 | 42 | #if LV_USE_FS_WIN32 != '\0' 43 | void lv_fs_win32_init(void); 44 | #endif 45 | 46 | /********************** 47 | * MACROS 48 | **********************/ 49 | 50 | #ifdef __cplusplus 51 | } /* extern "C" */ 52 | #endif 53 | 54 | #endif /*LV_FSDRV_H*/ 55 | 56 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/libs/lv_libs.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_libs.h 3 | * 4 | */ 5 | 6 | #ifndef LV_LIBS_H 7 | #define LV_LIBS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "bmp/lv_bmp.h" 17 | #include "fsdrv/lv_fsdrv.h" 18 | #include "png/lv_png.h" 19 | #include "gif/lv_gif.h" 20 | #include "qrcode/lv_qrcode.h" 21 | #include "sjpg/lv_sjpg.h" 22 | #include "freetype/lv_freetype.h" 23 | #include "rlottie/lv_rlottie.h" 24 | #include "ffmpeg/lv_ffmpeg.h" 25 | 26 | /********************* 27 | * DEFINES 28 | *********************/ 29 | 30 | /********************** 31 | * TYPEDEFS 32 | **********************/ 33 | 34 | /********************** 35 | * GLOBAL PROTOTYPES 36 | **********************/ 37 | 38 | /********************** 39 | * MACROS 40 | **********************/ 41 | 42 | #ifdef __cplusplus 43 | } /*extern "C"*/ 44 | #endif 45 | 46 | #endif /*LV_LIBS_H*/ 47 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/libs/png/lv_png.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_png.h 3 | * 4 | */ 5 | 6 | #ifndef LV_PNG_H 7 | #define LV_PNG_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lv_conf_internal.h" 17 | #if LV_USE_PNG 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /** 32 | * Register the PNG decoder functions in LVGL 33 | */ 34 | void lv_png_init(void); 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #endif /*LV_USE_PNG*/ 41 | 42 | #ifdef __cplusplus 43 | } /* extern "C" */ 44 | #endif 45 | 46 | #endif /*LV_PNG_H*/ 47 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/libs/sjpg/lv_sjpg.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_sjpg.h 3 | * 4 | */ 5 | 6 | #ifndef LV_SJPEG_H 7 | #define LV_SJPEG_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #if LV_USE_SJPG 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | void lv_split_jpeg_init(void); 32 | 33 | /********************** 34 | * MACROS 35 | **********************/ 36 | 37 | #endif /*LV_USE_SJPG*/ 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif /* LV_SJPEG_H */ 44 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/libs/sjpg/tjpgdcnf.h: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------*/ 2 | /* TJpgDec System Configurations R0.03 */ 3 | /*----------------------------------------------*/ 4 | 5 | #define JD_SZBUF 512 6 | /* Specifies size of stream input buffer */ 7 | 8 | #define JD_FORMAT 0 9 | /* Specifies output pixel format. 10 | / 0: RGB888 (24-bit/pix) 11 | / 1: RGB565 (16-bit/pix) 12 | / 2: Grayscale (8-bit/pix) 13 | */ 14 | 15 | #define JD_USE_SCALE 1 16 | /* Switches output descaling feature. 17 | / 0: Disable 18 | / 1: Enable 19 | */ 20 | 21 | #define JD_TBLCLIP 1 22 | /* Use table conversion for saturation arithmetic. A bit faster, but increases 1 KB of code size. 23 | / 0: Disable 24 | / 1: Enable 25 | */ 26 | 27 | #define JD_FASTDECODE 0 28 | /* Optimization level 29 | / 0: Basic optimization. Suitable for 8/16-bit MCUs. 30 | / 1: + 32-bit barrel shifter. Suitable for 32-bit MCUs. 31 | / 2: + Table conversion for huffman decoding (wants 6 << HUFF_BIT bytes of RAM) 32 | */ 33 | 34 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/lv_extra.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_extra.h 3 | * 4 | */ 5 | 6 | #ifndef LV_EXTRA_H 7 | #define LV_EXTRA_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #include "layouts/lv_layouts.h" 18 | #include "libs/lv_libs.h" 19 | #include "others/lv_others.h" 20 | #include "themes/lv_themes.h" 21 | #include "widgets/lv_widgets.h" 22 | 23 | /********************* 24 | * DEFINES 25 | *********************/ 26 | 27 | /********************** 28 | * TYPEDEFS 29 | **********************/ 30 | 31 | /********************** 32 | * GLOBAL PROTOTYPES 33 | **********************/ 34 | 35 | /** 36 | * Initialize the extra components 37 | */ 38 | void lv_extra_init(void); 39 | 40 | /********************** 41 | * MACROS 42 | **********************/ 43 | 44 | #ifdef __cplusplus 45 | } /*extern "C"*/ 46 | #endif 47 | 48 | #endif /*LV_EXTRA_H*/ 49 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/lv_extra.mk: -------------------------------------------------------------------------------- 1 | CSRCS += $(shell find -L $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/extra -name \*.c) 2 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/others/fragment/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_5_coremark/include/lvgl/src/extra/others/fragment/README.md -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/others/lv_others.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_others.h 3 | * 4 | */ 5 | 6 | #ifndef LV_OTHERS_H 7 | #define LV_OTHERS_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "snapshot/lv_snapshot.h" 17 | #include "monkey/lv_monkey.h" 18 | #include "gridnav/lv_gridnav.h" 19 | #include "fragment/lv_fragment.h" 20 | #include "imgfont/lv_imgfont.h" 21 | #include "msg/lv_msg.h" 22 | #include "ime/lv_ime_pinyin.h" 23 | 24 | /********************* 25 | * DEFINES 26 | *********************/ 27 | 28 | /********************** 29 | * TYPEDEFS 30 | **********************/ 31 | 32 | /********************** 33 | * GLOBAL PROTOTYPES 34 | **********************/ 35 | 36 | /********************** 37 | * MACROS 38 | **********************/ 39 | 40 | #ifdef __cplusplus 41 | } /*extern "C"*/ 42 | #endif 43 | 44 | #endif /*LV_OTHERS_H*/ 45 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/themes/lv_themes.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_themes.h 3 | * 4 | */ 5 | 6 | #ifndef LV_THEMES_H 7 | #define LV_THEMES_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "default/lv_theme_default.h" 17 | #include "mono/lv_theme_mono.h" 18 | #include "basic/lv_theme_basic.h" 19 | 20 | /********************* 21 | * DEFINES 22 | *********************/ 23 | 24 | /********************** 25 | * TYPEDEFS 26 | **********************/ 27 | 28 | /********************** 29 | * GLOBAL PROTOTYPES 30 | **********************/ 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #ifdef __cplusplus 37 | } /*extern "C"*/ 38 | #endif 39 | 40 | #endif /*LV_THEMES_H*/ 41 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/widgets/spinner/lv_spinner.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_spinner.h 3 | * 4 | */ 5 | 6 | #ifndef LV_SPINNER_H 7 | #define LV_SPINNER_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lvgl.h" 17 | 18 | #if LV_USE_SPINNER 19 | 20 | /*Testing of dependencies*/ 21 | #if LV_USE_ARC == 0 22 | #error "lv_spinner: lv_arc is required. Enable it in lv_conf.h (LV_USE_ARC 1) " 23 | #endif 24 | 25 | /********************* 26 | * DEFINES 27 | *********************/ 28 | 29 | /********************** 30 | * TYPEDEFS 31 | **********************/ 32 | extern const lv_obj_class_t lv_spinner_class; 33 | 34 | /********************** 35 | * GLOBAL PROTOTYPES 36 | **********************/ 37 | 38 | lv_obj_t * lv_spinner_create(lv_obj_t * parent, uint32_t time, uint32_t arc_length); 39 | 40 | /********************** 41 | * MACROS 42 | **********************/ 43 | 44 | #endif /*LV_USE_SPINNER*/ 45 | 46 | #ifdef __cplusplus 47 | } /*extern "C"*/ 48 | #endif 49 | 50 | #endif /*LV_SPINNER_H*/ 51 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/extra/widgets/win/lv_win.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_win.h 3 | * 4 | */ 5 | 6 | #ifndef LV_WIN_H 7 | #define LV_WIN_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../../../lvgl.h" 17 | 18 | /********************* 19 | * DEFINES 20 | *********************/ 21 | 22 | /********************** 23 | * TYPEDEFS 24 | **********************/ 25 | typedef struct { 26 | lv_obj_t obj; 27 | } lv_win_t; 28 | 29 | extern const lv_obj_class_t lv_win_class; 30 | 31 | /********************** 32 | * GLOBAL PROTOTYPES 33 | **********************/ 34 | 35 | lv_obj_t * lv_win_create(lv_obj_t * parent, lv_coord_t header_height); 36 | 37 | 38 | lv_obj_t * lv_win_add_title(lv_obj_t * win, const char * txt); 39 | lv_obj_t * lv_win_add_btn(lv_obj_t * win, const void * icon, lv_coord_t btn_w); 40 | 41 | lv_obj_t * lv_win_get_header(lv_obj_t * win); 42 | lv_obj_t * lv_win_get_content(lv_obj_t * win); 43 | /********************** 44 | * MACROS 45 | **********************/ 46 | 47 | #ifdef __cplusplus 48 | } /*extern "C"*/ 49 | #endif 50 | 51 | #endif /*LV_WIN_H*/ 52 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/font/korean.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_5_coremark/include/lvgl/src/font/korean.ttf -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/font/lv_font_loader.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_font_loader.h 3 | * 4 | */ 5 | 6 | #ifndef LV_FONT_LOADER_H 7 | #define LV_FONT_LOADER_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | /********************* 18 | * DEFINES 19 | *********************/ 20 | 21 | /********************** 22 | * TYPEDEFS 23 | **********************/ 24 | 25 | /********************** 26 | * GLOBAL PROTOTYPES 27 | **********************/ 28 | 29 | lv_font_t * lv_font_load(const char * fontName); 30 | void lv_font_free(lv_font_t * font); 31 | 32 | /********************** 33 | * MACROS 34 | **********************/ 35 | 36 | #ifdef __cplusplus 37 | } /*extern "C"*/ 38 | #endif 39 | 40 | #endif /*LV_FONT_LOADER_H*/ 41 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/hal/lv_hal.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_hal_disp.c 2 | CSRCS += lv_hal_indev.c 3 | CSRCS += lv_hal_tick.c 4 | 5 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal 6 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal 7 | 8 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal" 9 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/lvgl.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lvgl.h 3 | * This file exists only to be compatible with Arduino's library structure 4 | */ 5 | 6 | #ifndef LVGL_SRC_H 7 | #define LVGL_SRC_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | #include "../lvgl.h" 18 | 19 | /********************* 20 | * DEFINES 21 | *********************/ 22 | 23 | /********************** 24 | * TYPEDEFS 25 | **********************/ 26 | 27 | /********************** 28 | * GLOBAL PROTOTYPES 29 | **********************/ 30 | 31 | /********************** 32 | * MACROS 33 | **********************/ 34 | 35 | #ifdef __cplusplus 36 | } /*extern "C"*/ 37 | #endif 38 | 39 | #endif /*LVGL_SRC_H*/ 40 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/misc/lv_misc.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_anim.c 2 | CSRCS += lv_anim_timeline.c 3 | CSRCS += lv_area.c 4 | CSRCS += lv_async.c 5 | CSRCS += lv_bidi.c 6 | CSRCS += lv_color.c 7 | CSRCS += lv_fs.c 8 | CSRCS += lv_gc.c 9 | CSRCS += lv_ll.c 10 | CSRCS += lv_log.c 11 | CSRCS += lv_lru.c 12 | CSRCS += lv_math.c 13 | CSRCS += lv_mem.c 14 | CSRCS += lv_printf.c 15 | CSRCS += lv_style.c 16 | CSRCS += lv_style_gen.c 17 | CSRCS += lv_timer.c 18 | CSRCS += lv_tlsf.c 19 | CSRCS += lv_txt.c 20 | CSRCS += lv_txt_ap.c 21 | CSRCS += lv_utils.c 22 | 23 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc 24 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc 25 | 26 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc" 27 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/misc/lv_templ.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_templ.h 3 | * 4 | */ 5 | 6 | #ifndef LV_TEMPL_H 7 | #define LV_TEMPL_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | 17 | /********************* 18 | * DEFINES 19 | *********************/ 20 | 21 | /********************** 22 | * TYPEDEFS 23 | **********************/ 24 | 25 | /********************** 26 | * GLOBAL PROTOTYPES 27 | **********************/ 28 | 29 | /********************** 30 | * MACROS 31 | **********************/ 32 | 33 | #ifdef __cplusplus 34 | } /*extern "C"*/ 35 | #endif 36 | 37 | #endif /*LV_TEMPL_H*/ 38 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/misc/lv_txt_ap.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_txt_ap.h 3 | * 4 | */ 5 | 6 | #ifndef LV_TXT_AP_H 7 | #define LV_TXT_AP_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include 17 | #include "lv_txt.h" 18 | #include "../draw/lv_draw.h" 19 | 20 | #if LV_USE_ARABIC_PERSIAN_CHARS == 1 21 | 22 | /********************* 23 | * DEFINES 24 | *********************/ 25 | 26 | #define LV_UNDEF_ARABIC_PERSIAN_CHARS (UINT32_MAX) 27 | #define LV_AP_ALPHABET_BASE_CODE 0x0622 28 | #define LV_AP_END_CHARS_LIST {0,0,0,0,0,{0,0}} 29 | /********************** 30 | * TYPEDEFS 31 | **********************/ 32 | 33 | /********************** 34 | * GLOBAL PROTOTYPES 35 | **********************/ 36 | uint32_t _lv_txt_ap_calc_bytes_cnt(const char * txt); 37 | void _lv_txt_ap_proc(const char * txt, char * txt_out); 38 | 39 | /********************** 40 | * MACROS 41 | **********************/ 42 | 43 | #endif // LV_USE_ARABIC_PERSIAN_CHARS 44 | 45 | #ifdef __cplusplus 46 | } /*extern "C"*/ 47 | #endif 48 | 49 | #endif /*LV_TXT_AP_H*/ 50 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/widgets/lv_btn.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file lv_btn.h 3 | * 4 | */ 5 | 6 | #ifndef LV_BTN_H 7 | #define LV_BTN_H 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | /********************* 14 | * INCLUDES 15 | *********************/ 16 | #include "../lv_conf_internal.h" 17 | 18 | #if LV_USE_BTN != 0 19 | #include "../core/lv_obj.h" 20 | 21 | /********************* 22 | * DEFINES 23 | *********************/ 24 | 25 | /********************** 26 | * TYPEDEFS 27 | **********************/ 28 | 29 | typedef struct { 30 | lv_obj_t obj; 31 | } lv_btn_t; 32 | 33 | extern const lv_obj_class_t lv_btn_class; 34 | 35 | /********************** 36 | * GLOBAL PROTOTYPES 37 | **********************/ 38 | 39 | /** 40 | * Create a button object 41 | * @param parent pointer to an object, it will be the parent of the new button 42 | * @return pointer to the created button 43 | */ 44 | lv_obj_t * lv_btn_create(lv_obj_t * parent); 45 | 46 | /********************** 47 | * MACROS 48 | **********************/ 49 | 50 | #endif /*LV_USE_BTN*/ 51 | 52 | #ifdef __cplusplus 53 | } /*extern "C"*/ 54 | #endif 55 | 56 | #endif /*LV_BTN_H*/ 57 | -------------------------------------------------------------------------------- /example_5_coremark/include/lvgl/src/widgets/lv_widgets.mk: -------------------------------------------------------------------------------- 1 | CSRCS += lv_arc.c 2 | CSRCS += lv_bar.c 3 | CSRCS += lv_btn.c 4 | CSRCS += lv_btnmatrix.c 5 | CSRCS += lv_canvas.c 6 | CSRCS += lv_checkbox.c 7 | CSRCS += lv_dropdown.c 8 | CSRCS += lv_img.c 9 | CSRCS += lv_label.c 10 | CSRCS += lv_line.c 11 | CSRCS += lv_roller.c 12 | CSRCS += lv_slider.c 13 | CSRCS += lv_switch.c 14 | CSRCS += lv_table.c 15 | CSRCS += lv_textarea.c 16 | 17 | DEPPATH += --dep-path $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets 18 | VPATH += :$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets 19 | 20 | CFLAGS += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets" 21 | -------------------------------------------------------------------------------- /example_5_coremark/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Generic) 2 | SET(CMAKE_SYSTEM_PROCESSOR arm) 3 | #set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) 4 | SET(CMAKE_C_COMPILER arm-none-eabi-gcc) 5 | SET(CMAKE_CXX_COMPILER arm-none-eabi-g++) 6 | set(CMAKE_C_COMPILER_WORKS 1) 7 | set(CMAKE_CXX_COMPILER_WORKS 1) 8 | find_program(CMAKE_OBJCOPY arm-none-eabi-objcopy) 9 | find_program(CMAKE_SIZE arm-none-eabi-size) 10 | -------------------------------------------------------------------------------- /example_5_coremark/tools/eld.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/example_5_coremark/tools/eld.exe -------------------------------------------------------------------------------- /pictures/0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/pictures/0.png -------------------------------------------------------------------------------- /pictures/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/pictures/1.png -------------------------------------------------------------------------------- /pictures/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/pictures/2.gif -------------------------------------------------------------------------------- /pictures/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/pictures/2.png -------------------------------------------------------------------------------- /pictures/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/pictures/3.gif -------------------------------------------------------------------------------- /pictures/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/pictures/3.png -------------------------------------------------------------------------------- /pictures/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ExistOS-Team/ExistOS-App-demo/2977528403c9bd93283fa7e4cb4aabeeea1892d6/pictures/4.gif --------------------------------------------------------------------------------