robot_gary wrote on Thursday, November 15, 2007:
I just answer your questions below.
Is the demo you are compiling the one from the V4.6.1 FreeRTOS.org zip file? Did you make any changes to it?
Yes, it is, no, nothing is changed.
The error messages look like there is a linker script problem. I don’t think it is anything to do with the code size limit on the compiler as I would image you would get a straight forward about this were this the case, rather than the linker warnings. Having said that, I’m not sure if the compiler I have is code size limited or not.
You are right, After I play around the settings, I finally got the code built. I found out, 11k code space, but data memory is nearly full, 31k something like that.
But, After I downloaded that code to the target board, never work, nothing happens, so I guess I ddi not build the code right, something is wrong.
Under PIC32 linker section, I checked the "removed unused sections" to get code built, but code is not functioning.
I have tried to gauge the size of the output using pic32-size and pic32-objcopy, but with no success so far. I will try this again when I get the chance. In the mean time, if you are using the ‘official’ port, can you try turning the compiler optimization to ‘s’. The demo runs at all optimisation levels. It will be interesting to see if the linker problem persists.
Let me find out how to do so.