Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PHPmihuan
rt-thread
提交
fe980c77
R
rt-thread
项目概览
PHPmihuan
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
fe980c77
编写于
3月 01, 2021
作者:
B
Bernard Xiong
提交者:
GitHub
3月 01, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #4406 from thread-liu/master
[update] stm32mp1 sdio wifi.
上级
0a54f4c3
53dea16e
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
385 addition
and
46 deletion
+385
-46
bsp/stm32/libraries/STM32MPxx_HAL/SConscript
bsp/stm32/libraries/STM32MPxx_HAL/SConscript
+4
-0
bsp/stm32/stm32mp157a-st-discovery/board/CubeMX_Config/CM4/Inc/stm32mp1xx_hal_conf.h
...scovery/board/CubeMX_Config/CM4/Inc/stm32mp1xx_hal_conf.h
+1
-1
bsp/stm32/stm32mp157a-st-discovery/board/CubeMX_Config/CM4/Src/stm32mp1xx_hal_msp.c
...iscovery/board/CubeMX_Config/CM4/Src/stm32mp1xx_hal_msp.c
+118
-0
bsp/stm32/stm32mp157a-st-discovery/board/Kconfig
bsp/stm32/stm32mp157a-st-discovery/board/Kconfig
+14
-1
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_sdio.c
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_sdio.c
+92
-18
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_sdio.h
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_sdio.h
+7
-5
bsp/stm32/stm32mp157a-st-discovery/project.ewp
bsp/stm32/stm32mp157a-st-discovery/project.ewp
+149
-21
未找到文件。
bsp/stm32/libraries/STM32MPxx_HAL/SConscript
浏览文件 @
fe980c77
...
...
@@ -119,6 +119,10 @@ if GetDepend(['BSP_USING_CRYP']):
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_cryp.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_cryp_ex.c'
]
if
GetDepend
([
'BSP_USING_RTC'
]):
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_rtc.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_rtc_ex.c'
]
path
=
[
cwd
+
'/STM32MP1xx_HAL_Driver/Inc'
,
cwd
+
'/CMSIS/Device/ST/STM32MP1xx/Include'
,
cwd
+
'/CMSIS/Core/Include'
,
...
...
bsp/stm32/stm32mp157a-st-discovery/board/CubeMX_Config/CM4/Inc/stm32mp1xx_hal_conf.h
浏览文件 @
fe980c77
...
...
@@ -60,7 +60,7 @@
#define HAL_SAI_MODULE_ENABLED
#define HAL_SD_MODULE_ENABLED
/*#define HAL_MMC_MODULE_ENABLED */
/*#define HAL_RTC_MODULE_ENABLED */
#define HAL_RTC_MODULE_ENABLED
/*#define HAL_SMBUS_MODULE_ENABLED */
/*#define HAL_SPDIFRX_MODULE_ENABLED */
#define HAL_SPI_MODULE_ENABLED
...
...
bsp/stm32/stm32mp157a-st-discovery/board/CubeMX_Config/CM4/Src/stm32mp1xx_hal_msp.c
浏览文件 @
fe980c77
...
...
@@ -1003,7 +1003,66 @@ void HAL_SD_MspInit(SD_HandleTypeDef* hsd)
/* USER CODE END SDMMC1_MspInit 1 */
}
if
(
hsd
->
Instance
==
SDMMC2
)
{
/* USER CODE BEGIN SDMMC2_MspInit 0 */
if
(
IS_ENGINEERING_BOOT_MODE
())
{
/** Initializes the peripherals clock
*/
PeriphClkInit
.
Sdmmc12ClockSelection
=
RCC_SDMMC12CLKSOURCE_PLL4
;
PeriphClkInit
.
PeriphClockSelection
=
RCC_PERIPHCLK_SDMMC12
;
if
(
HAL_RCCEx_PeriphCLKConfig
(
&
PeriphClkInit
)
!=
HAL_OK
)
{
Error_Handler
();
}
}
/* USER CODE END SDMMC2_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_SDMMC2_CLK_ENABLE
();
__HAL_RCC_GPIOB_CLK_ENABLE
();
__HAL_RCC_GPIOE_CLK_ENABLE
();
__HAL_RCC_GPIOG_CLK_ENABLE
();
/**SDMMC2 GPIO Configuration
PB14 ------> SDMMC2_D0
PB15 ------> SDMMC2_D1
PB3 ------> SDMMC2_D2
PB4 ------> SDMMC2_D3
PE3 ------> SDMMC2_CK
PG6 ------> SDMMC2_CMD
*/
GPIO_InitStruct
.
Pin
=
GPIO_PIN_3
|
GPIO_PIN_4
|
GPIO_PIN_14
|
GPIO_PIN_15
;
GPIO_InitStruct
.
Mode
=
GPIO_MODE_AF_PP
;
GPIO_InitStruct
.
Pull
=
GPIO_NOPULL
;
GPIO_InitStruct
.
Speed
=
GPIO_SPEED_FREQ_VERY_HIGH
;
GPIO_InitStruct
.
Alternate
=
GPIO_AF9_SDIO2
;
HAL_GPIO_Init
(
GPIOB
,
&
GPIO_InitStruct
);
GPIO_InitStruct
.
Pin
=
GPIO_PIN_3
;
GPIO_InitStruct
.
Mode
=
GPIO_MODE_AF_PP
;
GPIO_InitStruct
.
Pull
=
GPIO_NOPULL
;
GPIO_InitStruct
.
Speed
=
GPIO_SPEED_FREQ_VERY_HIGH
;
GPIO_InitStruct
.
Alternate
=
GPIO_AF9_SDIO2
;
HAL_GPIO_Init
(
GPIOE
,
&
GPIO_InitStruct
);
GPIO_InitStruct
.
Pin
=
GPIO_PIN_6
;
GPIO_InitStruct
.
Mode
=
GPIO_MODE_AF_PP
;
GPIO_InitStruct
.
Pull
=
GPIO_NOPULL
;
GPIO_InitStruct
.
Speed
=
GPIO_SPEED_FREQ_VERY_HIGH
;
GPIO_InitStruct
.
Alternate
=
GPIO_AF10_SDIO2
;
HAL_GPIO_Init
(
GPIOG
,
&
GPIO_InitStruct
);
__HAL_RCC_SDMMC2_FORCE_RESET
();
__HAL_RCC_SDMMC2_RELEASE_RESET
();
/* SDMMC2 interrupt Init */
HAL_NVIC_SetPriority
(
SDMMC2_IRQn
,
2
,
0
);
HAL_NVIC_EnableIRQ
(
SDMMC2_IRQn
);
/* USER CODE BEGIN SDMMC2_MspInit 1 */
/* USER CODE END SDMMC2_MspInit 1 */
}
}
/**
...
...
@@ -1312,6 +1371,65 @@ void HAL_CRYP_MspDeInit(CRYP_HandleTypeDef* hcryp)
}
#endif
/**
* @brief RTC MSP Initialization
* This function configures the hardware resources used in this example
* @param hrtc: RTC handle pointer
* @retval None
*/
void
HAL_RTC_MspInit
(
RTC_HandleTypeDef
*
hrtc
)
{
RCC_PeriphCLKInitTypeDef
PeriphClkInit
=
{
0
};
if
(
hrtc
->
Instance
==
RTC
)
{
/* USER CODE BEGIN SDMMC1_MspInit 0 */
if
(
IS_ENGINEERING_BOOT_MODE
())
{
/** Initializes the peripherals clock
*/
PeriphClkInit
.
RTCClockSelection
=
RCC_RTCCLKSOURCE_LSE
;
PeriphClkInit
.
PeriphClockSelection
=
RCC_PERIPHCLK_RTC
;
if
(
HAL_RCCEx_PeriphCLKConfig
(
&
PeriphClkInit
)
!=
HAL_OK
)
{
Error_Handler
();
}
}
/* USER CODE BEGIN RTC_MspInit 0 */
/* USER CODE END RTC_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_RTC_ENABLE
();
/* USER CODE BEGIN RTC_MspInit 1 */
/* USER CODE END RTC_MspInit 1 */
}
}
/**
* @brief RTC MSP De-Initialization
* This function freeze the hardware resources used in this example
* @param hrtc: RTC handle pointer
* @retval None
*/
void
HAL_RTC_MspDeInit
(
RTC_HandleTypeDef
*
hrtc
)
{
if
(
hrtc
->
Instance
==
RTC
)
{
/* USER CODE BEGIN RTC_MspDeInit 0 */
/* USER CODE END RTC_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_RTC_DISABLE
();
/* USER CODE BEGIN RTC_MspDeInit 1 */
/* USER CODE END RTC_MspDeInit 1 */
}
}
/**
* @brief This function is executed in case of error occurrence.
* @retval None
...
...
bsp/stm32/stm32mp157a-st-discovery/board/Kconfig
浏览文件 @
fe980c77
...
...
@@ -58,10 +58,23 @@ menu "Onboard Peripheral Drivers"
select RT_USING_LWIP
config BSP_USING_SDMMC
bool "Enable SDMMC (SD card)"
bool "Enable SDMMC (sd card or sdio wifi)"
default n
select RT_USING_SDIO
select RT_USING_DFS
select RT_USING_DFS_ELMFAT
if BSP_USING_SDMMC
config BSP_USING_SDIO1
bool "Enable SDIO1 (sd card)"
default n
config BSP_USING_SDIO2
select BSP_USING_RTC
bool "Enable SDIO2 (sdio wifi)"
default n
endif
config BSP_USING_RTC
bool "Enable RTC"
default n
menuconfig BSP_USING_AUDIO
...
...
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_sdio.c
浏览文件 @
fe980c77
...
...
@@ -10,11 +10,17 @@
#include "board.h"
#include "drv_sdio.h"
#ifdef BSP_USING_SDIO1
#include <dfs_fs.h>
#endif
#ifdef BSP_USING_SDMMC
//#define DRV_DEBUG
#ifdef BSP_USING_SDIO2
#define DRV_DEBUG
#endif
#define DBG_TAG "drv.sdio"
#ifdef DRV_DEBUG
#define DBG_LVL DBG_LOG
...
...
@@ -23,8 +29,9 @@
#endif
/* DRV_DEBUG */
#include <rtdbg.h>
static
SD_HandleTypeDef
hsd
;
static
struct
rt_mmcsd_host
*
host
;
static
struct
rt_mmcsd_host
*
host1
;
static
struct
rt_mmcsd_host
*
host2
;
#define SDIO_TX_RX_COMPLETE_TIMEOUT_LOOPS (100000)
#define RTHW_SDIO_LOCK(_sdio) rt_mutex_take(&_sdio->mutex, RT_WAITING_FOREVER)
...
...
@@ -47,13 +54,14 @@ struct rthw_sdio
};
/* SYSRAM SDMMC1/2 accesses */
#define SDCARD_ADDR 0x2FFC0000
#if defined(__CC_ARM) || defined(__CLANG_ARM)
rt_uint8_t
cache_buf
[
SDIO_BUFF_SIZE
]
__attribute__
((
at
(
0x2FFC0000
)));
__attribute__
((
at
(
SDCARD_ADDR
)))
static
rt_uint8_t
cache_buf
[
SDIO_BUFF_SIZE
];
#elif defined ( __GNUC__ )
static
rt_uint8_t
cache_buf
[
SDIO_BUFF_SIZE
]
__attribute__
((
section
(
".SdCardSection"
)));
#elif defined(__ICCARM__)
#pragma location=0x2FFC0000
rt_uint8_t
cache_buf
[
SDIO_BUFF_SIZE
];
#elif defined(__GNUC__)
rt_uint8_t
cache_buf
[
SDIO_BUFF_SIZE
]
__attribute__
((
at
(
0x2FFC0000
)));
#pragma location = SDCARD_ADDR
__no_init
static
rt_uint8_t
cache_buf
[
SDIO_BUFF_SIZE
];
#endif
/**
...
...
@@ -461,10 +469,20 @@ struct rt_mmcsd_host *sdio_host_create(struct stm32_sdio_des *sdio_des)
rt_memcpy
(
&
sdio
->
sdio_des
,
sdio_des
,
sizeof
(
struct
stm32_sdio_des
));
sdio
->
sdio_des
.
hw_sdio
=
(
struct
stm32_sdio
*
)
SDIO_BASE_ADDRESS
;
if
(
sdio_des
->
hsd
.
Instance
==
SDMMC1
)
{
sdio
->
sdio_des
.
hw_sdio
=
(
struct
stm32_sdio
*
)
SDIO1_BASE_ADDRESS
;
rt_event_init
(
&
sdio
->
event
,
"sdio1"
,
RT_IPC_FLAG_FIFO
);
rt_mutex_init
(
&
sdio
->
mutex
,
"sdio1"
,
RT_IPC_FLAG_FIFO
);
}
if
(
sdio_des
->
hsd
.
Instance
==
SDMMC2
)
{
sdio
->
sdio_des
.
hw_sdio
=
(
struct
stm32_sdio
*
)
SDIO2_BASE_ADDRESS
;
rt_event_init
(
&
sdio
->
event
,
"sdio2"
,
RT_IPC_FLAG_FIFO
);
rt_mutex_init
(
&
sdio
->
mutex
,
"sdio2"
,
RT_IPC_FLAG_FIFO
);
}
rt_event_init
(
&
sdio
->
event
,
"sdio"
,
RT_IPC_FLAG_FIFO
);
rt_mutex_init
(
&
sdio
->
mutex
,
"sdio"
,
RT_IPC_FLAG_FIFO
);
/* set host default attributes */
host
->
ops
=
&
ops
;
host
->
freq_min
=
400
*
1000
;
...
...
@@ -503,29 +521,83 @@ void SDMMC1_IRQHandler(void)
{
rt_interrupt_enter
();
/* Process All SDIO Interrupt Sources */
rthw_sdio_irq_process
(
host
);
rthw_sdio_irq_process
(
host
1
);
rt_interrupt_leave
();
}
void
SDMMC2_IRQHandler
(
void
)
{
/* enter interrupt */
rt_interrupt_enter
();
/* Process All SDIO Interrupt Sources */
rthw_sdio_irq_process
(
host2
);
/* leave interrupt */
rt_interrupt_leave
();
}
#ifdef BSP_USING_SDIO2
static
RTC_HandleTypeDef
hrtc
;
static
void
MX_RTC_Init
(
void
)
{
hrtc
.
Instance
=
RTC
;
hrtc
.
Init
.
HourFormat
=
RTC_HOURFORMAT_24
;
hrtc
.
Init
.
AsynchPrediv
=
127
;
hrtc
.
Init
.
SynchPrediv
=
255
;
hrtc
.
Init
.
OutPut
=
RTC_OUTPUT_DISABLE
;
hrtc
.
Instance
->
CFGR
=
0x02
<<
1
;
if
(
HAL_RTC_Init
(
&
hrtc
)
!=
HAL_OK
)
{
Error_Handler
();
}
}
static
int
LBEE5KL1DX_init
(
void
)
{
#define LBEE5KL1DX_WL_REG_ON GET_PIN(H, 4)
/* enable the WLAN REG pin */
rt_pin_mode
(
LBEE5KL1DX_WL_REG_ON
,
PIN_MODE_OUTPUT
);
rt_pin_write
(
LBEE5KL1DX_WL_REG_ON
,
PIN_HIGH
);
return
0
;
}
#endif
int
rt_hw_sdio_init
(
void
)
{
struct
stm32_sdio_des
sdio_des
;
hsd
.
Instance
=
SDMMC1
;
HAL_SD_MspInit
(
&
hsd
);
#ifdef BSP_USING_SDIO1
struct
stm32_sdio_des
sdio_des1
;
sdio_des1
.
hsd
.
Instance
=
SDMMC1
;
HAL_SD_MspInit
(
&
sdio_des1
.
hsd
);
host
=
sdio_host_create
(
&
sdio_des
);
if
(
host
==
RT_NULL
)
host
1
=
sdio_host_create
(
&
sdio_des1
);
if
(
host
1
==
RT_NULL
)
{
LOG_E
(
"host create fail"
);
return
RT_NULL
;
}
#endif
#ifdef BSP_USING_SDIO2
MX_RTC_Init
();
LBEE5KL1DX_init
();
struct
stm32_sdio_des
sdio_des2
;
sdio_des2
.
hsd
.
Instance
=
SDMMC2
;
HAL_SD_MspInit
(
&
sdio_des2
.
hsd
);
host2
=
sdio_host_create
(
&
sdio_des2
);
if
(
host2
==
RT_NULL
)
{
LOG_E
(
"host2 create fail"
);
return
RT_NULL
;
}
#endif
return
RT_EOK
;
}
INIT_DEVICE_EXPORT
(
rt_hw_sdio_init
);
#ifdef BSP_USING_SDIO1
int
mnt_init
(
void
)
{
rt_device_t
sd
=
RT_NULL
;
...
...
@@ -552,4 +624,6 @@ int mnt_init(void)
}
INIT_ENV_EXPORT
(
mnt_init
);
#endif
/* BSP_USING_SDIO1 */
#endif
/* BSP_USING_SDMMC */
bsp/stm32/stm32mp157a-st-discovery/board/ports/drv_sdio.h
浏览文件 @
fe980c77
...
...
@@ -19,11 +19,12 @@
#include <drivers/mmcsd_core.h>
#include <drivers/sdio.h>
#define SDIO_BUFF_SIZE 4096
#define SDIO_ALIGN_LEN 32
#ifndef SDIO1_BASE_ADDRESS
#define SDIO1_BASE_ADDRESS (SDMMC1)
#endif
#ifndef SDIO_BASE_ADDRESS
#define SDIO
_BASE_ADDRESS (SDMMC1
)
#ifndef SDIO
2
_BASE_ADDRESS
#define SDIO
2_BASE_ADDRESS (SDMMC2
)
#endif
#ifndef SDIO_CLOCK_FREQ
...
...
@@ -39,7 +40,7 @@
#endif
#ifndef SDIO_MAX_FREQ
#define SDIO_MAX_FREQ (
50
* 1000 * 1000)
#define SDIO_MAX_FREQ (
25
* 1000 * 1000)
#endif
#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
...
...
@@ -102,6 +103,7 @@ struct stm32_sdio_des
{
struct
stm32_sdio
*
hw_sdio
;
sdio_clk_get
clk_get
;
SD_HandleTypeDef
hsd
;
};
/* stm32 sdio dirver class */
...
...
bsp/stm32/stm32mp157a-st-discovery/project.ewp
浏览文件 @
fe980c77
...
...
@@ -232,6 +232,8 @@
<state>STM32MP157Axx</state>
<state>__LOG_TRACE_IO_</state>
<state>__RTTHREAD__</state>
<state>RT_USING_DLIBC</state>
<state>_DLIB_FILE_DESCRIPTOR</state>
<state>USE_HAL_DRIVER</state>
</option>
<option>
...
...
@@ -358,23 +360,28 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\..\..\components\dfs\filesystems\devfs</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\board\CubeMX_Config\CM4\Inc</state>
<state>$PROJ_DIR$\board\ports</state>
<state>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Core\Include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Inc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib</state>
<state>$PROJ_DIR$\board\ports\audio</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\
applications
</state>
<state>$PROJ_DIR$\..\
libraries\STM32MPxx_HAL\CMSIS\Core\I
nclude</state>
<state>$PROJ_DIR$\
board\CubeMX_Config\CM4\Inc
</state>
<state>$PROJ_DIR$\..\
..\..\components\dfs\i
nclude</state>
<state>$PROJ_DIR$\..\libraries\HAL_Drivers\config</state>
<state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\libraries\HAL_Drivers</state>
<state>$PROJ_DIR$\board\ports</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Include</state>
<state>$PROJ_DIR$\
board\ports\audio
</state>
<state>$PROJ_DIR$\
..\..\..\components\dfs\filesystems\elmfat
</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Device\ST\STM32MP1xx\Include</state>
<state>$PROJ_DIR$\..\libraries\HAL_Drivers</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Inc</state>
</option>
<option>
<name>CCStdIncCheck</name>
...
...
@@ -1309,6 +1316,8 @@
<state>STM32MP157Axx</state>
<state>__LOG_TRACE_IO_</state>
<state>__RTTHREAD__</state>
<state>RT_USING_DLIBC</state>
<state>_DLIB_FILE_DESCRIPTOR</state>
<state>USE_HAL_DRIVER</state>
</option>
<option>
...
...
@@ -1435,23 +1444,28 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\..\..\components\dfs\filesystems\devfs</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\board\CubeMX_Config\CM4\Inc</state>
<state>$PROJ_DIR$\board\ports</state>
<state>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Core\Include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Inc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib</state>
<state>$PROJ_DIR$\board\ports\audio</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\
applications
</state>
<state>$PROJ_DIR$\..\
libraries\STM32MPxx_HAL\CMSIS\Core\I
nclude</state>
<state>$PROJ_DIR$\
board\CubeMX_Config\CM4\Inc
</state>
<state>$PROJ_DIR$\..\
..\..\components\dfs\i
nclude</state>
<state>$PROJ_DIR$\..\libraries\HAL_Drivers\config</state>
<state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\libraries\HAL_Drivers</state>
<state>$PROJ_DIR$\board\ports</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Include</state>
<state>$PROJ_DIR$\
board\ports\audio
</state>
<state>$PROJ_DIR$\
..\..\..\components\dfs\filesystems\elmfat
</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Device\ST\STM32MP1xx\Include</state>
<state>$PROJ_DIR$\..\libraries\HAL_Drivers</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Inc</state>
</option>
<option>
<name>CCStdIncCheck</name>
...
...
@@ -2183,6 +2197,21 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\misc\pin.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\sdio\block_dev.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\sdio\mmcsd_core.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\sdio\sd.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\sdio\sdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\sdio\mmc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\serial\serial.c</name>
</file>
...
...
@@ -2219,6 +2248,9 @@
<file>
<name>$PROJ_DIR$\board\CubeMX_Config\CM4\Src\stm32mp1xx_hal_msp.c</name>
</file>
<file>
<name>$PROJ_DIR$\board\ports\drv_sdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\CMSIS\Device\ST\STM32MP1xx\Source\Templates\iar\startup_stm32mp15xx.s</name>
</file>
...
...
@@ -2232,6 +2264,39 @@
<name>$PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c</name>
</file>
</group>
<group>
<name>Filesystem</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\dfs\src\dfs.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\dfs\src\dfs_file.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\dfs\src\dfs_fs.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\dfs\src\dfs_posix.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\dfs\src\poll.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\dfs\src\select.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\dfs\filesystems\devfs\devfs.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\dfs_elm.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\ff.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\dfs\filesystems\elmfat\ffunicode.c</name>
</file>
</group>
<group>
<name>finsh</name>
<file>
...
...
@@ -2243,6 +2308,9 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\msh_file.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\finsh_compiler.c</name>
</file>
...
...
@@ -2309,9 +2377,6 @@
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\signal.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
</file>
...
...
@@ -2319,6 +2384,54 @@
<name>$PROJ_DIR$\..\..\..\src\timer.c</name>
</file>
</group>
<group>
<name>libc</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\unistd.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\rmtx.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c</name>
</file>
</group>
<group>
<name>Libraries</name>
<file>
...
...
@@ -2393,5 +2506,20 @@
<file>
<name>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Src\stm32mp1xx_hal_uart_ex.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Src\stm32mp1xx_ll_sdmmc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Src\stm32mp1xx_hal_sd.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Src\stm32mp1xx_ll_delayblock.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Src\stm32mp1xx_hal_rtc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\STM32MPxx_HAL\STM32MP1xx_HAL_Driver\Src\stm32mp1xx_hal_rtc_ex.c</name>
</file>
</group>
</project>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录