feat add lwext4 fs register

This commit is contained in:
Liu_Weichao 2022-04-19 17:25:37 +08:00
parent f1d372dcf7
commit 51dbbc2e8d
3 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,7 @@ menu "xidatong feature"
menu "config board peripheral" menu "config board peripheral"
config MOUNT_SDCARD config MOUNT_SDCARD
bool "mount cd card" bool "mount sd card"
default n default n
endmenu endmenu

View File

@ -40,6 +40,7 @@ extern int FlashW25qxxSpiDeviceInit(void);
extern int LoraSx12xxSpiDeviceInit(void); extern int LoraSx12xxSpiDeviceInit(void);
extern int FatfsInit(void); extern int FatfsInit(void);
extern int Ch376fsInit(void); extern int Ch376fsInit(void);
extern int Lwext4Init(void);
extern int LibcSystemInit(void); extern int LibcSystemInit(void);
extern int RtcNtpSyncInit(void); extern int RtcNtpSyncInit(void);
extern int MountSDCard(void); extern int MountSDCard(void);

View File

@ -95,6 +95,9 @@ struct InitSequenceDesc components_init[] =
#endif #endif
#ifdef FS_CH376 #ifdef FS_CH376
{ "ch376", Ch376fsInit }, { "ch376", Ch376fsInit },
#endif
#ifdef FS_LWEXT4
{ "lwext4", Lwext4Init },
#endif #endif
{ "libc_system", LibcSystemInit }, { "libc_system", LibcSystemInit },
#ifdef RTC_SYNC_USING_NTP #ifdef RTC_SYNC_USING_NTP