Solved [3.4.0b5 and 6] issue in coren2g and RRFLibraries
-
whenever i am debugging coren2g and RRFLibraries it's showing this error "pxTaskGetCurrentStackBase was not declared in this scope".
so please help me. -
@user-123 pxTaskGetCurrentStackBase is defined in the FreeRTOS project, did you add and import this project?
-
@joergs5 yes
-
@user-123 so then the RRFLibraries should find FreeRTOS and able to find the .h file. After downloading the projects of the correct version (best is to use a specific version of one tag) and unzipping them, the version number must be removed before importing the project into Eclipse. Then the project information of the projects are linked so they find each other. I'm using beta6 and it works correct.
-
@joergs5 i am following all the steps as mention in that , but in my case it shows this error.
please help me to fixed it -
@user-123 please go to this px variable, mark it and press F3, this will look up the source of the definition of px.
Did you use special characters for the project paths like dots, spaces, long path etc, so the projects may not find each others?
Sometimes it's necessary to clean the projects or even to close projects and reopen them, but finding other projects I never needed this steps.
-
@joergs5 no i am not using special characters for the project path
-
@user-123 the pxTaskGetCurrentStackBase is available in 3.4-beta6, but not in 3.3, so I suspend you're using an old FreeRTOS version. Please check download and unzip.
-
@joergs5 ok
-
@joergs5 i am press the f3 it will shows 'could not find symbol" pxTaskGetCurrentStackBase" in index.
-
@user-123 yes, this means he searches all linkes projects and cannot find the definition of the variable. Probably wrong FreeRTOS version. If you have something like a text finder, you can search FreeRTOS files for the pxTaskGetCurrentStackBase text. It should be found.
-
@joergs5 ok thank you for helping me.
-
@user-123 you're welcome. Please tell me if still unsolved.
-
@joergs5 sure
-
@joergs5 freeRTOS is work for beta5?
-
@user-123 => ok, I see, I use FreeRTOS beta 5, as there is no beta 6 tag. This works.
It's an exception that there is no common tag for all projects.
-
@joergs5 ok i am try that one
-
@joergs5 what do you mean by no common tag for all projects.
-
@user-123 I meant, in general there is a tag for all needed projects, so you see which project versions belong together. But for FreeRTOS there was probably no change between beta 5 and 6. Personally I would tag them all with beta 6, even if there was no change.
-
@joergs5 ok