mirror of https://github.com/ARMmbed/mbed-os.git
drivers/SFDP should compile without mbed-trace
The library "drivers" is a core one available to bare metal. It should not depend on mbed-trace which is an optional library.pull/13430/head
parent
71eecfc7c8
commit
183ca7729c
|
@ -26,8 +26,14 @@
|
|||
|
||||
#if (DEVICE_SPI || DEVICE_QSPI)
|
||||
|
||||
#if MBED_CONF_MBED_TRACE_ENABLE
|
||||
#include "mbed-trace/mbed_trace.h"
|
||||
#define TRACE_GROUP "SFDP"
|
||||
#else // MBED_CONF_MBED_TRACE_ENABLE
|
||||
#define tr_info(...)
|
||||
#define tr_error(...)
|
||||
#define tr_debug(...)
|
||||
#endif // MBED_CONF_MBED_TRACE_ENABLE
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
Loading…
Reference in New Issue