Skip to content

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

Open
@AniruddhaKanhere

Description

@AniruddhaKanhere

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions