aboutsummaryrefslogtreecommitdiff
path: root/test_fw/include/bringup.h
diff options
context:
space:
mode:
Diffstat (limited to 'test_fw/include/bringup.h')
-rw-r--r--test_fw/include/bringup.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/test_fw/include/bringup.h b/test_fw/include/bringup.h
new file mode 100644
index 0000000..762a26a
--- /dev/null
+++ b/test_fw/include/bringup.h
@@ -0,0 +1,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();
+}