Sapphire SoC DS Sapphire SoC UG Sapphire HP SoC DS Sapphire HP SoC UG RISC-V Embedded IDE UG Board Support Package
Loading...
Searching...
No Matches
Configuration & Macros

Overview

User Configuration and Logic Macros.

Note
This section checks userDef.h for configuration.
  • If DEBUG_MODE is 1, macros are expanded to print logic.
  • If DEBUG_MODE is 0, macros are optimized out (empty).

Macros

#define BSP_ASSERT(cond, msg)
#define LOG_INFO(debug, fmt, ...)
#define LOG_WARN(debug, fmt, ...)
#define LOG_ERR(debug, fmt, ...)

Macro Definition Documentation

◆ BSP_ASSERT

#define BSP_ASSERT ( cond,
msg )

#include <debug.h>

Value:
((void)0)

Definition at line 236 of file debug.h.

◆ LOG_ERR

#define LOG_ERR ( debug,
fmt,
... )

#include <debug.h>

Value:
((void)0)

Definition at line 239 of file debug.h.

◆ LOG_INFO

#define LOG_INFO ( debug,
fmt,
... )

#include <debug.h>

Value:
((void)0)

Definition at line 237 of file debug.h.

◆ LOG_WARN

#define LOG_WARN ( debug,
fmt,
... )

#include <debug.h>

Value:
((void)0)

Definition at line 238 of file debug.h.