This repository has been archived on 2024-02-12. You can view files and clone it, but cannot push or open issues or pull requests.
robosoutez-2023/app.cfg

26 lines
911 B
INI
Raw Normal View History

INCLUDE("app_common.cfg");
2023-11-09 15:24:40 +01:00
#include "app.h"
DOMAIN(TDOM_APP) {
2023-11-21 09:21:12 +01:00
CRE_TSK(MAIN_TASK, { TA_ACT, 0, main_task, TMIN_APP_TPRI + 1, STACK_SIZE, NULL });
2023-11-21 09:21:12 +01:00
CRE_TSK(SUB_TASK, { TA_NULL, 0, sub_task, TMIN_APP_TPRI, STACK_SIZE, NULL });
2023-11-21 09:21:12 +01:00
CRE_TSK(MUSIC_TASK, { TA_NULL, 0, music_task, TMIN_APP_TPRI + 3, STACK_SIZE, NULL });
CRE_TSK(CSV_TASK, { TA_NULL, 0, csv_task, TMIN_APP_TPRI + 1, STACK_SIZE, NULL });
2023-11-09 15:24:40 +01:00
// periodic task PRD_TSK_1 that will start automatically
//CRE_TSK(PRD_TSK_1, { TA_NULL, 0, periodic_task_1, PRIORITY_PRD_TSK_1, STACK_SIZE, NULL });
//EV3_CRE_CYC(CYC_PRD_TSK_1, { TA_STA, PRD_TSK_1, task_activator, PERIOD_PRD_TSK_1, 0 });
// periodic task PRD_TSK_2 that will not start automatically
//CRE_TSK(PRD_TSK_2, { TA_NULL, 0, periodic_task_2, PRIORITY_PRD_TSK_2, STACK_SIZE, NULL });
//EV3_CRE_CYC(CYC_PRD_TSK_2, { TA_NULL, PRD_TSK_2, task_activator, PERIOD_PRD_TSK_2, 0 });
}
ATT_MOD("app.o");