Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit06b4a0b

Browse files
committed
adds rm67162 display driver
1 parentf5bcf40 commit06b4a0b

File tree

15 files changed

+3241
-1
lines changed

15 files changed

+3241
-1
lines changed

‎builder/esp32.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ def build_sdkconfig(*args):
12901290
foritmin (
12911291
15,16,20,24,26,30,32,40,48,60,64,80,120
12921292
):
1293-
base_config.append(f'CONFIG_ESPTOOLPY__FLASHFREQ_{itm}M=n')
1293+
base_config.append(f'CONFIG_ESPTOOLPY_FLASHFREQ_{itm}M=n')
12941294
elif'SPIRAM_SPEED'inarg:
12951295
foritmin (20,26,40,80,120):
12961296
base_config.append(f'CONFIG_SPIRAM_SPEED_{itm}M=n')
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
[MCU.esp32]
2+
BOARD ="ESP32_GENERIC_S3"
3+
BOARD_VARIANT ="SPIRAM_OCT"
4+
flash_size =16
5+
octal_flash =true
6+
enable_cdc_repl ="y"
7+
enable_jtag_repl ="n"
8+
enable_uart_repl ="n"
9+
FROZEN_MANIFEST ="display_configs/LilyGo-TDeck/manifest.py"
10+
11+
[SPI.Bus.spi_bus]
12+
host =1
13+
mosi =41
14+
miso =38
15+
sck =40
16+
17+
[SPI.Device.lora_device]
18+
spi_bus ="spi_bus"
19+
freq =20000000
20+
cs =9
21+
22+
[SPIBus.display_bus]
23+
spi_bus ="spi_bus"
24+
freq =40000000
25+
dc =11
26+
cs =12
27+
28+
[SDCard.sdcard]
29+
spi_bus ="spi_bus"
30+
freq =10000000
31+
cs =39
32+
33+
[I2C.Bus.i2c_bus]
34+
host =0
35+
scl =8
36+
sda =18
37+
freq =100000
38+
39+
[I2C.Device.touch_device]
40+
bus ="i2c_bus"
41+
dev_id ="gt911.I2C_ADDR"
42+
reg_bits ="gt911.BITS"
43+
44+
[I2C.Device.keyboard_device]
45+
bus ="i2c_bus"
46+
dev_id =85
47+
reg_bits =8
48+
49+
[ST7789.display]
50+
data_bus ="display_bus"
51+
display_width =320
52+
display_height =240
53+
power_pin =42
54+
backlight_pin =42
55+
backlight_on_state ="st7789.STATE_PWM"
56+
color_space ="lv.COLOR_FORMAT.RGB565"
57+
color_byte_order ="ili9341.BYTE_ORDER_BGR"
58+
rgb565_byte_swap =true
59+
60+
[display.set_power]
61+
params = [true]
62+
63+
[display.init]
64+
params = []
65+
66+
[gt911.touch]
67+
device ="touch_device"
68+
69+
[keyboard_s3.Keyboard.keyboard]
70+
device ="keyboard_device"
71+
72+
[trackball.TrackBall.trackball]
73+
up_pin =3
74+
down_pin =2
75+
left_pin =15
76+
right_pin =1
77+
78+
[power.Button.pwr_button]
79+
pin =10
80+
81+
[display.set_backlight]
82+
params = [100]
83+
84+
[sx1262.SX1262.lora]
85+
spi_device ="lora_device"
86+
gpio =13
87+
irq =45
88+
rst =17
89+
90+
[task_handler.TaskHandler]
91+
params=[]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
To use this board all you need to do is run this build command...
2+
3+
python3 make.py --custom-board-path=display_configs/LilyGo-TDeck
4+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"mcu":"esp32s3",
3+
"product":"Custom ESP32-S3 display board",
4+
"url":"https://www.come_manufacturer.com/board.html",
5+
"vendor":"Vendor name of board"
6+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp