Giter Site home page Giter Site logo

Comments (4)

yourslab avatar yourslab commented on September 28, 2024

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.

RogerYaozhenyu avatar RogerYaozhenyu commented on September 28, 2024

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.

yourslab avatar yourslab commented on September 28, 2024

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.

RichardBarry avatar RichardBarry commented on September 28, 2024

Grateful if support questions can use https://forums.freertos.org - thanks.

from freertos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.