From 12ae1cf80e255dd0c3a85e2ced845b1969ae4d58 Mon Sep 17 00:00:00 2001 From: armink Date: Thu, 29 Dec 2016 11:05:49 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E3=80=90=E5=AE=8C=E5=96=84=E3=80=91?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E8=AF=B4=E6=98=8E=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: armink --- cm_backtrace/cmb_cfg.h | 2 +- demo/non_os/stm32f10x/components/cm_backtrace/cmb_cfg.h | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cm_backtrace/cmb_cfg.h b/cm_backtrace/cmb_cfg.h index e88583f..f33ba88 100644 --- a/cm_backtrace/cmb_cfg.h +++ b/cm_backtrace/cmb_cfg.h @@ -39,7 +39,7 @@ /* #define CMB_OS_PLATFORM_TYPE CMB_OS_PLATFORM_RTT or CMB_OS_PLATFORM_UCOSII or CMB_OS_PLATFORM_UCOSIII or CMB_OS_PLATFORM_FREERTOS */ /* cpu platform type, must config by user */ #define CMB_CPU_PLATFORM_TYPE /* CMB_CPU_ARM_CORTEX_M0 or CMB_CPU_ARM_CORTEX_M3 or CMB_CPU_ARM_CORTEX_M4 or CMB_CPU_ARM_CORTEX_M7 */ -/* enable dump stack infomation */ +/* enable dump stack information */ /* #define CMB_USING_DUMP_STACK_INFO */ /* language of print information */ /* #define CMB_PRINT_LANGUAGE CMB_PRINT_LANGUAGE_ENGLISH(default) or CMB_PRINT_LANUUAGE_CHINESE */ diff --git a/demo/non_os/stm32f10x/components/cm_backtrace/cmb_cfg.h b/demo/non_os/stm32f10x/components/cm_backtrace/cmb_cfg.h index e80a331..2806dd1 100644 --- a/demo/non_os/stm32f10x/components/cm_backtrace/cmb_cfg.h +++ b/demo/non_os/stm32f10x/components/cm_backtrace/cmb_cfg.h @@ -29,12 +29,13 @@ #ifndef _CMB_CFG_H_ #define _CMB_CFG_H_ +/* print line, must config by user */ #define cmb_println(...) printf(__VA_ARGS__);printf("\r\n") -/* enable bare metal(non-os) platform */ +/* enable bare metal(no OS) platform */ #define CMB_USING_BARE_METAL_PLATFORM -/* cpu platform type */ +/* cpu platform type, must config by user */ #define CMB_CPU_PLATFORM_TYPE CMB_CPU_ARM_CORTEX_M3 -/* enable dump stack infomation */ +/* enable dump stack information */ #define CMB_USING_DUMP_STACK_INFO /* language of print information */ #define CMB_PRINT_LANGUAGE CMB_PRINT_LANUUAGE_ENGLISH