Any reason that the tasks FreeRTOS are executed in ‘system’ mode instead of user mode? Tried searching for this kind of topic but could not find a convincing one.. I apologize if this question is repeated.. In case I don’t want to give a task permission to disable/enable interrupts, then the task should obviously run in User mode. Thanks, Girish
FreeRTOS for ARM7 always runs tasks in System mode. These ports are really old. FreeRTOS for Cortex has two ports, the first runs all tasks in System mode like the ARM7 port, the second called FreeRTOS MPU can have tasks in privileged or unprivileged mode. I don’t think many people use the MPU version though. I don’t know how maintained it is.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.