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#
Assertion in bootloader.
Initialize debug output.
Print a string to debug out.
Print a string followed by a newline to debug out.
Print a character to debut out.
Print a single hex byte.
Print two hex bytes.
Print a hex word.
Print a newline.
Macro Definition Documentation#
BTL_ASSERT#
#define BTL_ASSERTValue:
(exp)
Assertion in bootloader.
61
of file platform/bootloader/debug/btl_debug.h
BTL_DEBUG_INIT#
#define BTL_DEBUG_INITValue:
()
Initialize debug output.
97
of file platform/bootloader/debug/btl_debug.h
BTL_DEBUG_PRINT#
#define BTL_DEBUG_PRINTValue:
(str)
Print a string to debug out.
99
of file platform/bootloader/debug/btl_debug.h
BTL_DEBUG_PRINTLN#
#define BTL_DEBUG_PRINTLNValue:
(str)
Print a string followed by a newline to debug out.
101
of file platform/bootloader/debug/btl_debug.h
BTL_DEBUG_PRINTC#
#define BTL_DEBUG_PRINTCValue:
(chr)
Print a character to debut out.
103
of file platform/bootloader/debug/btl_debug.h
BTL_DEBUG_PRINT_CHAR_HEX#
#define BTL_DEBUG_PRINT_CHAR_HEXValue:
(number)
Print a single hex byte.
105
of file platform/bootloader/debug/btl_debug.h
BTL_DEBUG_PRINT_SHORT_HEX#
#define BTL_DEBUG_PRINT_SHORT_HEXValue:
(number)
Print two hex bytes.
107
of file platform/bootloader/debug/btl_debug.h
BTL_DEBUG_PRINT_WORD_HEX#
#define BTL_DEBUG_PRINT_WORD_HEXValue:
(number)
Print a hex word.
109
of file platform/bootloader/debug/btl_debug.h
BTL_DEBUG_PRINT_LF#
#define BTL_DEBUG_PRINT_LFValue:
()
Print a newline.
111
of file platform/bootloader/debug/btl_debug.h