can_wizard/main/main.c
2024-02-23 12:09:39 +03:00

16 lines
449 B
C

#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "can.h"
#include "fs.h"
#include "console.h"
#include "xvprintf.h"
void app_main(void) {
init_tx_ringbuf();
xTaskCreate(can_task, "can task", 4800, NULL, CONFIG_CAN_TASK_PRIORITY, NULL);
initialize_filesystem();
initialize_console();
xTaskCreate(console_task_interactive, "console tsk int", 8000, NULL, CONFIG_CONSOLE_INT_PRIORITY, NULL);
}