4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-05 19:14:34 +08:00

34 Commits

Author SHA1 Message Date
YuQi
b11cb41ae7
tms320f28379d fix init (#6343)
解决 tms320f28379d bsp 启动的问题。主要改动如下。

修正context.s中汇编代码错误。在旧版的代码中,操作数为32位而汇编命令却使用了针对16位数据的命令MOV,导致程序在某些情况无法正常启动线程。
由于C28x的平台下,SP只支持16bit寻址,所以用于线程空间存放的heap以及ebss段都需要放在低16位的空间,针对这个问题修改了CMD文件。此外还增加基于CMD文件基于RAM的支持,方便调试。
新增rtdef.h中RT_SECTION,RT_USED,ALIGN和RT_WEAK的定义。旧版bsp中这些定义为空,导致INIT_EXPORT注册的函数失效。
修改程序启动代码,在程序入口直接调用原生启动代码
以上改动在LAUNCHXL-F28379D 通过了测试。
2022-08-29 15:35:23 -04:00
Meco Man
43ede1859a [kernel] 优化内置线程命名
main线程栈指定对齐字节数
2022-08-25 10:11:35 +08:00
guozhanxin
6cb093aa27 [kernel] Improve code comments. 2021-09-14 21:55:06 +08:00
guozhanxin
e562c6f24b [kernel] 裁剪尾随空格 2021-09-10 16:31:31 +08:00
guozhanxin
ce1402f773 [kernel] Improve the code comment of the components.c 2021-09-10 15:52:50 +08:00
Meco Man
921e606426 将defined(__CC_ARM) || defined(__CLANG_ARM) 改为 ifdef __ARMCC_VERSION 2021-06-13 17:36:42 +08:00
Meco Man
24b4b6cbb9 [kernel]补充endif后缀注释 2021-06-10 01:48:17 +08:00
Meco Man
678306d300 [kernel]auto formatted 2021-03-08 11:25:38 +08:00
tangweikang
b1cdc3a2cb [toolchain] Added support for the TASKING toolchain. 2021-02-07 12:06:02 +08:00
xieyangrun
618eb1c016 fixed whitespace character 2020-01-15 09:14:58 +08:00
tyustli
edfe6d5b28 [src] [components] avoid compiler optimize 2020-01-02 18:35:22 +08:00
yangjie
e7cb38c9c3 [src]解除组件初始化与使用user main的依赖 2019-09-11 12:01:24 +08:00
tyustli
85a9f5add9 fix bug in Thread.cpp/Thread.h/components.c files 2019-07-27 17:33:36 +08:00
yangjie
ce51a27f87 [src/components.c]remove the repetitive rt_hw_interrupt_disable() function before rtthread_startup() 2019-04-15 17:56:19 +08:00
shaojinchun
fc6bc1ad39 Add smp support to RT-Thread 4.0 2018-11-22 18:16:47 +08:00
Bernard Xiong
d1c177f48b [Kernel] Fix typo. 2018-11-09 09:17:43 +08:00
Bernard Xiong
ff08faf605 [Kernel] Adjust the copyright information 2018-09-25 11:06:07 +08:00
Bernard Xiong
b98a0ba804 [Kernel] Add ARMCC 6.x support. 2018-09-23 12:08:44 +08:00
Bernard Xiong
41f7f2c284 [Kernel] Update to Apache License v2.0
Update license for RT-Thread kernel.
2018-09-14 22:37:43 +08:00
hichard_ren@yeah.net
bbb879717c add config main thread priority 2018-07-31 17:05:01 +08:00
skawu
2357842f59
没用使用RT_USING_HEAP宏时,增加一条语句用于消除此警告
没用使用RT_USING_HEAP宏时,components.c文件第211行会报警告,增加一条语句用于消除此警告(使用四个空格代替TAB)
2018-02-28 22:53:47 +08:00
714826565
d4d22d34d3 没用使用RT_USING_HEAP宏时,components.c文件第211行会报警告,增加一条语句用于消除此警告 2018-02-28 16:04:30 +08:00
bernard
b27c7e4826 [Kernel] Add signal implementation.
1. Add signal implementation;
2. Change the 'rt_uint8_t' of cmd to 'int';
2017-10-15 22:31:53 +08:00
emlslxl
e521decf2e 根据documentation/coding_style_cn.txt约定 对内核src和include目录下的文件代码进行格式化 2017-09-15 11:02:24 +08:00
Bernard Xiong
b9a718b80c Update components.c 2017-07-24 08:56:49 +08:00
tanek liang
d835d91ae8 [kernel] use the macro definition instead of the user main thread 2017-07-24 00:23:35 +08:00
Bluebear233
689f316100 Update components.c
修正断言错误
2017-01-02 19:52:00 +08:00
Bluebear233
0d43ebffe1 Update components.c
修正断言错误
2017-01-02 19:43:55 +08:00
Bluebear233
8d7686179c Update components.c 2017-01-01 20:23:27 +08:00
Bluebear233
6c1d60f987 Update components.c 2017-01-01 19:24:52 +08:00
Bernard Xiong
c7bd0aca21 [Kernel] Add rti_board_start to replace rti_start. 2015-11-09 15:25:48 +08:00
ardafu
9201cbc29b [Kernel Init] Add support to use RT_USING_USER_MAIN with IAR 2015-07-29 09:58:26 +08:00
Bernard Xiong
2d27251d21 [Kernel] fix the Keil MDK compiling warning. 2015-05-18 18:09:16 +08:00
Bernard Xiong
90e95eca54 [Kernel] Rename init.c to components.c in kernel to avoid same file name issue. 2015-05-04 20:38:22 +08:00