Skip to content

[BUG]simulator下创建文件失败&使用windows的socket失败 #5708

@BreederBai

Description

@BreederBai

我的多旋翼飞控程序使用rt-thread,最近我将rtthread升级到4.1.0版本,发现无法创建文件并且无法创建socket

该问题是怎么引起的?

使用simulator bsp,创建文件失败,创建socket也失败

重现步骤

#define PARAM_FILE_NAME "/sys/param.xml" fd = open(PARAM_FILE_NAME, O_WRONLY | O_CREAT);
fd的值为-1。
代码链接

Metadata

Metadata

Assignees

No one assigned

    Labels

    BSPbugThis PR/issue is a bug in the current code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions