替换宏定义
This commit is contained in:
parent
838d1087a0
commit
04d3d13081
|
@ -137,7 +137,6 @@ menu "On-chip Peripheral Drivers"
|
|||
select RT_USING_SDIO
|
||||
select RT_USING_DFS
|
||||
select RT_USING_DFS_ELMFAT
|
||||
select RT_USING_LIBC
|
||||
select RT_LIBC_USING_TIME
|
||||
default y
|
||||
|
||||
|
|
|
@ -137,8 +137,8 @@ menu "Onboard Peripheral Drivers"
|
|||
select RT_WLAN_PROT_LWIP_PBUF_FORCE
|
||||
select RT_USING_LWIP
|
||||
select RT_USING_LIBC
|
||||
select RT_USING_POSIX
|
||||
select RT_USING_DFS
|
||||
select DFS_USING_POSIX
|
||||
select PKG_USING_FAL
|
||||
select PKG_USING_EASYFLASH
|
||||
select RT_USING_WIFI_6181_LIB
|
||||
|
|
|
@ -10,7 +10,7 @@ if RT_USING_CPLUSPLUS
|
|||
bool "Enable c++11 threading feature support"
|
||||
default n
|
||||
select RT_USING_LIBC
|
||||
select RT_USING_DFS
|
||||
select RT_LIBC_USING_FILEIO
|
||||
select RT_USING_PTHREADS
|
||||
select RT_USING_RTC
|
||||
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifndef DFS_USING_POSIX
|
||||
#error "Please enable DFS_USING_POSIX"
|
||||
#endif
|
||||
|
||||
struct custom_ctx
|
||||
{
|
||||
struct rym_ctx parent;
|
||||
|
|
Loading…
Reference in New Issue