Comments (4)
That is just the nature of the code - The taskpool requires memory to be allocated both statically and dynamically. However, the taskpool is being deprecated in our coming-soon LTS release by rewriting our libraries to not depend on it.
As for the linking error, could you please provide the error so we can help you debug? Perhaps, you must define both of these macros in FreeRTOSConfig.h
:
#define configSUPPORT_DYNAMIC_ALLOCATION 1
#define configSUPPORT_STATIC_ALLOCATION 1
from freertos.
yes, it could be linked success, after i defined configSUPPORT_STATIC_ALLOCATION 1 at FreeRTOSConfig.h . i just confused that this is not follow the freertos memory management guidance. it seems that taskpool does not support dynamic memory managment.
BTW. if taskpool is being deprecated . will other library provide the same feature? thanks.
from freertos.
Other libraries will provide the same features, but tasks will be allocated by the application. This way, all memory management will be up to the user. If you need a mechanism for creating tasks in your application, I suggest taking a look here.
from freertos.
Grateful if support questions can use https://forums.freertos.org - thanks.
from freertos.
Related Issues (20)
- [BUG] HOT 4
- [BUG] Posix Gcc Demo Create Task Failed using cmake HOT 2
- [BUG] va_arg process error HOT 4
- [BUG] FULL_DEMO of CORTEX_M3_MPS2_QEMU_GCC doesn't work sometimes HOT 4
- Task suspending itself can remove itself from termination list HOT 6
- [DOC] Missing dependencies on Posix/Linux Simulator Demo for FreeRTOS HOT 2
- [Feature Request] Ability to Query Task Notification Status (pending or not) HOT 7
- FreeRTOS CLI - parameter with spaces HOT 2
- [BUG] Cellular demo doesn't build on windows HOT 7
- [BUG] Incorrect use of memset() in demo code HOT 2
- [Feature Request] Interruptible Blocking Statements HOT 4
- [DOC]
- [DOC] Where are the best practices? HOT 3
- FreeRTOS & Sparc V8 HOT 1
- [DOC] Documentation of non-obvious behaviour of mutex priority dis-inheritance HOT 8
- Initialize task error value to zero when creating the TCB of a new task HOT 3
- [BUG] Wrong conditions in mqtt_pkcs11_demo_helpers.c HOT 2
- [Feature Request] <replace with your title>
- [Feature Request] cancellable xTimerPendFunctionCall HOT 6
- [DOC] freertos.org directs to midway-auth.amazon.com HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freertos.