chore: First tests
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
#include "task.h"
|
||||
|
||||
#include "tasks/heartbeat_task.h"
|
||||
#include "tasks/sensor_task.h"
|
||||
#include "tasks/requester_task.h"
|
||||
#include "incphub/incphub_task.h"
|
||||
|
||||
int my_main()
|
||||
@@ -13,6 +15,8 @@ int my_main()
|
||||
|
||||
// Create tasks
|
||||
xTaskCreateStatic(heartbeat_task_main, "heartbeat", HEARTBEAT_TASK_STACK_DEPTH, NULL, HEARTBEAT_TASK_PRIORITY, _heartbeat_task_stack, &_heartbeat_task);
|
||||
xTaskCreateStatic(sensor_task_main, "sensor", SENSOR_TASK_STACK_DEPTH, NULL, SENSOR_TASK_PRIORITY, _sensor_task_stack, &_sensor_task);
|
||||
xTaskCreateStatic(requester_task_main, "requester", REQUESTER_TASK_STACK_DEPTH, NULL, REQUESTER_TASK_PRIORITY, _requester_task_stack, &_requester_task);
|
||||
xTaskCreateStatic(incphub_task_main, "incphub", INCPHUB_TASK_STACK_DEPTH, NULL, INCPHUB_TASK_PRIORITY, _incphub_task_stack, &_incphub_task);
|
||||
|
||||
// Run
|
||||
|
||||
Reference in New Issue
Block a user