You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
561 B
31 lines
561 B
/*
|
|
* Copyright (c) 2006-2025, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2025-10-18 RT-Thread first version
|
|
*/
|
|
|
|
#include <rtthread.h>
|
|
|
|
#include "dfs_fs.h"
|
|
#include <rtdbg.h>
|
|
|
|
#define DB_NAME "/rt.db"
|
|
|
|
#define DBG_TAG "main"
|
|
#define DBG_LVL DBG_LOG
|
|
#include <rtdbg.h>
|
|
|
|
|
|
|
|
int main(void)
|
|
{
|
|
rt_thread_mdelay(100); //等待sd_mount线程挂载文件系统,可使用IPC信号量完成同步,提高实时性
|
|
|
|
int db_helper_init(void);
|
|
|
|
return RT_EOK;
|
|
}
|
|
|