summaryrefslogtreecommitdiff
path: root/bsp/tms320c6678/rtconfig_project.h
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2022-01-28 13:50:04 -0500
committerBernard Xiong <[email protected]>2022-01-29 16:11:42 +0800
commit71ba65e7c0fdb388aa35e019fefbbb5672d39d0a (patch)
treeece3a5249598a0cff37ba322dd1810e93cc52544 /bsp/tms320c6678/rtconfig_project.h
parent909b464e783a74d1cb6c178af86d033c3d228cf0 (diff)
add new bsp tms320c6678
原始提交PR:https://gitee.com/rtthread/rt-thread/pulls/372 提交者:https://gitee.com/wei-handong ---------------------- 在TI公司C6000 DSP处理器上成功移植rt-thread操作系统;主要在libcpu/ti-dsp/c6x添加keystone架构底层代码,在bsp/ti-c6678添加bsp工程,该工程已在本人的开发板上成功运行 * 添加TMS320C6678处理器,keystone架构底层代码 * 添加支持中断栈部分代码,修改格式 * 修改汇编rt_hw_context_switch_to处关于时间槽的使用;修改格式 * 修改使用C语言构建任务栈帧,清除fls和ffs对<c6x.h>文件的依赖 * 修改bsp tms320c6678工程,并测试 * 删除依赖TI的KeyStone_common.c文件 * 添加编译说明 * update bsp/ti-tms320c6678/README.md. * format code Co-authored-by: Huang bo <[email protected]> Co-authored-by: hdwei <[email protected]> Co-authored-by: bernard <[email protected]> Co-authored-by: rtthread-bot <[email protected]> Co-authored-by: Meco Man <[email protected]>
Diffstat (limited to 'bsp/tms320c6678/rtconfig_project.h')
-rw-r--r--bsp/tms320c6678/rtconfig_project.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/bsp/tms320c6678/rtconfig_project.h b/bsp/tms320c6678/rtconfig_project.h
new file mode 100644
index 0000000000..104f3139c7
--- /dev/null
+++ b/bsp/tms320c6678/rtconfig_project.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2006-2022, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2019-03-27 xuzhuoyi the first version
+ */
+
+#ifndef __RTCONFIG_PROJECT_H__
+#define __RTCONFIG_PROJECT_H__
+
+typedef signed char rt_int8_t; /**< 8bit integer type */
+typedef signed short rt_int16_t; /**< 16bit integer type */
+typedef signed long rt_int32_t; /**< 32bit integer type */
+typedef signed long long rt_int64_t; /**< 64bit integer type */
+typedef unsigned char rt_uint8_t; /**< 8bit unsigned integer type */
+typedef unsigned short rt_uint16_t; /**< 16bit unsigned integer type */
+typedef unsigned long rt_uint32_t; /**< 32bit unsigned integer type */
+typedef unsigned long long rt_uint64_t; /**< 64bit unsigned integer type */
+
+#endif