若代码中仍有 RT_USING_LIBC 与 RT_USING_POSIX 来判断添加某些头文件,则需要将这两个宏删除并细化: 1RT_USING_POSIX_FS 2RT_USING_POSIX_DEVIO --->Enable devices as file descriptors 3RT_USING_POSIX_STDIO --->Enable standard I/O devices, e.g. STDOUT_FILENO 4RT_USING_POSIX_POLL --->Enabl...
Implement delay functions as RT_USING_POSIX_DELAY Fix a bug caused by two different macro encoding methods in fcntl.h Improve IAR and KEIL's read write pile function Memory functions add error warnings when HEAP is not enabled Revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO Add RT_USING...
#if !defined(RT_USING_POSIX_DEVIO) && defined(RT_USING_DEVICE) finsh_set_device(FINSH_DEVICE_NAME); #endif #endif rt_thread_idle_init(); 2 changes: 2 additions & 0 deletions 2 bsp/bf533/startup.c Original file line numberDiff line numberDiff line change @@ -62,7 +62,9 @@ voi...
#define RT_USING_MEMPOOL #define RT_USING_MEMHEAP #define RT_MEMHEAP_FAST_MODE #define RT_USING_MEMHEAP_AS_HEAP #define RT_USING_MEMHEAP_AUTO_BINDING #define RT_USING_HEAP /* Kernel Device Object */ #define RT_USING_DEVICE #define RT_USING_CONSOLE ...
Remove RT_USING_LIBC from dfs_fs.h Move dfs back Shrink pThread to POSIX. Change DFS from POSIX to POSIX from DFS Adjust the SAL dependency Implement legacy support Revise RT_USING_POSIX_STDIO to RT_USING_POSIX_DEVIO Add macro definition restrictions to finsh set Device calls shell ...
#define MSH_USING_BUILT_IN_COMMANDS #define FINSH_USING_DESCRIPTION #define FINSH_ARG_MAX 10 #define FINSH_USING_OPTION_COMPLETION /* DFS: device virtual file system */ #define RT_USING_DFS #define DFS_USING_POSIX #define DFS_USING_WORKDIR #define DFS_FD_MAX 32 #define RT_USING_DFS_V2...
#ifdef RT_USING_POSIX_DEVIO const struct dfs_file_ops *fops; struct rt_wqueue wait_queue; #endif /* RT_USING_POSIX_DEVIO */void *user_data; /**< device private data */ };/** * block device geometry structure */ struct rt_device_blk_geometry...
Revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO Add RT_USING_POSIX_FS Separate posix into a Kconfig directory Fix the bug of _sys_read and _sys_write Modify time.h to sys/time.h Add dataqueue.c function annotation Fix armclang Cpp11 memory leak and compilation warning issues Add ipc...
Revise RT_USING_POSIX_STDIO to RT_USING_POSIX_DEVIO Add macro definition restrictions to finsh set Device calls shell Update the list_timer cmd. Update the code format kservice Optimize RT_PRINTF_LONGLONG,reduce duplicate code Simplification RT_PRINTF_PRECISION Fix the problem of rt_strlen cra...
Implement delay functions as RT_USING_POSIX_DELAY Fix a bug caused by two different macro encoding methods in fcntl.h Improve IAR and KEIL's read write pile function Memory functions add error warnings when HEAP is not enabled Revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO Add RT_USING...