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

The malloc problem with NDN-RIOT and how to communicate with computer #2

Closed
liyue75 opened this issue Oct 16, 2020 · 2 comments
Closed

Comments

@liyue75
Copy link

liyue75 commented Oct 16, 2020

请问,README里说的“However, the RIOT is one-way malloc() thus the allocated buffer never be freed.“是什么意思?
是NDN-RIOT里没有调用free吗?还是说RIOT的malloc和free有问题,不能释放内存?
还有,如果我想用一块RIOT系统的板子(比如stm32f4)运行ndn-lite-over-riot,和电脑端进行ndn通信,我该怎么做?是在嵌入式板子上用ndn-lite提供的api写一个程序吗,电脑端呢?并且一次传输的数据不能太多(README里说不支持fragment)。

@zjkmxy
Copy link

zjkmxy commented Oct 17, 2020

请问,README里说的“However, the RIOT is one-way malloc() thus the allocated buffer never be freed.“是什么意思?
是NDN-RIOT里没有调用free吗?还是说RIOT的malloc和free有问题,不能释放内存?

記憶體空間分配之後不會被釋放。參https://doc.riot-os.org/group__oneway__malloc.html 。RIOT的free函式預設無操作。

还有,如果我想用一块RIOT系统的板子(比如stm32f4)运行ndn-lite-over-riot,和电脑端进行ndn通信,我该怎么做?是在嵌入式板子上用ndn-lite提供的api写一个程序吗,电脑端呢?并且一次传输的数据不能太多(README里说不支持fragment)。

@tianyuan129

@liyue75
Copy link
Author

liyue75 commented Oct 17, 2020

@zjkmxy 感谢

@liyue75 liyue75 closed this as completed Oct 22, 2020
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

2 participants