summaryrefslogtreecommitdiff
path: root/src/components.c
AgeCommit message (Collapse)Author
2024-11-26kernel: Optimize display format for auto init when debuggingChen Wang
When RT_DEBUGING_AUTO_INIT is enabled, kenrel will add more print message for auto init. However, the original format easily causes the kernel printing and the init function printing to be connected together, resulting in a confusing display format. For exmaple: ``` initialize lwip_system_initlwIP-2.0.3 initialized! :0 done ``` Or ``` initialize sal_init[I/sal.skt] Socket Abstraction Layer initialize success. :0 done ``` Solution: Add a carriage return to separate the kernel printing and the init function printing. After changing, the output will be: ``` initialize lwip_system_init lwIP-2.0.3 initialized! :0 done ``` Or ``` initialize sal_init [I/sal.skt] Socket Abstraction Layer initialize success. :0 done ``` Signed-off-by: Chen Wang <[email protected]>
2024-10-21分离defunctheyuanjie87
2024-02-19[kernel] fix some strict compiling warningsMeco Man
2023-11-10[debug] rename RT_DEBUGING_INIT as RT_DEBUGING_AUTO_INITMeco Man
2023-10-25🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)xqyjlj
Signed-off-by: Shell <[email protected]> Co-authored-by: Shell <[email protected]>
2023-07-22[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)Man, Jianting (Meco)
2023-06-29[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750)Shicheng Chu
2023-04-14[HUST CSE][document] Fix some comments, invalid grouping commands and ↵Xu Biang
warnings in Doxygen. 将Doxygen输入文件(由Doxyfile中的INPUT定义)中的失效Doxygen分组指令(如/*@*/和/*@}*/)更改为有效的分组指令(如/**@*/和/**@}*/);(此处只对INPUT中的文件做了修改,bsp目录下和libcpu目录下存在近万个失效的Doxygen分组指令,但由于不作为文档的输入文件且这些文件过于庞大老旧,没有对这些文件中的无效指令做修改) 将图片文件统一放入了images目录下; 修改了Doxyfile和部分Doxygen注释,使得Doxyfile能够定位到新的代码路径且不受重复实现的影响; 解决了一些注释中的参数名不匹配、参数多余/缺失等问题。
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-08-29tms320f28379d fix init (#6343)YuQi
解决 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-25[kernel] 优化内置线程命名Meco Man
main线程栈指定对齐字节数
2021-09-14[kernel] Improve code comments.guozhanxin
2021-09-10[kernel] 裁剪尾随空格guozhanxin
2021-09-10[kernel] Improve the code comment of the components.cguozhanxin
2021-06-13将defined(__CC_ARM) || defined(__CLANG_ARM) 改为 ifdef __ARMCC_VERSIONMeco Man
2021-06-10[kernel]补充endif后缀注释Meco Man
2021-03-08[kernel]auto formattedMeco Man
2021-02-07[toolchain] Added support for the TASKING toolchain.tangweikang
2020-01-15fixed whitespace characterxieyangrun
2020-01-02[src] [components] avoid compiler optimizetyustli
2019-09-11[src]解除组件初始化与使用user main的依赖yangjie
2019-07-27fix bug in Thread.cpp/Thread.h/components.c filestyustli
2019-04-15[src/components.c]remove the repetitive rt_hw_interrupt_disable() function ↵yangjie
before rtthread_startup()
2018-11-22Add smp support to RT-Thread 4.0shaojinchun
2018-11-09[Kernel] Fix typo.Bernard Xiong
2018-09-25[Kernel] Adjust the copyright informationBernard Xiong
2018-09-23[Kernel] Add ARMCC 6.x support.Bernard Xiong
2018-09-14[Kernel] Update to Apache License v2.0Bernard Xiong
Update license for RT-Thread kernel.
2018-07-31add config main thread priority[email protected]
2018-02-28没用使用RT_USING_HEAP宏时,增加一条语句用于消除此警告skawu
没用使用RT_USING_HEAP宏时,components.c文件第211行会报警告,增加一条语句用于消除此警告(使用四个空格代替TAB)
2018-02-28没用使用RT_USING_HEAP宏时,components.c文件第211行会报警告, ↵714826565
增加一条语句用于消除此警告
2017-10-15[Kernel] Add signal implementation.bernard
1. Add signal implementation; 2. Change the 'rt_uint8_t' of cmd to 'int';
2017-09-15根据documentation/coding_style_cn.txt约定 ↵emlslxl
对内核src和include目录下的文件代码进行格式化
2017-07-24Update components.cBernard Xiong
2017-07-24[kernel] use the macro definition instead of the user main threadtanek liang
2017-01-02Update components.cBluebear233
修正断言错误
2017-01-02Update components.cBluebear233
修正断言错误
2017-01-01Update components.cBluebear233
2017-01-01Update components.cBluebear233
2015-11-09[Kernel] Add rti_board_start to replace rti_start.Bernard Xiong
2015-07-29[Kernel Init] Add support to use RT_USING_USER_MAIN with IARardafu
2015-05-18[Kernel] fix the Keil MDK compiling warning.Bernard Xiong
2015-05-04[Kernel] Rename init.c to components.c in kernel to avoid same file name issue.Bernard Xiong