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