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

FreeRTOS+TCP library doesn't compile with static allocation turned on and dynamic allocation turned off #449

Open
AniruddhaKanhere opened this issue Apr 7, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@AniruddhaKanhere
Copy link
Member

AniruddhaKanhere commented Apr 7, 2022

The library can use queue and IP-task stack which was allocated statically.

Currently, the stack builds when FreeRTOS-Kernel config configSUPPORT_DYNAMIC_ALLOCATION == 1 regardless of the value of configSUPPORT_STATIC_ALLOCATION .

However, with configSUPPORT_STATIC_ALLOCATION == 1 and configSUPPORT_DYNAMIC_ALLOCATION == 0, the stack fails to build since it is using pvPortMalloc in myriad socket functions.

EDIT: Here is the forum post which led to creation of this issue: https://forums.freertos.org/t/freertos-plus-tcp-with-static-memory-allocation/14815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🏗 In Progress
Development

No branches or pull requests

2 participants