Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Macros
defaults.hpp File Reference

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

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SBL_LOG_HW_DEFAULTS_AVAILABLE   0
 
#define SBL_LOG_USB_DEFAULTS_AVAILABLE   0
 

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.

Macro Definition Documentation

◆ SBL_LOG_HW_DEFAULTS_AVAILABLE

#define SBL_LOG_HW_DEFAULTS_AVAILABLE   0

Definition at line 39 of file defaults.hpp.

◆ SBL_LOG_USB_DEFAULTS_AVAILABLE

#define SBL_LOG_USB_DEFAULTS_AVAILABLE   0

Definition at line 47 of file defaults.hpp.