diff --git a/main/drivers/wlvgl.cpp b/main/drivers/wlvgl.cpp index 851ff5f..2f4a62d 100644 --- a/main/drivers/wlvgl.cpp +++ b/main/drivers/wlvgl.cpp @@ -73,3 +73,80 @@ void wlv_obj_set_style_bg_color(lv_obj_t* obj, lv_color_t value, lv_style_select } } + +void wlv_style_set_text_color() { + +} + +void wlv_style_set_text_align() { + +} + +void wlv_obj_align() { + +} + +void wlv_obj_set_size() { + +} + +void wlv_obj_add_style() { + +} + +void wlv_obj_set_style_text_align() { + +} + +void wlv_label_set_text() { + +} + +void wlv_scr_load() { + +} + +void wlv_scr_act() { + +} + +void wlv_style_set_bg_color() { + +} + +void wlv_style_set_bg_opa() { + +} + +void wlv_obj_set_width() { + +} + +void wlv_style_set_text_font() { + +} + +void wlv_label_create() { + +} + +void wlv_obj_del() { + +} + +void wlv_obj_center() { + +} + +void wlv_obj_remove_style() { + +} + +void wlv_obj_add_flag() { + +} + +void wlv_obj_clear_flag() { + +} + diff --git a/main/drivers/wlvgl.h b/main/drivers/wlvgl.h index 5868a9c..12ef3c0 100644 --- a/main/drivers/wlvgl.h +++ b/main/drivers/wlvgl.h @@ -9,27 +9,24 @@ void reset_wlv_tables(); lv_obj_t* wlv_obj_create(lv_obj_t* parent); void wlv_style_init(lv_style_t* style); void wlv_obj_set_style_bg_color(struct _lv_obj_t * obj, lv_color_t value, lv_style_selector_t selector); -// lv_style_set_text_color -// lv_style_set_text_align -// lv_obj_align -// lv_obj_set_size -// lv_obj_add_style -// lv_obj_set_style_text_align -// lv_label_set_text -// lv_scr_load -// lv_scr_act -// lv_style_set_bg_color -// lv_style_set_bg_opa -// lv_style_set_text_align -// lv_obj_set_width -// lv_style_set_text_font -// lv_obj_add_style -// lv_style_set_text_color -// lv_label_create -// lv_obj_del -// lv_obj_center -// lv_obj_remove_style -// lv_obj_add_flag -// lv_obj_clear_flag +void wlv_style_set_text_color(); +void wlv_style_set_text_align(); +void wlv_obj_align(); +void wlv_obj_set_size(); +void wlv_obj_add_style(); +void wlv_obj_set_style_text_align(); +void wlv_label_set_text(); +void wlv_scr_load(); +void wlv_scr_act(); +void wlv_style_set_bg_color(); +void wlv_style_set_bg_opa(); +void wlv_obj_set_width(); +void wlv_style_set_text_font(); +void wlv_label_create(); +void wlv_obj_del(); +void wlv_obj_center(); +void wlv_obj_remove_style(); +void wlv_obj_add_flag(); +void wlv_obj_clear_flag(); #endif /* WLVGL_H */ \ No newline at end of file diff --git a/partitions.csv b/partitions.csv new file mode 100644 index 0000000..a0c7a7e --- /dev/null +++ b/partitions.csv @@ -0,0 +1,8 @@ +# ESP-IDF Partition Table +# Name, Type, SubType, Offset, Size, Flags +nvs,data,nvs,0x9000,0x6000,, +phy_init,data,phy,0xf000,0x1000,, +ota,data,ota,0x10000,0x2000,, +factory,app,factory,0x20000,2M,, +ota0,app,ota_0,0x220000,2M,, +ota1,app,ota_1,0x420000,2M,, diff --git a/sdkconfig b/sdkconfig index 330fc1b..2cbbf80 100644 --- a/sdkconfig +++ b/sdkconfig @@ -527,11 +527,11 @@ CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 # Partition Table # # CONFIG_PARTITION_TABLE_SINGLE_APP is not set -CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y +# CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE is not set # CONFIG_PARTITION_TABLE_TWO_OTA is not set -# CONFIG_PARTITION_TABLE_CUSTOM is not set +CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" -CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp_large.csv" +CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" CONFIG_PARTITION_TABLE_OFFSET=0x8000 CONFIG_PARTITION_TABLE_MD5=y # end of Partition Table