[rtdbg] Change all DBG_SECTION_NAME to new format.
This commit is contained in:
parent
541925195f
commit
6cd8658dad
|
@ -28,7 +28,7 @@
|
|||
#include "interrupt.h"
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[GPIO]"
|
||||
#define DBG_SECTION_NAME "GPIO"
|
||||
#define DBG_LEVEL DBG_WARNING
|
||||
#define DBG_COLOR
|
||||
#include <rtdbg.h>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "drv_clock.h"
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[MMC]"
|
||||
#define DBG_SECTION_NAME "MMC"
|
||||
// #define DBG_LEVEL DBG_LOG
|
||||
// #define DBG_LEVEL DBG_INFO
|
||||
#define DBG_LEVEL DBG_WARNING
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#define SPI_BUS_MAX_CLK (30 * 1000 * 1000)
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[SPI]"
|
||||
#define DBG_SECTION_NAME "SPI"
|
||||
#define DBG_LEVEL DBG_WARNING
|
||||
#define DBG_COLOR
|
||||
#include <rtdbg.h>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <rtdevice.h>
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[FLASH]"
|
||||
#define DBG_SECTION_NAME "FLASH"
|
||||
#define DBG_LEVEL DBG_LOG
|
||||
#define DBG_COLOR
|
||||
#include <rtdbg.h>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
//#define ETH_TX_DUMP
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[ETH]"
|
||||
#define DBG_SECTION_NAME "ETH"
|
||||
#define DBG_COLOR
|
||||
#define DBG_LEVEL DBG_INFO
|
||||
#include <rtdbg.h>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
//#define ETH_TX_DUMP
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[ETH]"
|
||||
#define DBG_SECTION_NAME "ETH"
|
||||
#define DBG_COLOR
|
||||
#define DBG_LEVEL DBG_LOG
|
||||
#include <rtdbg.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <rtthread.h>
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[PHY]"
|
||||
#define DBG_SECTION_NAME "PHY"
|
||||
#define DBG_COLOR
|
||||
#define DBG_LEVEL DBG_LOG
|
||||
#include <rtdbg.h>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "realview.h"
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[PL041]"
|
||||
#define DBG_SECTION_NAME "PL041"
|
||||
// #define DBG_LEVEL DBG_LOG
|
||||
// #define DBG_LEVEL DBG_INFO
|
||||
#define DBG_LEVEL DBG_WARNING
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#define PIO_THRESHOLD 64 /* use pio mode if data length < PIO_THRESHOLD */
|
||||
|
||||
#define DEBUG_ENABLE
|
||||
#define DEBUG_SECTION_NAME "[SDIO]"
|
||||
#define DEBUG_SECTION_NAME "SDIO"
|
||||
#define DEBUG_LEVEL DBG_INFO
|
||||
// #define DEBUG_LEVEL DBG_LOG
|
||||
#define DEBUG_COLOR
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <dfs.h>
|
||||
|
||||
// #define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[ DFS]"
|
||||
#define DBG_SECTION_NAME "DFS"
|
||||
#define DBG_COLOR
|
||||
#define DBG_LEVEL DBG_LOG
|
||||
#include <rtdbg.h>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
// #define DEBUG_ENABLE
|
||||
#define DEBUG_LEVEL DBG_LOG
|
||||
#define DBG_SECTION_NAME "[UART]"
|
||||
#define DBG_SECTION_NAME "UART"
|
||||
#define DEBUG_COLOR
|
||||
#include <rtdbg.h>
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "lwp.h"
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[LWP]"
|
||||
#define DBG_SECTION_NAME "LWP"
|
||||
#define DBG_COLOR
|
||||
#define DBG_LEVEL DBG_WARNING
|
||||
#include <rtdbg.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <lwp.h>
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[LWPMEM]"
|
||||
#define DBG_SECTION_NAME "LWPMEM"
|
||||
#define DBG_COLOR
|
||||
#define DBG_LEVEL DBG_WARNING
|
||||
#include <rtdbg.h>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <lwp_syscall.h>
|
||||
|
||||
#define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[LWP_CALL]"
|
||||
#define DBG_SECTION_NAME "LWP_CALL"
|
||||
#define DBG_COLOR
|
||||
#define DBG_LEVEL DBG_WARNING
|
||||
#include <rtdbg.h>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#endif
|
||||
|
||||
// #define DBG_ENABLE
|
||||
#define DBG_SECTION_NAME "[SIGN]"
|
||||
#define DBG_SECTION_NAME "SIGN"
|
||||
#define DBG_COLOR
|
||||
#define DBG_LEVEL DBG_LOG
|
||||
#include <rtdbg.h>
|
||||
|
|
Loading…
Reference in New Issue