forked from xuos/xiuos
feat add lwext4 fs register
This commit is contained in:
parent
f1d372dcf7
commit
51dbbc2e8d
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue