The issue of using SD external fonts

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • The issue of using SD external fonts

      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
      Images
      • path.png

        56.11 kB, 1,071×450, viewed 119 times
      • print.png

        79.99 kB, 1,349×523, viewed 113 times