summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2022-11-22[libc][musl] support arm-linux-musleabi toolchainMan, Jianting (Meco)
目前基本功能已经可以在QEMU上跑起来,但是pthread和内核signal选中会报冲突。先合并一版本,后续解决这些问题。
2022-11-06Merge pull request #6523 from BernardXiong/nested_mutexBernard Xiong
[Kernel] Add nested mutex feature
2022-10-25Update rtdef.hMan, Jianting (Meco)
2022-10-25[compiler] 增加SConscript依赖标志 AddDepend (#6534)Man, Jianting (Meco)
* [compiler] 增加SConscript依赖标志 AddDepend * RT_USING_NEWLIB->RT_USING_NEWLIBC RT_USING_ARM_LIBC->RT_USING_ARMLIBC * 删除过时的板载测试例程 * [gd32] 移除无用的反汇编文件 * [bsp]移除老旧bsp中对RT_USING_NEWLIBC的手动宏定义
2022-10-19[bsp][c28x] add support to not disable global interrupt in context-switch to ↵Yunjie Gu
enable zero-latency isr for critical interrupts.
2022-10-16[Kernel] Add prioceiling feature in mutexBernard Xiong
2022-10-15[Kernel] Add nested mutex featureBernard Xiong
2022-09-16[kernel] add rt_ssize_t data structureMeco Man
2022-09-09A comment has been added (#6398)lpy
2022-09-07[kernel][version] 采用新的版本宏定义Meco Man
版本控制规范:https://semver.org/ 目前的版本子号不是很规范,其中RT_VERSION甚至和VS那边造成了冲突 ```c /* RT-Thread version information */ #define RT_VERSION 4L /**< major version number */ #define RT_SUBVERSION 1L /**< minor version number */ #define RT_REVISION 1L /**< revise version number */ ``` 参考ESP32: ```c /** Major version number (X.x.x) */ #define ESP_ARDUINO_VERSION_MAJOR 2 /** Minor version number (x.X.x) */ #define ESP_ARDUINO_VERSION_MINOR 0 /** Patch version number (x.x.X) */ #define ESP_ARDUINO_VERSION_PATCH 3 ``` 建议改成: ```c /* Major version number (X.x.x) */ #define RT_VERSION_MAJOR 4 /* Minor version number (x.X.x) */ #define RT_VERSION_MINOR 2 /* Patch version number (x.x.X) */ #define RT_VERSION_PATCH 0 ```
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-28change version number to v5.0.0 (#6291)Man, Jianting (Meco)
2022-08-07[fix] the risk for function exit() when open pthread support. (#6229)xiangxistu
* [fix] the risk for function exit() when open pthread support. * [update] modify annotation from "user data" to "pthread_data".
2022-07-04add version check (#5850)thewon86
2022-07-01Revert "解决将RT_NULL当做数字0使用的问题"Meco Man
This reverts commit 6a05ddf63d1202456a37e970e5a9ab58370ed093.
2022-07-01[kernel] ↵Meco Man
统一kernel内置rt_xxx的libc和标准libc库,防止割裂越来越大
2022-06-29[enhancement] Add string information for error (#3186)a1012112796
* [enhancement]Add string information for error * Update src/kservice.c * Update src/kservice.c Co-authored-by: Man, Jianting (Meco) <[email protected]> * remove %m Signed-off-by: a1012112796 <[email protected]> Co-authored-by: Meco Man <[email protected]>
2022-06-25be friendly to macro expansion (#6101)Judd
2022-06-08attach: remove strnlen #6026Meco Man
2022-06-04[libc] remove strdup from rtthread.h (#6026)Man, Jianting (Meco)
add __STDC_LIMIT_MACROS macro in Keil add RT_USING_LIBC in simulator add _DLIB_ADD_EXTRA_SYMBOLS=0 in IAR
2022-05-25[include] fix comment for rt_container_ofrewine
2022-05-19[rtdef][libc] solve the conflicts between libc data types and rtdef data ↵Man, Jianting (Meco)
types (#5961)
2022-04-29[kernel] beautify code (#5890)Man, Jianting (Meco)
2022-04-20modify version to v4.1.1 (#5847)Man, Jianting (Meco)
2022-04-19[kernel] enable RT_DEBUG_DEVICE by default and move weak rt_hw_dealy_us in ↵Meco Man
kservice.c
2022-04-15attach #5815 (#5818)Man, Jianting (Meco)
2022-04-09[kconfig] add 64bit default value for stack size. set tick HZ as 1000 by ↵Man, Jianting (Meco)
default (#5778) * [kconfig] add 64bit default value for stack size. set tick HZ as 1000 by default * 用RT_KSERVICE_USING_STDLIB_MEMXXX代替RT_KSERVICE_USING_STDLIB_MEMCP/MEMSET 将RT_KSERVICE_USING_STDLIB设置为默认开启 * 优化rt_kprintf支持longlong的能力,默认在64位CPU为开启状态 RT_PRINTF_LONGLONG命名不规范,更改为RT_KPRINTF_USING_LONGLONG * fix commit error * fix error * 优化 system 函数 * RT_KSERVICE_USING_STDLIB_MEMXXX->RT_KSERVICE_USING_STDLIB_MEMORY
2022-04-06[device]Detailed classification of devices types (#5769)Tangyuxin
2022-04-03[rtdef] Add BGR888 pixel format (#5765)Tangyuxin
2022-03-29[update] Fix some spelling mistakes. (#5738)guo
2022-03-29[libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722)GUI
* [libcpu/aarch64] add smp support * [libcpu/aarch64] rt_hw_trap_irq get irq instead of iar when using gicv2 * [libcpu/aarch64] disable irq/fiq when switch thread * [libcpu/aarch64] add gtimer frq set and stack align * [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568
2022-03-27[device.c] fix the comment, add RT_DEBUG_LOGMeco Man
2022-03-12Nuvoton drivers updating and more LVGL supporting. (#5647)Wayne
2022-03-08优化bsp/simulator自动初始化 (#5634)张世争
2022-02-13[add] src/clock.c add hook for rt_tick_increase (#5569)tyustli
* [add] src/clock.c add hook for rt_tick_increase * [fix] clock.c rt_tick_incerase hook function * Update clock.c Co-authored-by: guo <[email protected]>
2022-01-28Merge pull request #4740 from Guozhanxin/scheduler_checkguo
2022-01-28remove outdated commentMeco Man
2022-01-26optimize codeHenson
2022-01-26add RT_DEBUG_SCHEDULER_AVAILABLE checkguozhanxin
2022-01-20the support for PSE51 (#5534)xiangxistu
* [add] the function realization of signal for posix. * [update] the posix support for armclang. * [add] the new macro "RT_USING_POSIX_TIMER". * [modify] select "RT_USING_SOFT_TIMER" when use posix'timer. * [bug] optimize the logic for the "time_xxx" functions. * [modify] use "RT_USING_POSIX_TIMER" to protect the macro definition. * [modify] error code when except happened. * [delete] the "environ" is useless at this time.
2022-01-14[kernel] remove RT_THREAD_BLOCKMeco Man
2022-01-14Merge pull request #5443 from mysterywolf/removeinitBernard Xiong
[kernel] remove .init_priority
2022-01-13Merge pull request #5503 from whj4674672/notesguo
update notes
2022-01-10Merge branch 'master' into removeinitMan, Jianting (Meco)
2022-01-10update noteswanghaijing
2022-01-08Merge branch 'master' into masterGabriel Wang
2022-01-09[kservice] 增加RT_KSERVICE_USING_STDLIB_MEMSET RT_KSERVICE_USING_STDLIB_MEMCPYMeco Man
2022-01-08[memheap] Fix 64 bit potential risktangyuxin
2022-01-07move some __on_rt_xxxxx_hook from rtdef.h to dedicated c soure filesGabriel Wang
2022-01-05Improving hooking methodsGabriel Wang
- Backward compatible with existing function-pointer based hooking method - Using RT_USING_HOOK as an on/off switch - Introducing a new low-overhead macro-based hooking method