mirror of
https://github.com/suchmememanyskill/CYD-Klipper.git
synced 2026-03-21 05:33:24 +00:00
Add support for crowpanel 2.8inch display (#134)
* Add support for crowpanel 2.8inch display * Add support for crowpanel 2.8inch display --------- Co-authored-by: Sims <38142618+suchmememanyskill@users.noreply.github.com>
This commit is contained in:
63
CYD-Klipper/boards/esp32-CROWPANEL-28R.json
Normal file
63
CYD-Klipper/boards/esp32-CROWPANEL-28R.json
Normal file
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"build": {
|
||||
"arduino": {
|
||||
"ldscript": "esp32_out.ld"
|
||||
},
|
||||
"core": "esp32",
|
||||
"extra_flags": [
|
||||
"-DUSER_SETUP_LOADED=1",
|
||||
"-DILI9341_2_DRIVER=1",
|
||||
"-DTFT_BACKLIGHT_ON=HIGH",
|
||||
"-DTFT_BL=27",
|
||||
"-DTFT_MISO=12",
|
||||
"-DTFT_MOSI=13",
|
||||
"-DTFT_SCLK=14",
|
||||
"-DTFT_CS=15",
|
||||
"-DTFT_DC=2",
|
||||
"-DTFT_RST=-1",
|
||||
"-DLOAD_GCLD=1",
|
||||
"-DSPI_FREQUENCY=15999999",
|
||||
"-DSPI_READ_FREQUENCY=20000000",
|
||||
"-DSPI_TOUCH_FREQUENCY=600000",
|
||||
"-DTOUCH_CS=33",
|
||||
|
||||
"-DCYD_SCREEN_HEIGHT_PX=240",
|
||||
"-DCYD_SCREEN_WIDTH_PX=320",
|
||||
"-DCYD_SCREEN_GAP_PX=8",
|
||||
"-DCYD_SCREEN_MIN_BUTTON_HEIGHT_PX=35",
|
||||
"-DCYD_SCREEN_MIN_BUTTON_WIDTH_PX=35",
|
||||
"-DCYD_SCREEN_FONT=lv_font_montserrat_14",
|
||||
"-DCYD_SCREEN_FONT_SMALL=lv_font_montserrat_10",
|
||||
"-DCYD_SCREEN_SIDEBAR_SIZE_PX=40",
|
||||
"-DCYD_SCREEN_DRIVER_ESP32_CROWPANEL_28R=1"
|
||||
],
|
||||
"f_cpu": "240000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
"mcu": "esp32",
|
||||
"variant": "esp32"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"ethernet",
|
||||
"can"
|
||||
],
|
||||
"debug": {
|
||||
"openocd_board": "esp-wroom-32.cfg"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "esp32-crowpanel-28R",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"require_upload_port": true,
|
||||
"speed": 460800
|
||||
},
|
||||
"url": "https://www.aliexpress.com/item/1005004502250619.html",
|
||||
"vendor": "Sunton"
|
||||
}
|
||||
Reference in New Issue
Block a user