File tree Expand file tree Collapse file tree 1 file changed +99
-0
lines changed Expand file tree Collapse file tree 1 file changed +99
-0
lines changed Original file line number Diff line number Diff line change 1+ [MCU .esp32 ]
2+ BOARD = " ESP32_GENERIC_S3"
3+ BOARD_VARIANT = " SPIRAM_OCT"
4+ flash_size = 16
5+ enable_jtag_repl = ' n'
6+ enable_cdc_repl = ' y'
7+ enable_uart_repl = ' n'
8+ CONFIG_FREERTOS_HZ =' y'
9+ CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240 =' y'
10+ CONFIG_ESPTOOLPY_FLASHMODE_QIO =' y'
11+ CONFIG_ESPTOOLPY_FLASHFREQ_120M =' y'
12+ CONFIG_IDF_EXPERIMENTAL_FEATURES =' y'
13+ CONFIG_SPIRAM_SPEED_120M =' y'
14+ CONFIG_SPIRAM_FETCH_INSTRUCTIONS =' y'
15+ CONFIG_SPIRAM_RODATA =' y'
16+ CONFIG_ESP32S3_DATA_CACHE_LINE_64B =' y'
17+ CONFIG_COMPILER_OPTIMIZATION_PERF =' y'
18+
19+ [RGBBus .display_bus ]
20+ data0 = 14
21+ data1 = 38
22+ data2 = 18
23+ data3 = 17
24+ data4 = 10
25+ data5 = 39
26+ data6 = 0
27+ data7 = 45
28+ data8 = 48
29+ data9 = 47
30+ data10 = 21
31+ data11 = 1
32+ data12 = 2
33+ data13 = 42
34+ data14 = 41
35+ data15 = 40
36+ hsync = 46
37+ vsync = 3
38+ de = 5
39+ pclk = 7
40+ freq = 12000000
41+ hsync_front_porch = 8
42+ hsync_back_porch = 8
43+ hsync_pulse_width = 4
44+ hsync_idle_low = true
45+ vsync_front_porch = 8
46+ vsync_back_porch = 8
47+ vsync_pulse_width = 4
48+ vsync_idle_low = false
49+ de_idle_high = false
50+ pclk_idle_high = false
51+ pclk_active_low = true
52+
53+
54+ [I2C .Bus .i2c_bus ]
55+ host = 0
56+ scl = 9
57+ sda = 8
58+ freq = 400000
59+
60+
61+ [I2C .Device .indev_device ]
62+ bus = " i2c_bus"
63+ dev_id = " gt911.I2C_ADDR"
64+ reg_bits = " gt911.BITS"
65+
66+
67+ [RGBDisplay .display ]
68+ data_bus = " display_bus"
69+ display_width = 800
70+ display_height = 480
71+ color_space = " lv.COLOR_FORMAT.RGB565"
72+
73+
74+ [display .set_power ]
75+ params = [true ]
76+
77+
78+ [display .init ]
79+ params = []
80+
81+ [GT911 .indev ]
82+ device = " indev_device"
83+
84+ [indev .firmware_config .fw_config ]
85+
86+ [fw_config .width ]
87+ value =800
88+
89+ [fw_config .height ]
90+ value =480
91+
92+ [fw_config .save ]
93+ params =[]
94+
95+ [display .set_backlight ]
96+ params = [100 ]
97+
98+ [task_handler .TaskHandler ]
99+ params =[]
You can’t perform that action at this time.
0 commit comments