aboutsummaryrefslogtreecommitdiff
path: root/test_fw/include/bringup.h
blob: 762a26af0369e7e90151444b41b662dc9e555a83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <Arduino.h>
#include <etl/span.h>

namespace ocularium::bringup {
    struct init_check
    {
        const String name;
        bool (*f)();
        bool succeeded;
    };
    
    void startup_checks(const etl::span<init_check> &checks);
    void init_buses();
    void init_pins();
    void boot_animation();
}