Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTT的TFTP作为服务端,上传到RTT的文件保存在根目录时,RTT再打开改文件出现打开异常 #51

Open
xkf321 opened this issue Nov 6, 2020 · 0 comments

Comments

@xkf321
Copy link

xkf321 commented Nov 6, 2020

RTT的TFTP作为服务端,linux使用TFTP工具当作客户端上传文件到RTT 文件系统根目录时,显示上传成功。
再RTT的文件系统根目录也可以看见改文件,cat文件后内容也正常,但是使用open API 以绝对路径打开(/filename)打开该文件返回-1.

原因是保存文件到根目录时的判断对象错误,修改为full_path后测试正常
图片
图片

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant