Remove the DBG_COLOR and DBG_ENABLE definition.

This commit is contained in:
armink 2019-03-06 17:07:15 +08:00
parent 85a0aaa3c2
commit 0d7ba79219
242 changed files with 223 additions and 202 deletions

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK
/* Using Hook */ /* Using Hook */

View File

@ -14,6 +14,7 @@ CONFIG_RT_THREAD_PRIORITY_32=y
CONFIG_RT_THREAD_PRIORITY_MAX=32 CONFIG_RT_THREAD_PRIORITY_MAX=32
CONFIG_RT_TICK_PER_SECOND=100 CONFIG_RT_TICK_PER_SECOND=100
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
CONFIG_RT_USING_OVERFLOW_CHECK=y CONFIG_RT_USING_OVERFLOW_CHECK=y
CONFIG_RT_DEBUG_INIT=0 CONFIG_RT_DEBUG_INIT=0
CONFIG_RT_DEBUG_THREAD=0 CONFIG_RT_DEBUG_THREAD=0

View File

@ -27,13 +27,10 @@
#include "drv_gpio.h" #include "drv_gpio.h"
#include "interrupt.h" #include "interrupt.h"
#define DBG_ENABLE
#define DBG_SECTION_NAME "GPIO" #define DBG_SECTION_NAME "GPIO"
#define DBG_LEVEL DBG_WARNING #define DBG_LEVEL DBG_WARNING
#define DBG_COLOR
#include <rtdbg.h> #include <rtdbg.h>
#define readl(addr) (*(volatile unsigned int *)(addr)) #define readl(addr) (*(volatile unsigned int *)(addr))
#define writel(value,addr) (*(volatile unsigned int *)(addr) = (value)) #define writel(value,addr) (*(volatile unsigned int *)(addr) = (value))

View File

@ -32,13 +32,12 @@
#include "drv_gpio.h" #include "drv_gpio.h"
#include "drv_clock.h" #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_LOG
// #define DBG_LEVEL DBG_INFO // #define DBG_LEVEL DBG_INFO
#define DBG_LEVEL DBG_WARNING #define DBG_LEVEL DBG_WARNING
// #define DBG_LEVEL DBG_ERROR // #define DBG_LEVEL DBG_ERROR
#define DBG_COLOR
#include <rtdbg.h> #include <rtdbg.h>
#ifdef RT_USING_SDIO #ifdef RT_USING_SDIO

View File

@ -35,14 +35,12 @@
//#define DEBUG //#define DEBUG
#define DBG_ENABLE
#define DBG_SECTION_NAME "SPI" #define DBG_SECTION_NAME "SPI"
#ifdef DEBUG #ifdef DEBUG
#define DBG_LEVEL DBG_LOG #define DBG_LEVEL DBG_LOG
#else #else
#define DBG_LEVEL DBG_WARNING #define DBG_LEVEL DBG_WARNING
#endif /* DEBUG */ #endif /* DEBUG */
#define DBG_COLOR
#include <rtdbg.h> #include <rtdbg.h>
#ifdef RT_USING_SPI #ifdef RT_USING_SPI

View File

@ -26,10 +26,8 @@
#include <rthw.h> #include <rthw.h>
#include <rtdevice.h> #include <rtdevice.h>
#define DBG_ENABLE
#define DBG_SECTION_NAME "FLASH" #define DBG_SECTION_NAME "FLASH"
#define DBG_LEVEL DBG_LOG #define DBG_LEVEL DBG_LOG
#define DBG_COLOR
#include <rtdbg.h> #include <rtdbg.h>
#define SPI_FLASH_DEVICE_NAME "spi00" #define SPI_FLASH_DEVICE_NAME "spi00"

View File

@ -14,6 +14,7 @@
#define RT_THREAD_PRIORITY_MAX 32 #define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 100 #define RT_TICK_PER_SECOND 100
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK
#define RT_DEBUG_INIT 0 #define RT_DEBUG_INIT 0
#define RT_DEBUG_THREAD 0 #define RT_DEBUG_THREAD 0

View File

@ -21,6 +21,7 @@ CONFIG_RT_USING_TIMER_SOFT=y
CONFIG_RT_TIMER_THREAD_PRIO=4 CONFIG_RT_TIMER_THREAD_PRIO=4
CONFIG_RT_TIMER_THREAD_STACK_SIZE=1024 CONFIG_RT_TIMER_THREAD_STACK_SIZE=1024
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -28,10 +28,8 @@
#include "drv_wlan.h" #include "drv_wlan.h"
#include "drv_wifi.h" #include "drv_wifi.h"
#define DBG_ENABLE
#define DBG_LEVEL DBG_INFO #define DBG_LEVEL DBG_INFO
#define DBG_SECTION_NAME "WIFI" #define DBG_SECTION_NAME "WIFI"
#define DBG_COLOR
#include <rtdbg.h> #include <rtdbg.h>
#define MAX_ADDR_LEN (6) #define MAX_ADDR_LEN (6)

View File

@ -19,6 +19,7 @@
#define RT_TIMER_THREAD_PRIO 4 #define RT_TIMER_THREAD_PRIO 4
#define RT_TIMER_THREAD_STACK_SIZE 1024 #define RT_TIMER_THREAD_STACK_SIZE 1024
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -11,6 +11,7 @@
#define RT_THREAD_PRIORITY_MAX 32 #define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 500 #define RT_TICK_PER_SECOND 500
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK
#define RT_DEBUG_INIT 0 #define RT_DEBUG_INIT 0
#define RT_DEBUG_THREAD 0 #define RT_DEBUG_THREAD 0

View File

@ -11,6 +11,7 @@ CONFIG_RT_ALIGN_SIZE=4
CONFIG_RT_THREAD_PRIORITY_MAX=32 CONFIG_RT_THREAD_PRIORITY_MAX=32
CONFIG_RT_TICK_PER_SECOND=100 CONFIG_RT_TICK_PER_SECOND=100
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
CONFIG_RT_USING_OVERFLOW_CHECK=y CONFIG_RT_USING_OVERFLOW_CHECK=y
CONFIG_RT_DEBUG_INIT=0 CONFIG_RT_DEBUG_INIT=0
# CONFIG_RT_DEBUG_THREAD is not set # CONFIG_RT_DEBUG_THREAD is not set

View File

@ -11,6 +11,7 @@
#define RT_THREAD_PRIORITY_MAX 32 #define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 100 #define RT_TICK_PER_SECOND 100
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK
#define RT_DEBUG_INIT 0 #define RT_DEBUG_INIT 0
/* RT_DEBUG_THREAD is not set */ /* RT_DEBUG_THREAD is not set */

View File

@ -19,6 +19,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -16,6 +16,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -19,6 +19,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -16,6 +16,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -19,6 +19,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -16,6 +16,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -14,6 +14,7 @@ CONFIG_RT_THREAD_PRIORITY_32=y
CONFIG_RT_THREAD_PRIORITY_MAX=32 CONFIG_RT_THREAD_PRIORITY_MAX=32
CONFIG_RT_TICK_PER_SECOND=100 CONFIG_RT_TICK_PER_SECOND=100
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
CONFIG_RT_USING_OVERFLOW_CHECK=y CONFIG_RT_USING_OVERFLOW_CHECK=y
CONFIG_RT_DEBUG_INIT=0 CONFIG_RT_DEBUG_INIT=0
CONFIG_RT_DEBUG_THREAD=0 CONFIG_RT_DEBUG_THREAD=0

View File

@ -12,6 +12,7 @@
#define RT_THREAD_PRIORITY_MAX 32 #define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 100 #define RT_TICK_PER_SECOND 100
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK
#define RT_DEBUG_INIT 0 #define RT_DEBUG_INIT 0
#define RT_DEBUG_THREAD 0 #define RT_DEBUG_THREAD 0

View File

@ -21,6 +21,7 @@ CONFIG_RT_USING_TIMER_SOFT=y
CONFIG_RT_TIMER_THREAD_PRIO=8 CONFIG_RT_TIMER_THREAD_PRIO=8
CONFIG_RT_TIMER_THREAD_STACK_SIZE=512 CONFIG_RT_TIMER_THREAD_STACK_SIZE=512
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -21,6 +21,7 @@
#define RT_TIMER_THREAD_PRIO 8 #define RT_TIMER_THREAD_PRIO 8
#define RT_TIMER_THREAD_STACK_SIZE 512 #define RT_TIMER_THREAD_STACK_SIZE 512
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* RT_DEBUG_INIT_CONFIG is not set */ /* RT_DEBUG_INIT_CONFIG is not set */
/* RT_DEBUG_THREAD_CONFIG is not set */ /* RT_DEBUG_THREAD_CONFIG is not set */
/* RT_DEBUG_SCHEDULER_CONFIG is not set */ /* RT_DEBUG_SCHEDULER_CONFIG is not set */

View File

@ -35,6 +35,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
//#define RT_DEBUG_MEM (1) //#define RT_DEBUG_MEM (1)
//#define RT_DEBUG_SCHEDULER (1) //#define RT_DEBUG_SCHEDULER (1)
//#define RT_DEBUG_IPC (1) //#define RT_DEBUG_IPC (1)

View File

@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -24,6 +24,7 @@
#define RT_USING_CPU_FFS #define RT_USING_CPU_FFS
// <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" > // <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" >
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
// <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" /> // <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" />
// #define RT_THREAD_DEBUG // #define RT_THREAD_DEBUG
// <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" /> // <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" />

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK

View File

@ -14,6 +14,7 @@ CONFIG_RT_THREAD_PRIORITY_32=y
CONFIG_RT_THREAD_PRIORITY_MAX=32 CONFIG_RT_THREAD_PRIORITY_MAX=32
CONFIG_RT_TICK_PER_SECOND=100 CONFIG_RT_TICK_PER_SECOND=100
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
CONFIG_RT_USING_OVERFLOW_CHECK=y CONFIG_RT_USING_OVERFLOW_CHECK=y
CONFIG_RT_DEBUG_INIT=0 CONFIG_RT_DEBUG_INIT=0
CONFIG_RT_DEBUG_THREAD=0 CONFIG_RT_DEBUG_THREAD=0

View File

@ -12,6 +12,7 @@
#define RT_THREAD_PRIORITY_MAX 32 #define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 100 #define RT_TICK_PER_SECOND 100
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK
#define RT_DEBUG_INIT 0 #define RT_DEBUG_INIT 0
#define RT_DEBUG_THREAD 0 #define RT_DEBUG_THREAD 0

View File

@ -19,6 +19,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -16,6 +16,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -14,6 +14,7 @@ CONFIG_RT_THREAD_PRIORITY_256=y
CONFIG_RT_THREAD_PRIORITY_MAX=256 CONFIG_RT_THREAD_PRIORITY_MAX=256
CONFIG_RT_TICK_PER_SECOND=100 CONFIG_RT_TICK_PER_SECOND=100
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
CONFIG_RT_USING_OVERFLOW_CHECK=y CONFIG_RT_USING_OVERFLOW_CHECK=y
CONFIG_RT_DEBUG_INIT=0 CONFIG_RT_DEBUG_INIT=0
CONFIG_RT_DEBUG_THREAD=0 CONFIG_RT_DEBUG_THREAD=0

View File

@ -14,6 +14,7 @@
#define RT_THREAD_PRIORITY_MAX 256 #define RT_THREAD_PRIORITY_MAX 256
#define RT_TICK_PER_SECOND 100 #define RT_TICK_PER_SECOND 100
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK
#define RT_DEBUG_INIT 0 #define RT_DEBUG_INIT 0
#define RT_DEBUG_THREAD 0 #define RT_DEBUG_THREAD 0

View File

@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=1024 CONFIG_IDLE_THREAD_STACK_SIZE=1024
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 1024 #define IDLE_THREAD_STACK_SIZE 1024
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -19,6 +19,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -16,6 +16,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -20,6 +20,7 @@
#define IDLE_THREAD_STACK_SIZE 512 #define IDLE_THREAD_STACK_SIZE 512
// <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" > // <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" >
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
// <integer name="RT_DEBUG_SCHEDULER" description="scheduler debug enable" default="0" /> // <integer name="RT_DEBUG_SCHEDULER" description="scheduler debug enable" default="0" />
// #define RT_DEBUG_SCHEDULER 1 // #define RT_DEBUG_SCHEDULER 1
// <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" /> // <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" />

View File

@ -46,9 +46,7 @@
//#define ETH_RX_DUMP //#define ETH_RX_DUMP
//#define ETH_TX_DUMP //#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 #define DBG_LEVEL DBG_INFO
#include <rtdbg.h> #include <rtdbg.h>

View File

@ -37,9 +37,7 @@
//#define ETH_RX_DUMP //#define ETH_RX_DUMP
//#define ETH_TX_DUMP //#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 #define DBG_LEVEL DBG_LOG
#include <rtdbg.h> #include <rtdbg.h>

View File

@ -14,10 +14,8 @@
#include <rthw.h> #include <rthw.h>
#include "drv_flexspi.h" #include "drv_flexspi.h"
#define DBG_ENABLE #define DBG_SECTION_NAME "Hyper"
#define DBG_SECTION_NAME "[Hyper]"
#define DBG_LEVEL DBG_LOG #define DBG_LEVEL DBG_LOG
#define DBG_COLOR
#include <rtdbg.h> #include <rtdbg.h>
#define FLEXSPI_CLOCK kCLOCK_FlexSpi #define FLEXSPI_CLOCK kCLOCK_FlexSpi

View File

@ -12,10 +12,9 @@
#include "board.h" #include "board.h"
#include <rthw.h> #include <rthw.h>
#include "drv_flexspi.h" #include "drv_flexspi.h"
#define DBG_ENABLE
#define DBG_SECTION_NAME "[FLEXSPI]" #define DBG_SECTION_NAME "FLEXSPI"
#define DBG_LEVEL DBG_LOG #define DBG_LEVEL DBG_LOG
#define DBG_COLOR
#include <rtdbg.h> #include <rtdbg.h>
#define FLEXSPI_CLOCK kCLOCK_FlexSpi #define FLEXSPI_CLOCK kCLOCK_FlexSpi

View File

@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -22,6 +22,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=1024 CONFIG_IDLE_THREAD_STACK_SIZE=1024
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
CONFIG_RT_DEBUG_INIT_CONFIG=y CONFIG_RT_DEBUG_INIT_CONFIG=y
CONFIG_RT_DEBUG_INIT=1 CONFIG_RT_DEBUG_INIT=1
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set

View File

@ -22,6 +22,7 @@
#define IDLE_THREAD_STACK_SIZE 1024 #define IDLE_THREAD_STACK_SIZE 1024
/* RT_USING_TIMER_SOFT is not set */ /* RT_USING_TIMER_SOFT is not set */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_DEBUG_INIT_CONFIG #define RT_DEBUG_INIT_CONFIG
#define RT_DEBUG_INIT 1 #define RT_DEBUG_INIT 1
/* RT_DEBUG_THREAD_CONFIG is not set */ /* RT_DEBUG_THREAD_CONFIG is not set */

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK

View File

@ -17,6 +17,7 @@
#define RT_TICK_PER_SECOND 100 #define RT_TICK_PER_SECOND 100
// <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" > // <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" >
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
// <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" /> // <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" />
// #define RT_THREAD_DEBUG // #define RT_THREAD_DEBUG
// <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" /> // <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" />

View File

@ -18,6 +18,7 @@
#define RT_TICK_PER_SECOND 100 #define RT_TICK_PER_SECOND 100
// <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" > // <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" >
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
// <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" /> // <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" />
// #define RT_THREAD_DEBUG // #define RT_THREAD_DEBUG
// <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" /> // <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" />

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* #define RT_THREAD_DEBUG */ /* #define RT_THREAD_DEBUG */
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK

View File

@ -14,6 +14,7 @@ CONFIG_RT_THREAD_PRIORITY_32=y
CONFIG_RT_THREAD_PRIORITY_MAX=32 CONFIG_RT_THREAD_PRIORITY_MAX=32
CONFIG_RT_TICK_PER_SECOND=100 CONFIG_RT_TICK_PER_SECOND=100
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
CONFIG_RT_USING_OVERFLOW_CHECK=y CONFIG_RT_USING_OVERFLOW_CHECK=y
CONFIG_RT_DEBUG_INIT=0 CONFIG_RT_DEBUG_INIT=0
CONFIG_RT_DEBUG_THREAD=0 CONFIG_RT_DEBUG_THREAD=0

View File

@ -14,6 +14,7 @@
#define RT_THREAD_PRIORITY_MAX 32 #define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 100 #define RT_TICK_PER_SECOND 100
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK
#define RT_DEBUG_INIT 0 #define RT_DEBUG_INIT 0
#define RT_DEBUG_THREAD 0 #define RT_DEBUG_THREAD 0

View File

@ -22,6 +22,7 @@
//#define RT_USING_MODULE //#define RT_USING_MODULE
// <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" > // <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" >
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
// <bool name="RT_DEBUG_INIT" description="debug init enable" default=0 /> // <bool name="RT_DEBUG_INIT" description="debug init enable" default=0 />
#define RT_DEBUG_INIT 0 #define RT_DEBUG_INIT 0
//#define RT_DEBUG_SCHEDULER 1 //#define RT_DEBUG_SCHEDULER 1

View File

@ -22,6 +22,7 @@
//#define RT_USING_MODULE //#define RT_USING_MODULE
// <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" > // <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" >
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
// <bool name="RT_DEBUG_INIT" description="debug init enable" default=0 /> // <bool name="RT_DEBUG_INIT" description="debug init enable" default=0 />
#define RT_DEBUG_INIT 0 #define RT_DEBUG_INIT 0
// <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" /> // <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" />

View File

@ -18,6 +18,7 @@
#define RT_TICK_PER_SECOND 100 #define RT_TICK_PER_SECOND 100
// <section name="RT_DEBUG" description="Kernel Debug Configuration, enable it to open assertions for run-time checking" default="true" > // <section name="RT_DEBUG" description="Kernel Debug Configuration, enable it to open assertions for run-time checking" default="true" >
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
// <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" /> // <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" />
// #define RT_THREAD_DEBUG // #define RT_THREAD_DEBUG
// <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" /> // <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" />

View File

@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -21,6 +21,7 @@ CONFIG_RT_USING_TIMER_SOFT=y
CONFIG_RT_TIMER_THREAD_PRIO=4 CONFIG_RT_TIMER_THREAD_PRIO=4
CONFIG_RT_TIMER_THREAD_STACK_SIZE=512 CONFIG_RT_TIMER_THREAD_STACK_SIZE=512
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -19,6 +19,7 @@
#define RT_TIMER_THREAD_PRIO 4 #define RT_TIMER_THREAD_PRIO 4
#define RT_TIMER_THREAD_STACK_SIZE 512 #define RT_TIMER_THREAD_STACK_SIZE 512
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -17,6 +17,7 @@
#define RT_TICK_PER_SECOND 100 #define RT_TICK_PER_SECOND 100
// <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" > // <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" >
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
// <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" /> // <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" />
// #define RT_THREAD_DEBUG // #define RT_THREAD_DEBUG
// <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" /> // <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" />

View File

@ -19,6 +19,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=1024 CONFIG_IDLE_THREAD_STACK_SIZE=1024
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -19,6 +19,7 @@
#define IDLE_THREAD_STACK_SIZE 1024 #define IDLE_THREAD_STACK_SIZE 1024
/* RT_USING_TIMER_SOFT is not set */ /* RT_USING_TIMER_SOFT is not set */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* RT_DEBUG_INIT_CONFIG is not set */ /* RT_DEBUG_INIT_CONFIG is not set */
/* RT_DEBUG_THREAD_CONFIG is not set */ /* RT_DEBUG_THREAD_CONFIG is not set */
/* RT_DEBUG_SCHEDULER_CONFIG is not set */ /* RT_DEBUG_SCHEDULER_CONFIG is not set */

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
///#define SCHEDULER_DEBUG ///#define SCHEDULER_DEBUG
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK
/* Using Hook */ /* Using Hook */

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK
/* Using Hook */ /* Using Hook */

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* #define RT_THREAD_DEBUG */ /* #define RT_THREAD_DEBUG */
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK

View File

@ -21,6 +21,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
//#define THREAD_DEBUG //#define THREAD_DEBUG
//#define SCHEDULER_DEBUG //#define SCHEDULER_DEBUG
//#define IRQ_DEBUG //#define IRQ_DEBUG

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
//#define RT_DEBUG_INIT 1 //#define RT_DEBUG_INIT 1
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK

View File

@ -19,6 +19,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -19,6 +19,7 @@
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
/* RT_USING_TIMER_SOFT is not set */ /* RT_USING_TIMER_SOFT is not set */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* RT_DEBUG_INIT_CONFIG is not set */ /* RT_DEBUG_INIT_CONFIG is not set */
/* RT_DEBUG_THREAD_CONFIG is not set */ /* RT_DEBUG_THREAD_CONFIG is not set */
/* RT_DEBUG_SCHEDULER_CONFIG is not set */ /* RT_DEBUG_SCHEDULER_CONFIG is not set */

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_DEBUG_INIT 1 #define RT_DEBUG_INIT 1
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK

View File

@ -20,6 +20,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_THREAD_DEBUG #define RT_THREAD_DEBUG
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
//#define THREAD_DEBUG //#define THREAD_DEBUG
#define SCHEDULER_DEBUG #define SCHEDULER_DEBUG
//#define IRQ_DEBUG //#define IRQ_DEBUG

View File

@ -24,6 +24,7 @@ CONFIG_RT_USING_TIMER_SOFT=y
CONFIG_RT_TIMER_THREAD_PRIO=4 CONFIG_RT_TIMER_THREAD_PRIO=4
CONFIG_RT_TIMER_THREAD_STACK_SIZE=1024 CONFIG_RT_TIMER_THREAD_STACK_SIZE=1024
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set
@ -457,35 +458,6 @@ CONFIG_RT_USING_LWP=y
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set # CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
# CONFIG_PKG_USING_HELLO is not set # CONFIG_PKG_USING_HELLO is not set
# CONFIG_PKG_USING_VI is not set # CONFIG_PKG_USING_VI is not set
#
# Privated Packages of RealThread
#
# CONFIG_PKG_USING_CODEC is not set
# CONFIG_PKG_USING_PLAYER is not set
# CONFIG_PKG_USING_PERSIMMON_SRC is not set
# CONFIG_PKG_USING_JS_PERSIMMON is not set
# CONFIG_PKG_USING_JERRYSCRIPT_WIN32 is not set
#
# Network Utilities
#
# CONFIG_PKG_USING_MDNS is not set
# CONFIG_PKG_USING_UPNP is not set
# CONFIG_PKG_USING_WICED is not set
# CONFIG_PKG_USING_CLOUDSDK is not set
# CONFIG_PKG_USING_COREMARK is not set
# CONFIG_PKG_USING_POWER_MANAGER is not set
# CONFIG_PKG_USING_RT_OTA is not set
# CONFIG_PKG_USING_RDBD_SRC is not set
# CONFIG_PKG_USING_RTINSIGHT is not set
# CONFIG_PKG_USING_SMARTCONFIG is not set
# CONFIG_PKG_USING_RTX is not set
# CONFIG_RT_USING_TESTCASE is not set
# CONFIG_PKG_USING_NGHTTP2 is not set
# CONFIG_PKG_USING_AVS is not set
# CONFIG_PKG_USING_STS is not set
# CONFIG_PKG_USING_DLMS is not set
CONFIG_SOC_VEXPRESS_A9=y CONFIG_SOC_VEXPRESS_A9=y
CONFIG_RT_USING_UART0=y CONFIG_RT_USING_UART0=y
CONFIG_RT_USING_UART1=y CONFIG_RT_USING_UART1=y

View File

@ -28,13 +28,11 @@
#include "drv_ac97.h" #include "drv_ac97.h"
#include "realview.h" #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_LOG
// #define DBG_LEVEL DBG_INFO // #define DBG_LEVEL DBG_INFO
#define DBG_LEVEL DBG_WARNING #define DBG_LEVEL DBG_WARNING
// #define DBG_LEVEL DBG_ERROR // #define DBG_LEVEL DBG_ERROR
#define DBG_COLOR
#include <rtdbg.h> #include <rtdbg.h>
#define FRAME_PERIOD_US (50) #define FRAME_PERIOD_US (50)

View File

@ -6,10 +6,7 @@
#include "interrupt.h" #include "interrupt.h"
#include "drv_keyboard.h" #include "drv_keyboard.h"
#define DBG_LEVEL DBG_LOG #define DBG_LEVEL DBG_INFO
// #define DBG_ENABLE
#define DBG_COLOR
#include "rtdbg.h" #include "rtdbg.h"
#define KEYBOARD_ADDRESS (0x10006000) #define KEYBOARD_ADDRESS (0x10006000)
@ -442,7 +439,7 @@ int rt_hw_keyboard_init(void)
pdat = rt_malloc(sizeof(struct keyboard_pl050_pdata_t)); pdat = rt_malloc(sizeof(struct keyboard_pl050_pdata_t));
if(!pdat) if(!pdat)
{ {
LOG_E("malloc memory", id); LOG_E("malloc memory failed");
return RT_ERROR; return RT_ERROR;
} }
rt_memset(pdat, 0, sizeof(struct keyboard_pl050_pdata_t)); rt_memset(pdat, 0, sizeof(struct keyboard_pl050_pdata_t));

View File

@ -7,10 +7,8 @@
#include "drv_mouse.h" #include "drv_mouse.h"
#include "drv_clcd.h" #include "drv_clcd.h"
#define DBG_LEVEL DBG_LOG #define DBG_SECTION_NAME "drv.mouse"
// #define DBG_ENABLE #define DBG_LEVEL DBG_INFO
#define DBG_COLOR
#include "rtdbg.h" #include "rtdbg.h"
#define MOUSE_ADDRESS (0x10007000) #define MOUSE_ADDRESS (0x10007000)
@ -246,7 +244,7 @@ int rt_hw_mouse_init(void)
pdat = rt_malloc(sizeof(struct mouse_pl050_pdata_t)); pdat = rt_malloc(sizeof(struct mouse_pl050_pdata_t));
if(!pdat) if(!pdat)
{ {
LOG_E("malloc memory", id); LOG_E("malloc memory failed");
return RT_ERROR; return RT_ERROR;
} }
rt_memset(pdat, 0, sizeof(struct mouse_pl050_pdata_t)); rt_memset(pdat, 0, sizeof(struct mouse_pl050_pdata_t));

View File

@ -77,10 +77,8 @@
#define PL180_CLR_DAT_END (1 << 8) #define PL180_CLR_DAT_END (1 << 8)
#define PL180_CLR_DAT_BLK_END (1 << 10) #define PL180_CLR_DAT_BLK_END (1 << 10)
#define DBG_LEVEL DBG_LOG #define DBG_SECTION_NAME "drv.sdio"
// #define DBG_ENABLE #define DBG_LEVEL DBG_INFO
#define DBG_COLOR
#include "rtdbg.h" #include "rtdbg.h"
struct sdhci_pl180_pdata_t struct sdhci_pl180_pdata_t
@ -344,10 +342,10 @@ static void mmc_request_send(struct rt_mmcsd_host *host, struct rt_mmcsd_req *re
req->cmd->err = sdhci_pl180_transfer(sdhci, &cmd, RT_NULL); req->cmd->err = sdhci_pl180_transfer(sdhci, &cmd, RT_NULL);
} }
LOG_I("cmdarg:%d", cmd.cmdarg); LOG_D("cmdarg:%d", cmd.cmdarg);
LOG_I("cmdidx:%d", cmd.cmdidx); LOG_D("cmdidx:%d", cmd.cmdidx);
LOG_I("[0]:0x%08x [1]:0x%08x [2]:0x%08x [3]:0x%08x", cmd.response[0], cmd.response[1], cmd.response[2], cmd.response[3]); LOG_D("[0]:0x%08x [1]:0x%08x [2]:0x%08x [3]:0x%08x", cmd.response[0], cmd.response[1], cmd.response[2], cmd.response[3]);
req->cmd->resp[3] = cmd.response[3]; req->cmd->resp[3] = cmd.response[3];
req->cmd->resp[2] = cmd.response[2]; req->cmd->resp[2] = cmd.response[2];
req->cmd->resp[1] = cmd.response[1]; req->cmd->resp[1] = cmd.response[1];
@ -381,7 +379,7 @@ static void mmc_set_iocfg(struct rt_mmcsd_host *host, struct rt_mmcsd_io_cfg *io
sdhci_pl180_setclock(sdhci, io_cfg->clock); sdhci_pl180_setclock(sdhci, io_cfg->clock);
sdhci_pl180_setwidth(sdhci, io_cfg->bus_width); sdhci_pl180_setwidth(sdhci, io_cfg->bus_width);
LOG_I("clock:%d bus_width:%d", io_cfg->clock, io_cfg->bus_width); LOG_D("clock:%d bus_width:%d", io_cfg->clock, io_cfg->bus_width);
} }
static const struct rt_mmcsd_host_ops ops = static const struct rt_mmcsd_host_ops ops =

View File

@ -22,6 +22,7 @@
#define RT_TIMER_THREAD_PRIO 4 #define RT_TIMER_THREAD_PRIO 4
#define RT_TIMER_THREAD_STACK_SIZE 1024 #define RT_TIMER_THREAD_STACK_SIZE 1024
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */
@ -254,12 +255,6 @@
/* samples: kernel and components samples */ /* samples: kernel and components samples */
/* Privated Packages of RealThread */
/* Network Utilities */
#define SOC_VEXPRESS_A9 #define SOC_VEXPRESS_A9
#define RT_USING_UART0 #define RT_USING_UART0
#define RT_USING_UART1 #define RT_USING_UART1

View File

@ -19,6 +19,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=512 CONFIG_IDLE_THREAD_STACK_SIZE=512
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -19,6 +19,7 @@
#define IDLE_THREAD_STACK_SIZE 512 #define IDLE_THREAD_STACK_SIZE 512
/* RT_USING_TIMER_SOFT is not set */ /* RT_USING_TIMER_SOFT is not set */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* RT_DEBUG_INIT_CONFIG is not set */ /* RT_DEBUG_INIT_CONFIG is not set */
/* RT_DEBUG_THREAD_CONFIG is not set */ /* RT_DEBUG_THREAD_CONFIG is not set */
/* RT_DEBUG_SCHEDULER_CONFIG is not set */ /* RT_DEBUG_SCHEDULER_CONFIG is not set */

View File

@ -19,6 +19,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -19,6 +19,7 @@
#define IDLE_THREAD_STACK_SIZE 256 #define IDLE_THREAD_STACK_SIZE 256
/* RT_USING_TIMER_SOFT is not set */ /* RT_USING_TIMER_SOFT is not set */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* RT_DEBUG_INIT_CONFIG is not set */ /* RT_DEBUG_INIT_CONFIG is not set */
/* RT_DEBUG_THREAD_CONFIG is not set */ /* RT_DEBUG_THREAD_CONFIG is not set */
/* RT_DEBUG_SCHEDULER_CONFIG is not set */ /* RT_DEBUG_SCHEDULER_CONFIG is not set */

View File

@ -20,6 +20,7 @@
#define IDLE_THREAD_STACK_SIZE 512 #define IDLE_THREAD_STACK_SIZE 512
// <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" > // <section name="RT_DEBUG" description="Kernel Debug Configuration" default="true" >
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
// <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" /> // <bool name="RT_THREAD_DEBUG" description="Thread debug enable" default="false" />
// #define RT_THREAD_DEBUG // #define RT_THREAD_DEBUG
// <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" /> // <bool name="RT_USING_OVERFLOW_CHECK" description="Thread stack over flow detect" default="true" />

View File

@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=1024 CONFIG_IDLE_THREAD_STACK_SIZE=1024
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

View File

@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4 #define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 1024 #define IDLE_THREAD_STACK_SIZE 1024
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* Inter-Thread communication */ /* Inter-Thread communication */

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_THREAD_DEBUG #define RT_THREAD_DEBUG
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK

View File

@ -17,6 +17,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
//#define RT_DEBUG_INIT 1 //#define RT_DEBUG_INIT 1
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK

View File

@ -2,7 +2,6 @@
#ifndef __RTTHREAD_CFG_H__ #ifndef __RTTHREAD_CFG_H__
#define __RTTHREAD_CFG_H__ #define __RTTHREAD_CFG_H__
#define RT_DEBUG
/* #define RT_DEBUG_IRQ 1 */ /* #define RT_DEBUG_IRQ 1 */
/* #define RT_DEBUG_TIMER 1 */ /* #define RT_DEBUG_TIMER 1 */
@ -29,6 +28,7 @@
/* SECTION: RT_DEBUG */ /* SECTION: RT_DEBUG */
/* Thread Debug */ /* Thread Debug */
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
/* #define RT_THREAD_DEBUG */ /* #define RT_THREAD_DEBUG */
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK

View File

@ -14,6 +14,7 @@ CONFIG_RT_THREAD_PRIORITY_32=y
CONFIG_RT_THREAD_PRIORITY_MAX=32 CONFIG_RT_THREAD_PRIORITY_MAX=32
CONFIG_RT_TICK_PER_SECOND=100 CONFIG_RT_TICK_PER_SECOND=100
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
CONFIG_RT_USING_OVERFLOW_CHECK=y CONFIG_RT_USING_OVERFLOW_CHECK=y
CONFIG_RT_DEBUG_INIT=0 CONFIG_RT_DEBUG_INIT=0
CONFIG_RT_DEBUG_THREAD=0 CONFIG_RT_DEBUG_THREAD=0

View File

@ -14,6 +14,7 @@
#define RT_THREAD_PRIORITY_MAX 32 #define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 100 #define RT_TICK_PER_SECOND 100
#define RT_DEBUG #define RT_DEBUG
#define RT_DEBUG_COLOR
#define RT_USING_OVERFLOW_CHECK #define RT_USING_OVERFLOW_CHECK
#define RT_DEBUG_INIT 0 #define RT_DEBUG_INIT 0
#define RT_DEBUG_THREAD 0 #define RT_DEBUG_THREAD 0

View File

@ -12,9 +12,6 @@
* NOTE: DO NOT include this file on the header file. * NOTE: DO NOT include this file on the header file.
*/ */
#define DBG_ENABLE
#define DBG_COLOR
#ifndef LOG_TAG #ifndef LOG_TAG
#define DBG_SECTION_NAME "drv" #define DBG_SECTION_NAME "drv"
#else #else

View File

@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256 CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set # CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set # CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set # CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set # CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

Some files were not shown because too many files have changed in this diff Show More