Open ats3788 opened 11 months ago
I believe the file you need is here
Just getting started and my first issue was the board not being recognised on build so when searching how to add the sunton-s3 I came across this earlier github. Hopefully copying and entering this main.cpp into src folder will be the fix you need.
Odd, I added the file so platformio recognised the sunton_s3 board and without adding main.cpp I proceeded to a build. I got 2 warnings but no fatal error and the build finished.
Anyway the 2 warnings were
.pio/libdeps/esp32dev/lvgl/src/core/lv_obj.c: In function 'lv_init':
.pio/libdeps/esp32dev/lvgl/src/core/lv_obj.c:152:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
char * txt = "Á";
^~~~
and
.pio/libdeps/esp32dev/lvgl/src/widgets/lv_checkbox.c: In function 'lv_checkbox_constructor': .pio/libdeps/esp32dev/lvgl/src/widgets/lv_checkbox.c:125:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cb->txt = "Check box"; ^
Thank you kommando828, I got it, was a stupid question
Platform IO meckert das es keine main.cpp findet im src Ordner, schreiben sie die Antwort ruhig in Englisch or translate my question with Google Translate