![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vxworks
文章平均质量分 73
BeanHuo
linkedin.com/in/bean-huo-8299b759
展开
-
wxworks DOS文件系统
#include #include void main(void){DIR * dir;struct dirent * ptr;int i;dir=opendir("/ata0a/");while((ptr=readdir(dir))!=NULL){printf("d_name: %s\n",ptr->d_name);//需要更详细的信息你可以修改该原创 2013-01-30 16:22:13 · 2431 阅读 · 0 评论 -
Vxworks下flash驱动编写流程
Vxworks下flash系统结构图:作为BSP开发人员,我们要实现的是MTD和socket两块,其它的是由文件系统自己守成的。 MTD层 该层提供Flash 设备识别,读写,擦除,地址映射函数的具体实现。该层实现由 Flash 驱动开发人员完成。该层将实现在BSP 下tffsConfig.c 以及 tffsXXX.c 文件中。其中tffsConfig.c定义有MTD原创 2013-11-22 17:12:55 · 2501 阅读 · 0 评论 -
vxworks获取系统时间编程
#include //头文件unsigned int timeLen;struct timespec tp;struct tm timeBuffer;time_t nowSec;char datetime[64];/* prepare the time stamp */(void)clock_gettime(CLOCK_REALTIME, &原创 2013-12-12 10:05:54 · 8255 阅读 · 0 评论