Description
I created 3 custom fonts with font converter. (1bpp, C-file, just numbers and some symbols)
I have now 3 “FONT_NAME.c” files.
I can’t get compiler to find them.
- Which folder do I put these .c files?
- How and where do I declare/include them?
What MCU/Processor/Board and compiler are you using?
ESP32/CYD, VScode/Platformio/Arduino
What LVGL version are you using?
9.1
What have you tried so far?
- Place them in every folder which seemed to possibly make sense (src, lib, lvgl fonts, libdep, include…)
- Add them with
LV_FONT_DECLARE(LV_FONT_MONTSERRAT_36PART);
or withextern const lv_font_t LV_FONT_MONTSERRAT_36PART
in the declaration. - adding build_flags = -I include to platformio.ini
- renaming the .c files to .cpp.