This commit is contained in:
刘可亮
2025-07-22 11:15:46 +08:00
parent d164b333ed
commit 11c97ef399
2870 changed files with 951307 additions and 26675 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
* Copyright (c) 2022-2025, ArtInChip Technology Co., Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -218,7 +218,7 @@ const struct dfs_mount_tbl mount_table[] = {
{"data", "/data", "uffs", 0, 0, 1},
#endif
#ifdef AIC_USING_SDMC1
{"sd0", "/sdcard", "elm", 0, 0, 0},
{"sd1", "/sdcard", "elm", 0, 0, 0},
#endif
#if (defined(AIC_USING_USB0_HOST) || defined(AIC_USING_USB0_OTG) || defined(AIC_USING_USB1_HOST))
{"udisk", "/udisk", "elm", 0, 0, 0xFF},

View File

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

View File

@@ -120,14 +120,23 @@ struct aic_pinmux aic_pinmux_config[] = {
{4, PIN_PULL_DIS, 3, "PA.8"}, // SCK
{4, PIN_PULL_DIS, 3, "PA.9"}, // SDA
#endif
#if defined(AIC_USING_QSPI0) && !defined(AIC_SYSCFG_SIP_FLASH_ENABLE)
#ifdef AIC_USING_QSPI0
#ifndef AIC_SYSCFG_SIP_FLASH_ENABLE
/* qspi0 */
{2, PIN_PULL_DIS, 3, "PB.0"},
{2, PIN_PULL_DIS, 3, "PB.1"},
{2, PIN_PULL_DIS, 3, "PB.2"},
{2, PIN_PULL_DIS, 3, "PB.3"},
{2, PIN_PULL_DIS, 3, "PB.4"},
{2, PIN_PULL_DIS, 3, "PB.5"},
{2, PIN_PULL_UP, 3, "PB.0"},
{2, PIN_PULL_UP, 3, "PB.1"},
{2, PIN_PULL_UP, 3, "PB.2"},
{2, PIN_PULL_UP, 3, "PB.3"},
{2, PIN_PULL_UP, 3, "PB.4"},
{2, PIN_PULL_UP, 3, "PB.5"},
#else
{8, PIN_PULL_UP, 3, "PB.12"},
{8, PIN_PULL_UP, 3, "PB.13"},
{8, PIN_PULL_UP, 3, "PB.14"},
{8, PIN_PULL_UP, 3, "PB.15"},
{8, PIN_PULL_UP, 3, "PB.16"},
{8, PIN_PULL_UP, 3, "PB.17"},
#endif
#endif
#ifdef AIC_USING_SDMC0
{2, PIN_PULL_UP, 7, "PB.6"},
@@ -373,7 +382,7 @@ struct aic_pinmux aic_pinmux_config[] = {
#endif
#ifdef AIC_USING_CTP
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_RST_PIN},
#ifdef AIC_PM_DEMO_TOUCH_WAKEUP
#ifdef AIC_TOUCH_PANEL_WAKE_UP
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_INT_PIN, FLAG_WAKEUP_SOURCE},
#else
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_INT_PIN},

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
* Copyright (c) 2022-2025, ArtInChip Technology Co., Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -219,7 +219,7 @@ const struct dfs_mount_tbl mount_table[] = {
{"data", "/data", "uffs", 0, 0, 1},
#endif
#ifdef AIC_USING_SDMC1
{"sd0", "/sdcard", "elm", 0, 0, 0},
{"sd1", "/sdcard", "elm", 0, 0, 0},
#endif
#if (defined(AIC_USING_USB0_HOST) || defined(AIC_USING_USB0_OTG) || defined(AIC_USING_USB1_HOST))
{"udisk", "/udisk", "elm", 0, 0, 0},

View File

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

View File

@@ -74,14 +74,23 @@ struct aic_pinmux aic_pinmux_config[] = {
{4, PIN_PULL_DIS, 3, "PA.8"}, // SCK
{4, PIN_PULL_DIS, 3, "PA.9"}, // SDA
#endif
#if defined(AIC_USING_QSPI0) && !defined(AIC_SYSCFG_SIP_FLASH_ENABLE)
#ifdef AIC_USING_QSPI0
#ifndef AIC_SYSCFG_SIP_FLASH_ENABLE
/* qspi0 */
{2, PIN_PULL_DIS, 3, "PB.0"},
{2, PIN_PULL_DIS, 3, "PB.1"},
{2, PIN_PULL_DIS, 3, "PB.2"},
{2, PIN_PULL_DIS, 3, "PB.3"},
{2, PIN_PULL_DIS, 3, "PB.4"},
{2, PIN_PULL_DIS, 3, "PB.5"},
{2, PIN_PULL_UP, 3, "PB.0"},
{2, PIN_PULL_UP, 3, "PB.1"},
{2, PIN_PULL_UP, 3, "PB.2"},
{2, PIN_PULL_UP, 3, "PB.3"},
{2, PIN_PULL_UP, 3, "PB.4"},
{2, PIN_PULL_UP, 3, "PB.5"},
#else
{8, PIN_PULL_UP, 3, "PB.12"},
{8, PIN_PULL_UP, 3, "PB.13"},
{8, PIN_PULL_UP, 3, "PB.14"},
{8, PIN_PULL_UP, 3, "PB.15"},
{8, PIN_PULL_UP, 3, "PB.16"},
{8, PIN_PULL_UP, 3, "PB.17"},
#endif
#endif
#ifdef AIC_USING_SDMC0
{2, PIN_PULL_UP, 7, "PB.6"},
@@ -289,7 +298,7 @@ struct aic_pinmux aic_pinmux_config[] = {
#endif
#ifdef AIC_USING_CTP
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_RST_PIN},
#ifdef AIC_PM_DEMO_TOUCH_WAKEUP
#ifdef AIC_TOUCH_PANEL_WAKE_UP
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_INT_PIN, FLAG_WAKEUP_SOURCE},
#else
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_INT_PIN},

View File

@@ -221,7 +221,7 @@ const struct dfs_mount_tbl mount_table[] = {
{"data", "/data", "uffs", 0, 0, 1},
#endif
#ifdef AIC_USING_SDMC1
{"sd0", "/sdcard", "elm", 0, 0, 0},
{"sd1", "/sdcard", "elm", 0, 0, 0},
#endif
#if (defined(AIC_USING_USB0_HOST) || defined(AIC_USING_USB0_OTG) || defined(AIC_USING_USB1_HOST))
{"udisk", "/udisk", "elm", 0, 0, 0xFF},

View File

@@ -41,7 +41,12 @@
"env": {
"file": "env.bin.enc",
"attr": ["mtd", "optional"],
"part": ["env","env_r"]
"part": ["env"]
},
"env_r": {
"file": "env.bin.enc",
"attr": ["mtd", "optional"],
"part": ["env_r"]
},
"os": {
"file": "d13x_os.itb.enc",

View File

@@ -120,14 +120,23 @@ struct aic_pinmux aic_pinmux_config[] = {
{4, PIN_PULL_DIS, 3, "PA.8"}, // SCK
{4, PIN_PULL_DIS, 3, "PA.9"}, // SDA
#endif
#if defined(AIC_USING_QSPI0) && !defined(AIC_SYSCFG_SIP_FLASH_ENABLE)
#ifdef AIC_USING_QSPI0
#ifndef AIC_SYSCFG_SIP_FLASH_ENABLE
/* qspi0 */
{2, PIN_PULL_DIS, 3, "PB.0"},
{2, PIN_PULL_DIS, 3, "PB.1"},
{2, PIN_PULL_DIS, 3, "PB.2"},
{2, PIN_PULL_DIS, 3, "PB.3"},
{2, PIN_PULL_DIS, 3, "PB.4"},
{2, PIN_PULL_DIS, 3, "PB.5"},
{2, PIN_PULL_UP, 3, "PB.0"},
{2, PIN_PULL_UP, 3, "PB.1"},
{2, PIN_PULL_UP, 3, "PB.2"},
{2, PIN_PULL_UP, 3, "PB.3"},
{2, PIN_PULL_UP, 3, "PB.4"},
{2, PIN_PULL_UP, 3, "PB.5"},
#else
{8, PIN_PULL_UP, 3, "PB.12"},
{8, PIN_PULL_UP, 3, "PB.13"},
{8, PIN_PULL_UP, 3, "PB.14"},
{8, PIN_PULL_UP, 3, "PB.15"},
{8, PIN_PULL_UP, 3, "PB.16"},
{8, PIN_PULL_UP, 3, "PB.17"},
#endif
#endif
#if defined(AIC_USING_QSPI2) && defined(AIC_SYSCFG_SIP_FLASH_ENABLE) && !defined(AIC_USING_SDMC0)
/* qspi2 */
@@ -392,7 +401,7 @@ struct aic_pinmux aic_pinmux_config[] = {
#endif
#ifdef AIC_USING_CTP
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_RST_PIN},
#ifdef AIC_PM_DEMO_TOUCH_WAKEUP
#ifdef AIC_TOUCH_PANEL_WAKE_UP
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_INT_PIN, FLAG_WAKEUP_SOURCE},
#else
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_INT_PIN},

View File

@@ -221,7 +221,7 @@ const struct dfs_mount_tbl mount_table[] = {
{"data", "/data", "uffs", 0, 0, 1},
#endif
#ifdef AIC_USING_SDMC1
{"sd0", "/sdcard", "elm", 0, 0, 0},
{"sd1", "/sdcard", "elm", 0, 0, 0},
#endif
#if (defined(AIC_USING_USB0_HOST) || defined(AIC_USING_USB0_OTG) || defined(AIC_USING_USB1_HOST))
{"udisk", "/udisk", "elm", 0, 0, 0xFF},

View File

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

View File

@@ -120,14 +120,23 @@ struct aic_pinmux aic_pinmux_config[] = {
{4, PIN_PULL_DIS, 3, "PA.8"}, // SCK
{4, PIN_PULL_DIS, 3, "PA.9"}, // SDA
#endif
#if defined(AIC_USING_QSPI0) && !defined(AIC_SYSCFG_SIP_FLASH_ENABLE)
#ifdef AIC_USING_QSPI0
#ifndef AIC_SYSCFG_SIP_FLASH_ENABLE
/* qspi0 */
{2, PIN_PULL_DIS, 3, "PB.0"},
{2, PIN_PULL_DIS, 3, "PB.1"},
{2, PIN_PULL_DIS, 3, "PB.2"},
{2, PIN_PULL_DIS, 3, "PB.3"},
{2, PIN_PULL_DIS, 3, "PB.4"},
{2, PIN_PULL_DIS, 3, "PB.5"},
{2, PIN_PULL_UP, 3, "PB.0"},
{2, PIN_PULL_UP, 3, "PB.1"},
{2, PIN_PULL_UP, 3, "PB.2"},
{2, PIN_PULL_UP, 3, "PB.3"},
{2, PIN_PULL_UP, 3, "PB.4"},
{2, PIN_PULL_UP, 3, "PB.5"},
#else
{8, PIN_PULL_UP, 3, "PB.12"},
{8, PIN_PULL_UP, 3, "PB.13"},
{8, PIN_PULL_UP, 3, "PB.14"},
{8, PIN_PULL_UP, 3, "PB.15"},
{8, PIN_PULL_UP, 3, "PB.16"},
{8, PIN_PULL_UP, 3, "PB.17"},
#endif
#endif
#if defined(AIC_USING_QSPI2) && defined(AIC_SYSCFG_SIP_FLASH_ENABLE) && !defined(AIC_USING_SDMC0)
/* qspi2 */
@@ -392,7 +401,7 @@ struct aic_pinmux aic_pinmux_config[] = {
#endif
#ifdef AIC_USING_CTP
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_RST_PIN},
#ifdef AIC_PM_DEMO_TOUCH_WAKEUP
#ifdef AIC_TOUCH_PANEL_WAKE_UP
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_INT_PIN, FLAG_WAKEUP_SOURCE},
#else
{1, PIN_PULL_DIS, 3, AIC_TOUCH_PANEL_INT_PIN},

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
* Copyright (c) 2022-2025, ArtInChip Technology Co., Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -221,7 +221,7 @@ const struct dfs_mount_tbl mount_table[] = {
{"data", "/data", "uffs", 0, 0, 1},
#endif
#ifdef AIC_USING_SDMC1
{"sd0", "/sdcard", "elm", 0, 0, 0},
{"sd1", "/sdcard", "elm", 0, 0, 0},
#endif
#if (defined(AIC_USING_USB0_HOST) || defined(AIC_USING_USB0_OTG) || defined(AIC_USING_USB1_HOST))
{"udisk", "/udisk", "elm", 0, 0, 0xFF},

View File

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

View File

@@ -192,7 +192,7 @@ const struct dfs_mount_tbl mount_table[] = {
{"data", "/data", "uffs", 0, 0, 1},
#endif
#ifdef AIC_USING_SDMC1
{"sd0", "/sdcard", "elm", 0, 0, 0},
{"sd1", "/sdcard", "elm", 0, 0, 0},
#endif
#if (defined(AIC_USING_USB0_HOST) || defined(AIC_USING_USB0_OTG) || defined(AIC_USING_USB1_HOST))
{"udisk", "/udisk", "elm", 0, 0, 0xFF},

View File

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

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
* Copyright (c) 2022-2025, ArtInChip Technology Co., Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -52,14 +52,23 @@ struct aic_pinmux aic_pinmux_config[] = {
{4, PIN_PULL_DIS, 3, "PA.8"}, // SCK
{4, PIN_PULL_DIS, 3, "PA.9"}, // SDA
#endif
#if defined(AIC_USING_QSPI0) && !defined(AIC_SYSCFG_SIP_FLASH_ENABLE)
#ifdef AIC_USING_QSPI0
#ifndef AIC_SYSCFG_SIP_FLASH_ENABLE
/* qspi0 */
{2, PIN_PULL_DIS, 3, "PB.0"},
{2, PIN_PULL_DIS, 3, "PB.1"},
{2, PIN_PULL_DIS, 3, "PB.2"},
{2, PIN_PULL_DIS, 3, "PB.3"},
{2, PIN_PULL_DIS, 3, "PB.4"},
{2, PIN_PULL_DIS, 3, "PB.5"},
{2, PIN_PULL_UP, 3, "PB.0"},
{2, PIN_PULL_UP, 3, "PB.1"},
{2, PIN_PULL_UP, 3, "PB.2"},
{2, PIN_PULL_UP, 3, "PB.3"},
{2, PIN_PULL_UP, 3, "PB.4"},
{2, PIN_PULL_UP, 3, "PB.5"},
#else
{8, PIN_PULL_UP, 3, "PB.12"},
{8, PIN_PULL_UP, 3, "PB.13"},
{8, PIN_PULL_UP, 3, "PB.14"},
{8, PIN_PULL_UP, 3, "PB.15"},
{8, PIN_PULL_UP, 3, "PB.16"},
{8, PIN_PULL_UP, 3, "PB.17"},
#endif
#endif
#ifdef AIC_USING_SDMC0
{2, PIN_PULL_UP, 7, "PB.6"},