clean code in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2577 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
e10d628b47
commit
ecb226f9d4
@ -21,7 +21,6 @@
|
|||||||
void rt_init_thread_entry(void *parameter)
|
void rt_init_thread_entry(void *parameter)
|
||||||
{
|
{
|
||||||
#ifdef RT_USING_LWIP
|
#ifdef RT_USING_LWIP
|
||||||
|
|
||||||
pcap_netif_hw_init();
|
pcap_netif_hw_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -104,6 +104,7 @@
|
|||||||
|
|
||||||
/* SECTION: device file system */
|
/* SECTION: device file system */
|
||||||
#define RT_USING_DFS
|
#define RT_USING_DFS
|
||||||
|
#define DFS_FILESYSTEM_TYPES_MAX 8
|
||||||
|
|
||||||
/* DFS: ELM FATFS options */
|
/* DFS: ELM FATFS options */
|
||||||
#define RT_USING_DFS_ELMFAT
|
#define RT_USING_DFS_ELMFAT
|
||||||
@ -118,16 +119,16 @@
|
|||||||
#define RT_DFS_ELM_MAX_SECTOR_SIZE 512
|
#define RT_DFS_ELM_MAX_SECTOR_SIZE 512
|
||||||
|
|
||||||
/* DFS: network file system options */
|
/* DFS: network file system options */
|
||||||
#define RT_USING_DFS_NFS
|
/* #define RT_USING_DFS_NFS */
|
||||||
|
|
||||||
/* DFS: uffs nand file system options */
|
/* DFS: UFFS nand file system options */
|
||||||
#define RT_USING_DFS_UFFS
|
#define RT_USING_DFS_UFFS
|
||||||
/* configuration for uffs, more to see dfs_uffs.h and uffs_config.h */
|
/* configuration for uffs, more to see dfs_uffs.h and uffs_config.h */
|
||||||
#define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_HW_AUTO
|
#define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_HW_AUTO
|
||||||
/* enable this ,you need provide a mark_badblock/check_block function */
|
/* enable this ,you need provide a mark_badblock/check_block function */
|
||||||
//#define RT_UFFS_USE_CHECK_MARK_FUNCITON
|
/* #define RT_UFFS_USE_CHECK_MARK_FUNCITON */
|
||||||
|
|
||||||
/* DFS: uffs nor flash file system options */
|
/* DFS: JFFS2 nor flash file system options */
|
||||||
#define RT_USING_DFS_JFFS2
|
#define RT_USING_DFS_JFFS2
|
||||||
|
|
||||||
/* DFS: windows share directory mounted to rt-thread/dfs */
|
/* DFS: windows share directory mounted to rt-thread/dfs */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user