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
defaults.hpp File Reference

Default logger output sink and timestamp provider. More...

Detailed Description

Default logger output sink and timestamp provider.

Provides UartOutput and TimerTimestamp that wrap standard SBL driver calls. Guarded by __has_include so unit tests compile without hw headers.

When <sbl/hw/hw.hpp> is available (firmware builds), these defaults are used automatically by macros.hpp unless the application defines SBL_LOG_OUTPUT / SBL_LOG_TIMESTAMP explicitly.

Definition in file defaults.hpp.

Go to the source code of this file.

Macros

#define SBL_LOG_HW_DEFAULTS_AVAILABLE   0
 
#define SBL_LOG_USB_DEFAULTS_AVAILABLE   0
 

Macro Definition Documentation

◆ SBL_LOG_HW_DEFAULTS_AVAILABLE

#define SBL_LOG_HW_DEFAULTS_AVAILABLE   0

Definition at line 40 of file defaults.hpp.

◆ SBL_LOG_USB_DEFAULTS_AVAILABLE

#define SBL_LOG_USB_DEFAULTS_AVAILABLE   0

Definition at line 48 of file defaults.hpp.