diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-01-28 13:50:04 -0500 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2022-01-29 16:11:42 +0800 |
| commit | 71ba65e7c0fdb388aa35e019fefbbb5672d39d0a (patch) | |
| tree | ece3a5249598a0cff37ba322dd1810e93cc52544 /bsp/tms320c6678/rtconfig.h | |
| parent | 909b464e783a74d1cb6c178af86d033c3d228cf0 (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.h')
| -rw-r--r-- | bsp/tms320c6678/rtconfig.h | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/bsp/tms320c6678/rtconfig.h b/bsp/tms320c6678/rtconfig.h new file mode 100644 index 0000000000..84e6488175 --- /dev/null +++ b/bsp/tms320c6678/rtconfig.h @@ -0,0 +1,122 @@ +#ifndef RT_CONFIG_H__ +#define RT_CONFIG_H__ + +/* Automatically generated file; DO NOT EDIT. */ +/* RT-Thread Configuration */ + +#define SOC_C6678 + +/* RT-Thread Kernel */ + +#define RT_NAME_MAX 8 +#define RT_USING_ARCH_DATA_TYPE +#define RT_ALIGN_SIZE 4 +#define RT_THREAD_PRIORITY_8 +#define RT_THREAD_PRIORITY_MAX 8 +#define RT_TICK_PER_SECOND 100 +//#define RT_USING_HOOK +//#define RT_USING_IDLE_HOOK +//#define RT_IDLE_HOOK_LIST_SIZE 4 +#define IDLE_THREAD_STACK_SIZE 4096 +//#define RT_DEBUG +//#define RT_DEBUG_COLOR + +/* Inter-Thread communication */ + +#define RT_USING_SEMAPHORE +#define RT_USING_MUTEX +#define RT_USING_EVENT +#define RT_USING_MAILBOX +#define RT_USING_MESSAGEQUEUE + +/* Memory Management */ + +#define RT_USING_MEMPOOL +#define RT_USING_SMALL_MEM +#define RT_USING_HEAP + +/* Kernel Device Object */ + +/* RT-Thread Components */ + +/* C++ features */ + + +/* Command shell */ + +/* Device virtual file system */ + + +/* Device Drivers */ + +/* Using WiFi */ + + +/* Using USB */ + + +/* POSIX layer and C standard library */ + + +/* Network */ + +/* Socket abstraction layer */ + + +/* light weight TCP/IP stack */ + + +/* Modbus master and slave stack */ + + +/* AT commands */ + + +/* VBUS(Virtual Software BUS) */ + + +/* Utilities */ + + +/* RT-Thread online packages */ + +/* IoT - internet of things */ + + +/* Wi-Fi */ + +/* Marvell WiFi */ + + +/* Wiced WiFi */ + + +/* IoT Cloud */ + + +/* security packages */ + + +/* language packages */ + + +/* multimedia packages */ + + +/* tools packages */ + + +/* system packages */ + + +/* peripheral libraries and drivers */ + + +/* miscellaneous packages */ + + +/* samples: kernel and components samples */ + +#include "rtconfig_project.h" + +#endif |
