Sound Byte Libs
0.5.1-340-gab5b79a
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
* LOGO_ART is the SBL logo in the Colossal font; LOGO_BRAND is the
6
* subtitle "Sound Byte " SBL_BANNER_BRAND. SBL_BANNER_BRAND defaults to
7
* "Libs"; define it before including to override.
8
*
9
* Usage:
10
* @code
11
* #include <sbl/common/log/logo.hpp>
12
*
13
* SBL_LOG_OUTPUT::write(sbl::log::LOGO_ART);
14
* SBL_LOG_OUTPUT::write(sbl::log::LOGO_BRAND);
15
* @endcode
16
*/
17
#ifndef SBL_COMMON_LOG_LOGO_HPP_
18
#define SBL_COMMON_LOG_LOGO_HPP_
19
20
#ifndef SBL_BANNER_BRAND
21
#define SBL_BANNER_BRAND "Libs"
22
#endif
23
24
namespace
sbl::log
{
25
26
// clang-format off
27
constexpr
const
char
* LOGO_ART =
28
" .d8888b. 888888b. 888\r\n"
29
"d88P Y88b888 \"88b 888\r\n"
30
"Y88b. 888 .88P 888\r\n"
31
" \"Y888b. 8888888K. 888\r\n"
32
" \"Y88b.888 \"Y88b888\r\n"
33
" \"888888 888888\r\n"
34
"Y88b d88P888 d88P888\r\n"
35
" \"Y8888P\" 8888888P\" 88888888\r\n"
36
"----------------------------\r\n"
;
37
38
constexpr
const
char
* LOGO_BRAND =
"Sound Byte "
SBL_BANNER_BRAND
" "
;
39
// clang-format on
40
41
}
// namespace sbl::log
42
43
#endif
// SBL_COMMON_LOG_LOGO_HPP_
sbl::log
Logging.
Definition
banner.hpp:53
src
sbl
common
log
logo.hpp
Generated by
1.9.8