This adds support for the Sunton esp32-2432s024{r,c} displays.
This is based on the code contributed by @elik754i in #555 . A few caveats:
I do not own an esp32-2432s024r, only an esp32-2432s024c. So I cannot vouch that the "r" variant works. I have tested the "c" variant and it works.
It looks like @elik745i added the support for the CST820 touch controller to an older version of the tft_driver_lovyangfx.cpp file than the version in the openHASP repo. I transplanted the necessary changes into the file in this repo. I do not know where they got that code from and I cannot read the chinese comments, but it seems to work.
I am not sure about the naming. I think I read somewhere that the esp32 on these boards is an 'ESP32 S3', so I put the user-config into the esp32s3 folder, but I'm not sure what an 's2' or 's3' esp32 is or whether this is correct in this case.
I'm not sure about the naming of the build environments. Some of the Sunton boards' environments seem to be named sunton-<whatever>, others just esp32-<whatever>. I opted for the latter, but feel free to change that.
This adds support for the Sunton esp32-2432s024{r,c} displays.
This is based on the code contributed by @elik754i in #555 . A few caveats:
CST820
touch controller to an older version of thetft_driver_lovyangfx.cpp
file than the version in the openHASP repo. I transplanted the necessary changes into the file in this repo. I do not know where they got that code from and I cannot read the chinese comments, but it seems to work.esp32s3
folder, but I'm not sure what an 's2' or 's3' esp32 is or whether this is correct in this case.sunton-<whatever>
, others justesp32-<whatever>
. I opted for the latter, but feel free to change that.