替换宏定义

This commit is contained in:
Meco Man 2021-11-30 10:34:42 -05:00
parent 838d1087a0
commit 04d3d13081
4 changed files with 6 additions and 3 deletions

View File

@ -137,7 +137,6 @@ menu "On-chip Peripheral Drivers"
select RT_USING_SDIO select RT_USING_SDIO
select RT_USING_DFS select RT_USING_DFS
select RT_USING_DFS_ELMFAT select RT_USING_DFS_ELMFAT
select RT_USING_LIBC
select RT_LIBC_USING_TIME select RT_LIBC_USING_TIME
default y default y

View File

@ -137,8 +137,8 @@ menu "Onboard Peripheral Drivers"
select RT_WLAN_PROT_LWIP_PBUF_FORCE select RT_WLAN_PROT_LWIP_PBUF_FORCE
select RT_USING_LWIP select RT_USING_LWIP
select RT_USING_LIBC select RT_USING_LIBC
select RT_USING_POSIX
select RT_USING_DFS select RT_USING_DFS
select DFS_USING_POSIX
select PKG_USING_FAL select PKG_USING_FAL
select PKG_USING_EASYFLASH select PKG_USING_EASYFLASH
select RT_USING_WIFI_6181_LIB select RT_USING_WIFI_6181_LIB

View File

@ -10,7 +10,7 @@ if RT_USING_CPLUSPLUS
bool "Enable c++11 threading feature support" bool "Enable c++11 threading feature support"
default n default n
select RT_USING_LIBC select RT_USING_LIBC
select RT_USING_DFS select RT_LIBC_USING_FILEIO
select RT_USING_PTHREADS select RT_USING_PTHREADS
select RT_USING_RTC select RT_USING_RTC

View File

@ -17,6 +17,10 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#ifndef DFS_USING_POSIX
#error "Please enable DFS_USING_POSIX"
#endif
struct custom_ctx struct custom_ctx
{ {
struct rym_ctx parent; struct rym_ctx parent;