I am using freertos 5.0.
I am using MPLAB 8.10, dspic33 and C30 3.10 from Microchip.
armag1234 raised the issue with -fomit-frame-pointers in http://sourceforge.net/forum/forum.php?thread_id=1888310&forum_id=382005 for which I had asked for my info. But no reply…
So, I will ask the group these questions:
1. Why must -fomit-frame-pointers be used for freertos compilation? It seems to me that if there is a need to decouple the gcc frame pointer for freertos so it can perform context switching then why is this option ONLY set for the specific freertos module(s) that deal with the switch?
2. Better yet, since the context switch is so important, especially for speed why don’t we have the context switch module in an assembler module? (I could write one if that would help.)
3. Do we have to use -fomit-frame-pointers on ALL our gcc modules in the entire load? If so, why (see Q1).
4. When I use -O3 gcc optimization on the freertos src the system acts strangely. I’m still looking in to why… Does anyone have any input on this?