Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
logo.hpp
Go to the documentation of this file.
1/**
2 * @file logo.hpp
3 * @brief ASCII art logo for boot banner
4 *
5 * Colossal font SBL logo with configurable subtitle.
6 * Brand defaults to "Libs" (library context). Define SBL_BANNER_BRAND
7 * before including to override (e.g., "Labs" for business context).
8 *
9 * Usage:
10 * #include <sbl/common/log/logo.hpp>
11 *
12 * // In banner output:
13 * SBL_LOG_OUTPUT::write(sbl::log::logo);
14 */
15#ifndef SBL_COMMON_LOG_LOGO_HPP_
16#define SBL_COMMON_LOG_LOGO_HPP_
17
18#ifndef SBL_BANNER_BRAND
19#define SBL_BANNER_BRAND "Libs"
20#endif
21
22namespace sbl::log {
23
24// clang-format off
25constexpr const char* logo_art =
26 " .d8888b. 888888b. 888\r\n"
27 "d88P Y88b888 \"88b 888\r\n"
28 "Y88b. 888 .88P 888\r\n"
29 " \"Y888b. 8888888K. 888\r\n"
30 " \"Y88b.888 \"Y88b888\r\n"
31 " \"888888 888888\r\n"
32 "Y88b d88P888 d88P888\r\n"
33 " \"Y8888P\" 8888888P\" 88888888\r\n"
34 "----------------------------\r\n";
35
36constexpr const char* logo_brand = "Sound Byte " SBL_BANNER_BRAND " ";
37// clang-format on
38
39} // namespace sbl::log
40
41#endif // SBL_COMMON_LOG_LOGO_HPP_
#define SBL_BANNER_BRAND
Definition logo.hpp:19
Logging.
Definition banner.hpp:51
constexpr const char * logo_art
Definition logo.hpp:25
constexpr const char * logo_brand
Definition logo.hpp:36