Start of porting process

This commit is contained in:
suchmememanyskill
2024-01-28 00:18:52 +01:00
parent 2e252c1d18
commit ec75a3e289
10 changed files with 117 additions and 81 deletions

View File

@@ -41,3 +41,25 @@ build_flags =
-DSPI_FREQUENCY=55000000
-DSPI_READ_FREQUENCY=20000000
-DSPI_TOUCH_FREQUENCY=2500000
### Porting options ###
# Defines the screen height
-DCYD_SCREEN_HEIGHT=240
# Defines the screen width
-DCYD_SCREEN_WIDTH=320
# Defines the pixel gap used for large gaps (like between buttons)
-DCYD_SCREEN_BIG_GAP_PX=8
# Defines the pixel gap used for small gaps (like between text and buttons)
-DCYD_SCREEN_SMALL_GAP_PX=4
# Defines the minimum pixel height of a button
-DCYD_SCREEN_MIN_BUTTON_HEIGHT=35
# Defines the minimum pixel width of a button
-DCYD_SCREEN_MIN_BUTTON_WIDTH=35
# Defines the size of font used
-DCYD_SCREEN_FONT=&lv_font_montserrat_14
# Defines the size of font used for small text
-DCYD_SCREEN_FONT_SMALL=&lv_font_montserrat_10
# Defines the size of the sizebar
-DCYD_SCREEN_SIDEBAR_SIZE_PX=40
# Defines the screen driver
-DCYD_SCREEN_DRIVER_ESP32_2432S028R=1