#include "pico/stdlib.h"
#include "FreeRTOS.h"
#include "task.h"
#include "app.h"
Go to the source code of this file.
◆ main()
Definition at line 6 of file main.cpp.
6 {
7
8 int64_t start = to_ms_since_boot(get_absolute_time());
9 stdio_init_all();
10
12 int64_t end = to_ms_since_boot(get_absolute_time());
13 printf("[BootTimer] App constructed in %lld ms\n", end - start);
14
15 std::cout << "System Booting..." << std::endl;
16 vTaskStartScheduler();
17
18 std::cerr << "ERROR: Scheduler did not start!" << std::endl;
19 return 0;
20}