20#ifdef CONFIG_OVE_BOARD
39 return from_rc(ove_board_init());
48 return ove_board_name();
55inline const struct ove_board_desc *
desc()
57 return ove_board_desc();
Strong ove::Error type, Result<T> alias, and std::error_code interop for the oveRTOS C++ binding.
Thin C++ wrappers around the oveRTOS board description API.
Definition board.hpp:23
Result< void > init() noexcept
Initialises the board hardware (clocks, pin-mux, etc.).
Definition board.hpp:37
const char * name()
Returns the human-readable board name.
Definition board.hpp:46
const struct ove_board_desc * desc()
Returns a pointer to the board descriptor structure.
Definition board.hpp:55
Result< void > from_rc(int rc) noexcept
Lifts a substrate rc-code into a Result<void>.
Definition error.hpp:254
std::expected< T, Error > Result
std::expected-based result alias.
Definition error.hpp:139
Common type definitions and concepts for the C++ wrapper layer.