AT91SAM7S256 modes in FreeRTOS

Hi all!!! I’ve got two questions: 1) Could you please tell me, which ARM processor modes are used during execution of which parts of FreeRTOS. I mean which mode is used during for example scheduler execution, semaphore take etc. 2)Could you also please tell me what are the minimal stack sizes for these modes and if stacks for all processor modes has to be allocated and/or initialized?

AT91SAM7S256 modes in FreeRTOS

For stack sizes check the demo apps. Main is called from Supervisor mode. Supervisor mode and IRQ mode are both used for context switching. Tasks run in System mode.

AT91SAM7S256 modes in FreeRTOS

Thank you for information.