static clustering optimization with EWARM

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? TIA, Sven

static clustering optimization with EWARM

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.

static clustering optimization with EWARM

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!

static clustering optimization with EWARM

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.

static clustering optimization with EWARM

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