We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好,移植FlashDB的时候看到fal_def.h里有malloc,free,realloc和calloc,malloc和free可以用pvPortMalloc和vPortFree替换,calloc搜了下源码发现没有调用,realloc在fal_partition_init()里用到了,但FreeRTOS只提供了pvPortMalloc和vPortFree,那么对realloc要如何处理。
The text was updated successfully, but these errors were encountered:
realloc需要自己实现,网上可以找到很多例子
Sorry, something went wrong.
No branches or pull requests
您好,移植FlashDB的时候看到fal_def.h里有malloc,free,realloc和calloc,malloc和free可以用pvPortMalloc和vPortFree替换,calloc搜了下源码发现没有调用,realloc在fal_partition_init()里用到了,但FreeRTOS只提供了pvPortMalloc和vPortFree,那么对realloc要如何处理。
The text was updated successfully, but these errors were encountered: