@@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2016-2017 Armink (armink.ztl@gmail.com)
|
Copyright (c) 2016-2018 Armink (armink.ztl@gmail.com)
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
a copy of this software and associated documentation files (the
|
a copy of this software and associated documentation files (the
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# CmBacktrace: ARM Cortex-M 系列 MCU 错误追踪库
|
# CmBacktrace: ARM Cortex-M 系列 MCU 错误追踪库
|
||||||
|
|
||||||
[](https://github.com/armink/CmBacktrace/releases/latest) [](https://github.com/armink/CmBacktrace/compare/1.0.0...master) [](https://raw.githubusercontent.com/armink/CmBacktrace/master/LICENSE)
|
[](https://github.com/armink/CmBacktrace/releases/latest) [](https://github.com/armink/CmBacktrace/compare/1.0.0...master) [](https://raw.githubusercontent.com/armink/CmBacktrace/master/LICENSE)
|
||||||
|
|
||||||
## 0、CmBacktrace 是什么
|
## 0、CmBacktrace 是什么
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* This file is part of the CmBacktrace Library.
|
* This file is part of the CmBacktrace Library.
|
||||||
*
|
*
|
||||||
* Copyright (c) 2016-2017, Armink, <armink.ztl@gmail.com>
|
* Copyright (c) 2016-2018, Armink, <armink.ztl@gmail.com>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
/* library software version number */
|
/* library software version number */
|
||||||
#define CMB_SW_VERSION "1.1.2"
|
#define CMB_SW_VERSION "1.2.0"
|
||||||
|
|
||||||
#define CMB_CPU_ARM_CORTEX_M0 0
|
#define CMB_CPU_ARM_CORTEX_M0 0
|
||||||
#define CMB_CPU_ARM_CORTEX_M3 1
|
#define CMB_CPU_ARM_CORTEX_M3 1
|
||||||
@@ -301,7 +301,6 @@ if (!(EXPR)) \
|
|||||||
#include <ucos_ii.h>
|
#include <ucos_ii.h>
|
||||||
#elif (CMB_OS_PLATFORM_TYPE == CMB_OS_PLATFORM_UCOSIII)
|
#elif (CMB_OS_PLATFORM_TYPE == CMB_OS_PLATFORM_UCOSIII)
|
||||||
#include <os.h>
|
#include <os.h>
|
||||||
//TODO ´ý²âÊÔ
|
|
||||||
#elif (CMB_OS_PLATFORM_TYPE == CMB_OS_PLATFORM_FREERTOS)
|
#elif (CMB_OS_PLATFORM_TYPE == CMB_OS_PLATFORM_FREERTOS)
|
||||||
#include <FreeRTOS.h>
|
#include <FreeRTOS.h>
|
||||||
extern uint32_t *vTaskStackAddr(void);/* need to modify the FreeRTOS/tasks source code */
|
extern uint32_t *vTaskStackAddr(void);/* need to modify the FreeRTOS/tasks source code */
|
||||||
|
|||||||
Reference in New Issue
Block a user