2023-04-06 10:52:39 +03:00

21 lines
378 B
C++

#include "chip.h"
#include "board.h"
#include "FreeRTOS.h"
#include "task.h"
#include <cr_section_macros.h>
#include "Kernel.hpp"
#include "Master.h"
int main(void)
{
SystemCoreClockUpdate();
Board_Init();
// Create a task before starting the kernel.
Master master;
// Start the real time kernel with preemption.
FreeRTOS::Kernel::startScheduler();
return 1;
}