File tree Expand file tree Collapse file tree 3 files changed +102
-11
lines changed Expand file tree Collapse file tree 3 files changed +102
-11
lines changed Original file line number Diff line number Diff line change @@ -1251,6 +1251,9 @@ def build_sdkconfig(*args):
12511251 'CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y'
12521252 ]
12531253
1254+ if board == 'ESP32_GENERIC_S3' :
1255+ base_config .insert (1 , 'CONFIG_SPIRAM_XIP_FROM_PSRAM=y' )
1256+
12541257 if DEBUG :
12551258 base_config .extend ([
12561259 'CONFIG_BOOTLOADER_LOG_LEVEL_NONE=n' ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ hsync = 39
2929vsync = 41
3030de = 40
3131pclk = 42
32- freq = 12000000
32+ freq = 16000000
3333hsync_front_porch = 8
3434hsync_back_porch = 8
3535hsync_pulse_width = 4
@@ -71,22 +71,14 @@ params = [true]
7171[display .init ]
7272params = []
7373
74+
7475[FT6x36 .indev ]
7576device = " indev_device"
7677
77- [indev .firmware_config .fw_config ]
78-
79- [fw_config .width ]
80- value =800
81-
82- [fw_config .height ]
83- value =480
84-
85- [fw_config .save ]
86- params =[]
8778
8879[display .set_backlight ]
8980params = [100 ]
9081
82+
9183[task_handler .TaskHandler ]
9284params =[]
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 = 8
5+ enable_jtag_repl = ' n'
6+ enable_cdc_repl = ' n'
7+ enable_uart_repl = ' y'
8+ uart_repl_bitrate = 115200
9+
10+
11+ [RGBBus .display_bus ]
12+ data0 = 8
13+ data1 = 3
14+ data2 = 46
15+ data3 = 9
16+ data4 = 1
17+ data5 = 5
18+ data6 = 6
19+ data7 = 7
20+ data8 = 15
21+ data9 = 16
22+ data10 = 4
23+ data11 = 45
24+ data12 = 48
25+ data13 = 47
26+ data14 = 21
27+ data15 = 14
28+ hsync = 39
29+ vsync = 41
30+ de = 40
31+ pclk = 42
32+ freq = 16000000
33+ hsync_front_porch = 8
34+ hsync_back_porch = 8
35+ hsync_pulse_width = 4
36+ hsync_idle_low = false
37+ vsync_front_porch = 8
38+ vsync_back_porch = 8
39+ vsync_pulse_width = 4
40+ vsync_idle_low = false
41+ de_idle_high = false
42+ pclk_idle_high = false
43+ pclk_active_low = true
44+
45+
46+ [I2C .Bus .i2c_bus ]
47+ host = 0
48+ scl = 20
49+ sda = 19
50+ freq = 400000
51+
52+
53+ [I2C .Device .indev_device ]
54+ bus = " i2c_bus"
55+ dev_id = " gt911.I2C_ADDR"
56+ reg_bits = " gt911.BITS"
57+
58+
59+ [RGBDisplay .display ]
60+ data_bus = " display_bus"
61+ display_width = 800
62+ display_height = 480
63+ backlight_pin = 2
64+ color_space = " lv.COLOR_FORMAT.RGB565"
65+
66+
67+ [display .set_power ]
68+ params = [true ]
69+
70+
71+ [display .init ]
72+ params = []
73+
74+
75+ [gt911 .indev ]
76+ device = " indev_device"
77+
78+
79+ [indev .firmware_config .fw_config ]
80+
81+ [fw_config .width ]
82+ value =800
83+
84+ [fw_config .height ]
85+ value =480
86+
87+ [fw_config .save ]
88+ params =[]
89+
90+
91+ [display .set_backlight ]
92+ params = [100 ]
93+
94+
95+ [task_handler .TaskHandler ]
96+ params =[]
You can’t perform that action at this time.
0 commit comments