static clustering optimization with EWARM

nobody wrote on Wednesday, February 21, 2007:

Dear All,

I’ve seen that the port of FreeRTOS for SAM7X excludes the “static clustering” optimization for the Release Build while including all other optimizations.

I also experience problems with this optimization in a flash programming routine for SAM7S.

Is there anybody here who could explain to me what the problem with this kind of optimization could be?


nobody wrote on Thursday, February 22, 2007:

As I recall when looking into this, the manual explains it quite clearly.  The static clustering option optimizes the output but clustering - statically.  What more do you need to know, LOL.

nobody wrote on Thursday, February 22, 2007:

I’d like to know WHY this optimization is disabled in the SAM7X port - because it could indicate to me why I experience the problems that I have using this optimization.

I’ve read the manual but obviously overlook the consequences that this optimization has on the code I wrote.

Smug comments generally do not help anybody!

nobody wrote on Thursday, February 22, 2007:

Hey sorry if offence caused.  I was not trying to be smug.  In fact the opposite.  I was saying rather sarcastically that the IAR manual does not provide any useful information on what it does.

nobody wrote on Thursday, February 22, 2007:

Oh sorry, then I just got you wrong.
Anyhow - this optimization is quite effective, so doing without is a somewhat awkward.