From 5077fec0348e717fa93bd1879548fed03fcae52e Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Thu, 24 Oct 2024 00:25:25 -0400 Subject: test_fw: refactor --- test_fw/include/bringup.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test_fw/include/bringup.h (limited to 'test_fw/include/bringup.h') 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 +#include + +namespace ocularium::bringup { + struct init_check + { + const String name; + bool (*f)(); + bool succeeded; + }; + + void startup_checks(const etl::span &checks); + void init_buses(); + void init_pins(); + void boot_animation(); +} -- cgit v1.3.1