fix: libfota2的URL应该只合成一次
[LuatOS.git] / components / fal / inc / fal_cfg.h
blobc6f997bc7a020d1e0132a10da542e8dfb85fe70c
1 #ifndef _FAL_CFG_H_
2 #define _FAL_CFG_H_
4 #include "luat_base.h"
5 #include "luat_sfd.h"
6 // #include "sfud.h"
8 #define FAL_PART_HAS_TABLE_CFG
10 // #define NOR_FLASH_DEV_NAME "spiflash"
12 /* ===================== Flash device Configuration ========================= */
13 extern const struct fal_flash_dev onchip_flash;
14 //extern struct fal_flash_dev spi_flash0;
16 /* flash device table */
17 #define FAL_FLASH_DEV_TABLE \
18 { \
19 &onchip_flash \
21 /* ====================== Partition Configuration ========================== */
22 #define FAL_PART_TABLE \
23 { \
24 {FAL_PART_MAGIC_WORD, "onchip_fdb", "onchip_flash", 0, 64*1024, 0} \
27 #endif /* _FAL_CFG_H_ */