[rtdbg] Change all DBG_SECTION_NAME to new format.

This commit is contained in:
armink 2018-07-11 10:23:19 +08:00
parent 541925195f
commit 6cd8658dad
15 changed files with 15 additions and 15 deletions

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>