Hi Thomas and all,

 

I noticed there are some

 

#if !defined(__ICCARM__)

        ".syntax unified                  \n"

#endif

 

In source code, looks like “.syntax unified” is not support in IAR, is that true? If it could not be supported in a short term, we can define some wrapper such as:

 

#ifdef __ICCARM__

#define CLAIM_SYNTAX_UNIFIED “\n”

#else

#define CLAIM_SYNTAX_UNIFIED ".syntax unified                  \n"

#endif

 

 

Another question is about the:

#if defined(__ICCARM__)

#pragma required = do_schedule

#endif

 

If we claim do_schedule in the constraints, is the above “#pragma required” still needed?

 

__asm (“….  :: “i”(do_schedule));

 

We can create a patch to test this – using a constraint looks more proper.

 

Thanks.

 

/Ken