Bsongis/ram saving (#6685)

RAM saving. Stacks reduced to have some more RAM available than 2.2 on all boards
This commit is contained in:
Bertrand Songis
2019-08-30 15:46:57 +02:00
committed by GitHub
parent ff2cde85be
commit 2d4e98d15d
28 changed files with 271 additions and 330 deletions
+5 -5
View File
@@ -18,15 +18,15 @@
* GNU General Public License for more details.
*/
#ifndef _TASKS_ARM_H_
#define _TASKS_ARM_H_
#ifndef _TASKS_H_
#define _TASKS_H_
#include "rtos.h"
// stack sizes should be in multiples of 8 for better alignment
#define MENUS_STACK_SIZE 2000
#define MIXER_STACK_SIZE 512
#define AUDIO_STACK_SIZE 512
#define MIXER_STACK_SIZE 400
#define AUDIO_STACK_SIZE 400
#define CLI_STACK_SIZE 1000 // only consumed with CLI build option
#define MIXER_TASK_PRIO 5
@@ -55,4 +55,4 @@ inline void resetForcePowerOffRequest()
timeForcePowerOffPressed = 0;
}
#endif // _TASKS_ARM_H_
#endif // _TASKS_H_