Skip to main content
Explorer II
April 28, 2023
Question

Selected test cannot be mapped to a symbol name and grayed code .

  • April 28, 2023
  • 1 reply
  • 1497 views

Despite the USE_STATIC_ALLOCATION is defined to 1, code is showed in gray, I added a break point on gray section and stoped well.

Down below the sequence to found the path to marco definition:

app_azure_rtos.c include app_azure_rtos.h this include app_azure_rtos_config.h this one has the sentence : #define USE_STATIC_ALLOCATION        1


_legacyfs_online_stmicro_images_0693W00000bizr7QAA.png 


_legacyfs_online_stmicro_images_0693W00000bizrMQAQ.png
_legacyfs_online_stmicro_images_0693W00000bizrCQAQ.png

    This topic has been closed for replies.

    1 reply

    Explorer
    March 18, 2024

    I have the same problem when I try to make a project based on STM32U5 evaluation board and enabling the ThreadX middleware.

    Is this a bug ?

     

    Graduate II
    October 29, 2024

    Hello,

    this problem now occurs very often. I don't know why Eclipse could not see definitions in nested include files.

    Now I am using STM32Cube Version: 1.14.1, Eclipse 11.3.0.x

    Rebuilding or refreshing index files did never helped me.

     

    What I have found - only solution which helped me, is to delete project from workspace (without deleting files on disc of course) and then import once again.  But if you need to do it 2 or 3 times per hour it is not good solution...

    Does anybody have some better solution ?

    Regards

    Radim