FreeRTOS on ADUC7026 with Keil Debugger

nobody wrote on Tuesday, October 18, 2005:

Hello,
I am trying to port FreeRTOS on a ADUC7026 . To do that, i fisrt want to simulate  two tasks running on FreeRTOS on the ADUC7026. I use Keil Debugger as development and simulation platform.

I have a strange Error in task.c when compiling :

…\…\SOURCE\TASKS.C(912): error C197: inline-asm: undefined identifier.

Hier is the code at the line 912:
    STEPPING THROUGH HERE USING A DEBUGGER CAN CAUSE BIG PROBLEMS IF THE
            DEBUGGER ALLOWS INTERRUPTS TO BE PROCESSED. */
            portDISABLE_INTERRUPTS();

Could somebody understand what happens? Thank you in advance

rtel wrote on Tuesday, October 18, 2005:

Hi,

A couple of questions:

1) How did you create the Keil project.  Have you based it on the existing Keil LPC project?

2) Are you using ARM or THUMB mode?  The existing Keil project allows you to switch between the two depending on the KEIL_THUMB_INTERWORK definition (amongst others).  How portDISABLE_INTERRUPTS() works is very different between the ARM and THUMB builds.

Regards.

nobody wrote on Tuesday, October 18, 2005:

Oh my God, i have taken the ARM mode but setted "use Thumb mode" in the configuration. When i dont set it, i cause a memory overflow.
I started with the existing Keil LPC project.
Thank you very much. ich have to start every things again
Best regards
-Emeric