Debug#
Debug Component.
This Component provides the bootloader with support for debugging functions. The Component implements two types of debugging functionality:
Defining SL_DEBUG_ASSERT enables assertions on compile-time configurable parameters in the bootloader
Defining SL_DEBUG_PRINT enables debug prints at strategic points in the code.
Macros#
#define
BTL_ASSERT (exp)
Assertion in bootloader.
#define
BTL_DEBUG_INIT ()
Initialize debug output.
#define
BTL_DEBUG_PRINT (str)
Print a string to debug out.
#define
BTL_DEBUG_PRINTLN (str)
Print a string followed by a newline to debug out.
#define
BTL_DEBUG_PRINTC (chr)
Print a character to debut out.
#define
BTL_DEBUG_PRINT_CHAR_HEX (number)
Print a single hex byte.
#define
BTL_DEBUG_PRINT_SHORT_HEX (number)
Print two hex bytes.
#define
BTL_DEBUG_PRINT_WORD_HEX (number)
Print a hex word.
#define
BTL_DEBUG_PRINT_LF ()
Print a newline.