FreeRTOS tasks.c file not indexing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FreeRTOS tasks.c file not indexing

1,609件の閲覧回数
alannilsson
Contributor II

In all of my projects using FreeRTOS, the source file tasks.c does not get indexed properly.

All of the symbols show up properly in the project browser but while browsing the file, syntax highlighting & function hyperlinking do not work.

It appears that hovering works, i.e. macro's show correct expansion, but command/windows - clicking does not jump to definition.  Same for functions.

In all projects it is always and only the tasks.c source file.

 

Any idea's anyone?

0 件の賞賛
返信
7 返答(返信)

1,579件の閲覧回数
alannilsson
Contributor II

Progress.....  

That setting was not checked already.  Checking it, building - nothing.  Unchecking it, building - nothing.

Command click on the file itself and select 'Index -> Refresh all Files' - nothing.  Command click and select 'Index -> Create Parser Log File' created a log file listing all of the symbols in the file.  After creating the log file, now the hyperlinking to function/macro definitions is working.  However, syntax highlighting is still not working.

0 件の賞賛
返信

1,543件の閲覧回数
ErichStyger
Senior Contributor V

Hi @alannilsson ,

not sure, but have you changed the scalability settings? I touch on this item (especially around FreeRTOS tasks.c) in my classes and labs at the Lucerne University.

You question reminded me that I maybe should write a short tutorial about it:

https://mcuoneclipse.com/2020/10/31/freertos-and-eclipse-indexer-for-5k-lines-source-files/

Maybe this is what you are facing and this would be the same time the solution too?

 

I hope this helps,

Erich

1,511件の閲覧回数
alannilsson
Contributor II

And we have a winner!!!  Thanks Erich.

BTW, great work on mcuoneclipse, lots of good nuggets there!

1,503件の閲覧回数
ErichStyger
Senior Contributor V

Hi @alannilsson ,

>>And we have a winner!!!  Thanks Erich.

>>BTW, great work on mcuoneclipse, lots of good nuggets there!

Thanks :-), glad to hear it solved your problem.

 

Erich

0 件の賞賛
返信

1,586件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi @alannilsson 

 

Could you please try to disable the project specific settings?

I checked the frdmk64f_freertos_i2c demo in my side, It can work after I uncheck 'Enable project specific settings'.

danielchen_0-1604054312418.png

 

Regards

Daniel

0 件の賞賛
返信

1,574件の閲覧回数
alannilsson
Contributor II

Not only is the syntax highlighting not working, but breakpoints do not show up in the gutter for this file and only this file.

Clicking on the gutter (line number) creates a breakpoint, but it does not show up as a checkmark in the gutter

0 件の賞賛
返信

1,555件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

 

Yes, when I import the frdmk64f_freertos_i2c demo into MCUXpresso IDE 11.2.1.  file tasks.c not indexing, and breakpoints not working.  the file size is quite large, 179K.   after I uncheck ' 'Enable project specific settings'',   'Index -> Refresh all Files' , rebuild,     indexing and breakpoints are working on my side.

 

If this issue still there, please refer to @ErichStyger 's  document:  Fixing the Eclipse Index.

https://mcuoneclipse.com/2012/03/20/fixing-the-eclipse-index/

 

Regards

Daniel