更新gt911固件

This commit is contained in:
wen
2025-10-30 15:07:40 +08:00
parent 846d8045b3
commit 43c799919d
49 changed files with 52 additions and 21 deletions

View File

@@ -101,8 +101,7 @@ const char Menu_List[LANG_MAX][MENU_LIST_MAX][80]=
"存储",
"硬件版本",
"分辨率",
"系统版本",
"触摸版本",
"系统版本",
"智能配网",
"自动",
"请您选择应用场景",
@@ -170,6 +169,7 @@ const char Menu_List[LANG_MAX][MENU_LIST_MAX][80]=
"删除网络",
"系统信息",
"软件版本",//软件版本
"触摸版本",
"其它",//其它
"场景开关1",
"场景开关1-1",

View File

@@ -23,22 +23,22 @@ static struct rt_i2c_client gt911_client;
/* hardware section */
static rt_uint8_t GT911_CFG_TBL[] = {
0x62,0xE0,0x01,0xE0,0x01,0x01,0xF5,0x00,0x01,0xC8,0x28,0x0F,
0x50,0x3C,0x03,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x16,
0x18,0x1E,0x14,0x85,0x25,0x0A,0x9B,0x9D,0x7C,0x06,0x00,0x00,
0x00,0x00,0x01,0x2D,0x00,0x01,0x00,0x00,0x00,0x03,0x64,0x32,
0x00,0x00,0x00,0x50,0x7D,0x94,0xC5,0x02,0x07,0x00,0x00,0x04,
0x99,0x53,0x00,0x8D,0x5B,0x00,0x82,0x64,0x00,0x77,0x6D,0x00,
0x6E,0x77,0x00,0x6E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x6C,0xE0,0x01,0xE0,0x01,0x05,0xF5,0x00,0x22,0x0F,0x28,0x0F,
0x5A,0x3C,0x03,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x18,
0x1A,0x1E,0x14,0x85,0x25,0x0A,0xC8,0xCA,0xB5,0x06,0x00,0x00,
0x01,0x22,0x00,0x10,0x00,0x01,0x00,0x00,0x00,0x03,0x64,0x32,
0x00,0x00,0x00,0xAA,0xE6,0xDE,0xC5,0x02,0x07,0x00,0x00,0x04,
0x8D,0xAF,0x00,0x86,0xBA,0x00,0x81,0xC5,0x00,0x7B,0xD2,0x00,
0x76,0xDF,0x00,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x02,0x04,0x06,0x08,0x0A,0x0C,0x0E,0x10,
0x12,0x14,0x16,0x18,0x1A,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x06,
0x12,0x14,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x08,0x06,
0x04,0x02,0x00,0x1D,0x1E,0x1F,0x20,0x21,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x27,0x01
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0x96,0x01,
};
static rt_err_t gt911_write_reg(struct rt_i2c_client *dev, rt_uint8_t *data,
@@ -362,7 +362,7 @@ static rt_err_t gt911_control(struct rt_touch_device *touch, int cmd, void *arg)
gt911_get_config_version(&gt911_client, &regver, 1);
LOG_I("Config version:%d",regver);
if(regver<98)
if(regver!=0x6C)
{
LOG_I("update touch config");

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -793,8 +793,8 @@ CONFIG_CONFIG_LANAGUAGE_CHS=y
# CONFIG_CONFIG_LANAGUAGE_CHT is not set
# CONFIG_CONFIG_USER_RELAY_1 is not set
# CONFIG_CONFIG_USER_RELAY_2 is not set
# CONFIG_CONFIG_USER_RELAY_3 is not set
CONFIG_CONFIG_USER_RELAY_4=y
CONFIG_CONFIG_USER_RELAY_3=y
# CONFIG_CONFIG_USER_RELAY_4 is not set
CONFIG_CONFIG_DEVICE_SCR_ACT_JUMP=y
CONFIG_CONFIG_OBJICT_IMAGE=y
CONFIG_CONFIG_USER_MENU_TABLEVEW=y

View File

@@ -42,7 +42,7 @@
"env": {
"file": "env.bin",
"attr": ["mtd", "optional"],
"part": ["env","env_r"]
"part": ["env"]
},
"os": {
"file": "d12x_os.itb",

View File

@@ -42,7 +42,7 @@
"env": {
"file": "env.bin",
"attr": ["mtd", "optional"],
"part": ["env","env_r"]
"part": ["env"]
},
"os": {
"file": "d12x_os.itb",

View File

@@ -271,6 +271,8 @@ struct aic_pinmux aic_pinmux_config[] = {
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_RST_PIN},
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_INT_PIN},
#endif
{1, PIN_PULL_DIS, 3, "PU.0"},
{1, PIN_PULL_DIS, 3, "PU.1"},
};
uint32_t aic_pinmux_config_size = ARRAY_SIZE(aic_pinmux_config);

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2025-10-10 14:01:54" build="180206">
<key name=".Vanilla" modified="2025-10-29 18:25:06" build="180206">
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
@@ -259,8 +259,8 @@
<value name="Cascaded" type="hex" data="01"/>
<value name="IntegralSize" type="hex" data="00"/>
<value name="WindowMode" type="dword" data="0000051f"/>
<value name="ConWnd X" type="long" data="492"/>
<value name="ConWnd Y" type="long" data="260"/>
<value name="ConWnd X" type="long" data="592"/>
<value name="ConWnd Y" type="long" data="337"/>
<value name="LastMonitor" type="string" data="0,0,1920,1040"/>
<value name="ConWnd Width" type="dword" data="00000071"/>
<value name="ConWnd Height" type="dword" data="00000027"/>

View File

@@ -153,3 +153,32 @@ me
me\
me
me
me
me
me
me
bm
me
me\
me
me
me
me
me
me
me
me
me
me
me
me
me
me
me
me
me
me
me
me
me
me