Description
Hi, I am testing an example from the XML section: lv_example_xml_2.c
.
However, I cannot open the XML file even though it has been added to the project.
I encountered an error in the lv_fs_get_drv
function inside lv_fs_open
.
What MCU/Processor/Board and compiler are you using?
MCU: STM32H743ZI2
Compiler/IDE: STM32CubeIDE
What do you want to achieve?
I want to open XML file.
What have you tried so far?
Code to reproduce
static void XML_test(void)
{
lv_result_t res;
res = lv_xml_component_register_from_file(“D:/Work_Space/STM_32/Test_LCD/Drivers/XML/my_h3.xml”);
if(res != LV_RESULT_OK) {
lv_obj_t * label = lv_label_create(lv_screen_active());
lv_label_set_text(label, “Couldn’t open the XML file.”);
lv_obj_center(label);
return;
}
}
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.
Thank you for your support.