summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries
diff options
context:
space:
mode:
authorarmink <[email protected]>2019-03-06 17:07:15 +0800
committerarmink <[email protected]>2019-03-06 17:54:30 +0800
commit0d7ba79219f939ad0dc55eb70872e11c950b0da8 (patch)
treefe8f73a1822d3cdbdd939159023023d9dff3a882 /bsp/stm32/libraries
parent85a0aaa3c2dc2f563ca25a91a00c033eddbb78d2 (diff)
Remove the DBG_COLOR and DBG_ENABLE definition.
Diffstat (limited to 'bsp/stm32/libraries')
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_log.h3
-rw-r--r--bsp/stm32/libraries/templates/stm32f0xx/.config1
-rw-r--r--bsp/stm32/libraries/templates/stm32f0xx/rtconfig.h1
-rw-r--r--bsp/stm32/libraries/templates/stm32f10x/.config1
-rw-r--r--bsp/stm32/libraries/templates/stm32f10x/rtconfig.h1
-rw-r--r--bsp/stm32/libraries/templates/stm32f4xx/.config1
-rw-r--r--bsp/stm32/libraries/templates/stm32f4xx/rtconfig.h1
-rw-r--r--bsp/stm32/libraries/templates/stm32f7xx/.config1
-rw-r--r--bsp/stm32/libraries/templates/stm32f7xx/rtconfig.h1
-rw-r--r--bsp/stm32/libraries/templates/stm32l4xx/.config1
-rw-r--r--bsp/stm32/libraries/templates/stm32l4xx/rtconfig.h1
11 files changed, 10 insertions, 3 deletions
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_log.h b/bsp/stm32/libraries/HAL_Drivers/drv_log.h
index f7461223d7..69328b368a 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_log.h
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_log.h
@@ -12,9 +12,6 @@
* NOTE: DO NOT include this file on the header file.
*/
-#define DBG_ENABLE
-#define DBG_COLOR
-
#ifndef LOG_TAG
#define DBG_SECTION_NAME "drv"
#else
diff --git a/bsp/stm32/libraries/templates/stm32f0xx/.config b/bsp/stm32/libraries/templates/stm32f0xx/.config
index 95ba89c2b8..71e677bd8d 100644
--- a/bsp/stm32/libraries/templates/stm32f0xx/.config
+++ b/bsp/stm32/libraries/templates/stm32f0xx/.config
@@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y
+CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set
diff --git a/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.h b/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.h
index 0026ccb4a8..0ed9946b4d 100644
--- a/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.h
+++ b/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.h
@@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG
+#define RT_DEBUG_COLOR
/* Inter-Thread communication */
diff --git a/bsp/stm32/libraries/templates/stm32f10x/.config b/bsp/stm32/libraries/templates/stm32f10x/.config
index 4d9fc24b34..a7356cd424 100644
--- a/bsp/stm32/libraries/templates/stm32f10x/.config
+++ b/bsp/stm32/libraries/templates/stm32f10x/.config
@@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y
+CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set
diff --git a/bsp/stm32/libraries/templates/stm32f10x/rtconfig.h b/bsp/stm32/libraries/templates/stm32f10x/rtconfig.h
index 63450a8a21..b49535ef9c 100644
--- a/bsp/stm32/libraries/templates/stm32f10x/rtconfig.h
+++ b/bsp/stm32/libraries/templates/stm32f10x/rtconfig.h
@@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG
+#define RT_DEBUG_COLOR
/* Inter-Thread communication */
diff --git a/bsp/stm32/libraries/templates/stm32f4xx/.config b/bsp/stm32/libraries/templates/stm32f4xx/.config
index 973b093b5b..e685a4fdcf 100644
--- a/bsp/stm32/libraries/templates/stm32f4xx/.config
+++ b/bsp/stm32/libraries/templates/stm32f4xx/.config
@@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y
+CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set
diff --git a/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.h b/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.h
index 8e6b709a8a..eef0a9fe47 100644
--- a/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.h
+++ b/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.h
@@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG
+#define RT_DEBUG_COLOR
/* Inter-Thread communication */
diff --git a/bsp/stm32/libraries/templates/stm32f7xx/.config b/bsp/stm32/libraries/templates/stm32f7xx/.config
index a594f088db..da5d2099bf 100644
--- a/bsp/stm32/libraries/templates/stm32f7xx/.config
+++ b/bsp/stm32/libraries/templates/stm32f7xx/.config
@@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y
+CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set
diff --git a/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.h b/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.h
index 50eb442ed8..019e9ccb3a 100644
--- a/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.h
+++ b/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.h
@@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG
+#define RT_DEBUG_COLOR
/* Inter-Thread communication */
diff --git a/bsp/stm32/libraries/templates/stm32l4xx/.config b/bsp/stm32/libraries/templates/stm32l4xx/.config
index e29aecd0c8..7349adcc55 100644
--- a/bsp/stm32/libraries/templates/stm32l4xx/.config
+++ b/bsp/stm32/libraries/templates/stm32l4xx/.config
@@ -21,6 +21,7 @@ CONFIG_RT_IDEL_HOOK_LIST_SIZE=4
CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set
CONFIG_RT_DEBUG=y
+CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set
diff --git a/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.h b/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.h
index 6ae4a7ba8a..b6055004ae 100644
--- a/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.h
+++ b/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.h
@@ -17,6 +17,7 @@
#define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG
+#define RT_DEBUG_COLOR
/* Inter-Thread communication */