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.
30 lines
863 B
30 lines
863 B
/*
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2025-11-22 Administrator the first version
|
|
*/
|
|
#ifndef _FAL_CFG_H_
|
|
#define _FAL_CFG_H_
|
|
|
|
#include <rtconfig.h>
|
|
#include <fal.h>
|
|
|
|
extern struct fal_flash_dev nor_flash0;
|
|
|
|
/* flash device table */
|
|
#define FAL_FLASH_DEV_TABLE \
|
|
{ \
|
|
&nor_flash0, \
|
|
}
|
|
|
|
/* 分区表:根据你的需求划分 */
|
|
#define FAL_PART_TABLE \
|
|
{ \
|
|
{FAL_PART_MAGIC_WORD, "sysdata","W25Q128", 0, 16 * 1024 * 1024, 0 }, \
|
|
}
|
|
|
|
#endif /* _FAL_CFG_H_ */
|
|
|