Skip to content

Commit

Permalink
rtos: Use same main task stack size as rtos2
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrossard committed Feb 13, 2024
1 parent ad022ca commit 5b9d7de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/rtos/cmsis_os2_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
#include "RTL.h"
#include "cortex_m.h"

#define MAIN_TASK_PRIORITY (10)
#define MAIN_TASK_STACK (800)
#include "interface/tasks.h"

static uint64_t stk_main_task [MAIN_TASK_STACK / sizeof(uint64_t)];

#define TIMER_TASK_30_PRIORITY (11)
#define TIMER_TASK_30_PRIORITY (MAIN_TASK_PRIORITY + 1)
#define TIMER_TASK_STACK (136)
static uint64_t stk_timer_task[TIMER_TASK_STACK / sizeof(uint64_t)];

Expand Down

0 comments on commit 5b9d7de

Please sign in to comment.