I used AppWizard to generate text display, and after generating the code, the simulation on VS2022 worked normally with the expected output.
Then I ported it to my development board. The fonts I used were stored on an SD card. I followed the APPW_X_emFile.c interface to port and integrate the FATFS file system.
Subsequently, I modified the xbf font name in APPW_apFontList. At the same time, I changed the APPW_PROJECT_PATH to '0:'.
However, the file path recognized by APPW_X_Fatfs.c was only "Resource/Font/xxx.xbf" instead of "0:/Resource/Font/xxx.xbf".
It is evident that the APPW_PROJECT_PATH is not effective. What could be the cause of this issue?
vendor:st
mcu:stm32h7b0
emwin version:v648
Then I ported it to my development board. The fonts I used were stored on an SD card. I followed the APPW_X_emFile.c interface to port and integrate the FATFS file system.
Subsequently, I modified the xbf font name in APPW_apFontList. At the same time, I changed the APPW_PROJECT_PATH to '0:'.
However, the file path recognized by APPW_X_Fatfs.c was only "Resource/Font/xxx.xbf" instead of "0:/Resource/Font/xxx.xbf".
It is evident that the APPW_PROJECT_PATH is not effective. What could be the cause of this issue?
vendor:st
mcu:stm32h7b0
emwin version:v648