cancel
Showing results for 
Search instead for 
Did you mean: 

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

dhs
Senior

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

Daniel H Sagarra
2 REPLIES 2
GBaud.1
Associate

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 ?

 

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