From: AceVest Date: Fri, 27 Jul 2018 07:41:36 +0000 (+0800) Subject: ... X-Git-Url: http://zhaoyanbai.com/repos/named.html?a=commitdiff_plain;h=686248bd930a0cb22de7a30459d507966dbce3e8;p=acecode.git ... --- diff --git a/rtos/components/utils/CMakeLists.txt b/rtos/components/utils/CMakeLists.txt new file mode 100644 index 0000000..3328262 --- /dev/null +++ b/rtos/components/utils/CMakeLists.txt @@ -0,0 +1,5 @@ +ADD_LIBRARY(utils STATIC + debug.c + debug.S +) + diff --git a/rtos/components/utils/Kconfig b/rtos/components/utils/Kconfig new file mode 100644 index 0000000..e69de29 diff --git a/rtos/components/utils/Kconfig.projbuild b/rtos/components/utils/Kconfig.projbuild new file mode 100644 index 0000000..e69de29 diff --git a/rtos/components/utils/component.mk b/rtos/components/utils/component.mk new file mode 100644 index 0000000..e69de29 diff --git a/rtos/components/utils/debug.S b/rtos/components/utils/debug.S new file mode 100644 index 0000000..588e5a4 --- /dev/null +++ b/rtos/components/utils/debug.S @@ -0,0 +1,6 @@ +.global asm_debug +asm_debug: + nop + nop + nop + ret diff --git a/rtos/components/utils/debug.c b/rtos/components/utils/debug.c new file mode 100644 index 0000000..05062d9 --- /dev/null +++ b/rtos/components/utils/debug.c @@ -0,0 +1,13 @@ +/* + * ------------------------------------------------------------------------ + * File Name: debug.c + * Author: Zhao Yanbai + * 2018-07-07 14:02:11 Saturday CST + * Description: none + * ------------------------------------------------------------------------ + */ + +int debug() { + + return 0; +} diff --git a/rtos/components/utils/debug.h b/rtos/components/utils/debug.h new file mode 100644 index 0000000..2abfbdc --- /dev/null +++ b/rtos/components/utils/debug.h @@ -0,0 +1,14 @@ +/* + * ------------------------------------------------------------------------ + * File Name: debug.h + * Author: Zhao Yanbai + * 2018-07-26 15:47:46 Thursday CST + * Description: none + * ------------------------------------------------------------------------ + */ + +#pragma once + +void debug(); + +void asm_debug(); diff --git a/rtos/components/utils/utils.h b/rtos/components/utils/utils.h new file mode 100644 index 0000000..e715ddf --- /dev/null +++ b/rtos/components/utils/utils.h @@ -0,0 +1,12 @@ +/* + * ------------------------------------------------------------------------ + * File Name: ../components/utils/utils.h + * Author: Zhao Yanbai + * 2018-07-27 15:35:19 星期五 CST + * Description: none + * ------------------------------------------------------------------------ + */ + +#pragma once + +#include "debug.h"