]> Zhao Yanbai Git Server - acecode.git/commitdiff
...
authorAceVest <zhaoyanbai@126.com>
Fri, 27 Jul 2018 07:41:36 +0000 (15:41 +0800)
committerAceVest <zhaoyanbai@126.com>
Fri, 27 Jul 2018 07:41:36 +0000 (15:41 +0800)
rtos/components/utils/CMakeLists.txt [new file with mode: 0644]
rtos/components/utils/Kconfig [new file with mode: 0644]
rtos/components/utils/Kconfig.projbuild [new file with mode: 0644]
rtos/components/utils/component.mk [new file with mode: 0644]
rtos/components/utils/debug.S [new file with mode: 0644]
rtos/components/utils/debug.c [new file with mode: 0644]
rtos/components/utils/debug.h [new file with mode: 0644]
rtos/components/utils/utils.h [new file with mode: 0644]

diff --git a/rtos/components/utils/CMakeLists.txt b/rtos/components/utils/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3328262
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/rtos/components/utils/Kconfig.projbuild b/rtos/components/utils/Kconfig.projbuild
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/rtos/components/utils/component.mk b/rtos/components/utils/component.mk
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/rtos/components/utils/debug.S b/rtos/components/utils/debug.S
new file mode 100644 (file)
index 0000000..588e5a4
--- /dev/null
@@ -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 (file)
index 0000000..05062d9
--- /dev/null
@@ -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 (file)
index 0000000..2abfbdc
--- /dev/null
@@ -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 (file)
index 0000000..e715ddf
--- /dev/null
@@ -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"