Commit Graph

162 Commits

Author SHA1 Message Date
Yonggang Luo
66b2bcc080 RT_TIMER_CTRL_SET_TIME only accept rt_tick_t, pass rt_tick_t instead int/rt_int32_t 2025-09-24 18:12:36 +08:00
Chen Wang
8e9872a554 doxygen: group name all in lowcase
This patch only updated the groups defined in documentation/0.doxygen.

Other groups will be moved into documentation/0.doxygen and updated at
that time.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-06-25 14:02:28 +08:00
Chen Wang
c40b79037c doxygen: add prefix for groups (#9991)
Some checks failed
pkgs_test / change (push) Has been skipped
AutoTestCI / components/cpp11 (push) Has been cancelled
AutoTestCI / kernel/atomic (push) Has been cancelled
AutoTestCI / kernel/atomic/riscv64 (push) Has been cancelled
AutoTestCI / kernel/atomic_c11 (push) Has been cancelled
AutoTestCI / kernel/atomic_c11/riscv64 (push) Has been cancelled
AutoTestCI / kernel/device (push) Has been cancelled
AutoTestCI / kernel/ipc (push) Has been cancelled
AutoTestCI / kernel/irq (push) Has been cancelled
AutoTestCI / kernel/mem (push) Has been cancelled
AutoTestCI / kernel/mem/riscv64 (push) Has been cancelled
AutoTestCI / kernel/thread (push) Has been cancelled
AutoTestCI / kernel/timer (push) Has been cancelled
AutoTestCI / rtsmart/aarch64 (push) Has been cancelled
AutoTestCI / rtsmart/arm (push) Has been cancelled
AutoTestCI / rtsmart/riscv64 (push) Has been cancelled
AutoTestCI / components/utest (push) Has been cancelled
RT-Thread BSP Static Build Check / ESP32C3 (push) Has been cancelled
RT-Thread BSP Static Build Check / Infineon_TI_microchip (push) Has been cancelled
RT-Thread BSP Static Build Check / RT-Thread Online Packages (STM32F407 RT-Spark) (push) Has been cancelled
RT-Thread BSP Static Build Check / RTduino/Arduino Libraries (Raspberry Pico) (push) Has been cancelled
RT-Thread BSP Static Build Check / RTduino/Arduino Libraries (STM32F412 Nucleo) (push) Has been cancelled
RT-Thread BSP Static Build Check / aarch64 (push) Has been cancelled
RT-Thread BSP Static Build Check / gd32_n32_apm32 (push) Has been cancelled
RT-Thread BSP Static Build Check / hpmicro (push) Has been cancelled
RT-Thread BSP Static Build Check / i386-unknown (push) Has been cancelled
RT-Thread BSP Static Build Check / llvm-arm (push) Has been cancelled
RT-Thread BSP Static Build Check / mips (push) Has been cancelled
RT-Thread BSP Static Build Check / nordic(yml) (push) Has been cancelled
RT-Thread BSP Static Build Check / nuvoton (push) Has been cancelled
RT-Thread BSP Static Build Check / nxp_renesas (push) Has been cancelled
RT-Thread BSP Static Build Check / others_at32_hc32_ht32 (push) Has been cancelled
RT-Thread BSP Static Build Check / riscv-none (push) Has been cancelled
RT-Thread BSP Static Build Check / riscv64-unknown (push) Has been cancelled
RT-Thread BSP Static Build Check / simulator (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32_f2_f4 (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32_f7_g0_h7_mp15_u5_h5_wb5 (push) Has been cancelled
RT-Thread BSP Static Build Check / stm32l4_f0_f1 (push) Has been cancelled
BSP compilation with more drivers / BSP Compilation with More Drivers (push) Has been cancelled
doc_doxygen / doxygen_doc generate (push) Has been cancelled
doc_doxygen / deploy (push) Has been cancelled
* doxygen: add prefix for groups

Add "group_" prefix to doxygen group names. This makes
it easier to grep with group name later.

This patch only modifies the groups defined in the pathes
of INPUT of documentation/Doxyfile:

INPUT = . \
        ../src \
        ../include \
        ../components/finsh \
        ../components/drivers/include/drivers \
        ../components/drivers/clk \
        ../components/dfs/dfs_v2/src \
        ../components/dfs/dfs_v2/include

Other groups are not touched.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>

* ci: fixed error report when run file_check.py

Such as:
- "please delete extra space at the end of this line."
- "the RT-Thread error code should return negative value. e.g. return
  -RT_ERROR"

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>

---------

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-02-15 12:15:19 +08:00
zms123456
08221b54d0 [kernel][mutex] fix bug of thread exit without releasing mutex & add error check log 2024-09-11 18:03:43 -04:00
zms123456
9631f04abe [utest]add mutex_pi_tc
* add mutex_pi
* fix assertion error when thread wakeup while waiting mutex
2024-09-06 17:44:02 -04:00
Shell
d2160d352c fixup: ipc: protect taken_list on shared lock
为什么提交这份PR (why to submit this PR)
Issue: using iperf server with sshd together and the kernel will get stuck occasionally.

taken_list is accessed from other mutex when updating priority.

你的解决方案是什么 (what is your solution)
protect taken_list on shared lock, but not on mutex local spinlock.

Signed-off-by: Shell <smokewood@qq.com>
2024-09-03 22:06:16 -04:00
Shell
dfd8ccf262 feat: kernel/libcpu: fit into ilp32d 2024-09-01 15:12:34 -04:00
Shell
83e95bdff4 sync smart & dfs (#8672)
Signed-off-by: xqyjlj <xqyjlj@126.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-03-28 23:42:56 +08:00
BreederBai
cb154ae30a [kservice]:修复关闭RT_USING_CONSOLE和RT_USING_FINSH编译有警告的BUG (#8575) 2024-03-03 23:12:35 +08:00
Shell
71560bafb5 🎯 Sync smart & scheduler codes (#8537)
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-02-23 17:49:15 +08:00
Meco Man
2748a6ada4 [kernel] fix some strict compiling warnings 2024-02-19 01:56:21 -05:00
Shell
e7880a9713 [kernel] support for hook list
Signed-off-by: Shell <smokewood@qq.com>
2024-01-02 19:42:46 +08:00
xqyjlj
48c78ba4e0 🐞 fix: fix rt_thread_delay, assert, deadlock (#8366) 2023-12-27 20:36:39 +08:00
geniusgogo
3dfafcd1d9 add semaphore max value control. (#8390) 2023-12-21 10:31:27 +08:00
xqyjlj
3283f54c7a 🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: Shell <smokewood@qq.com>
2023-10-25 20:31:25 +08:00
Meco Man
35231eb116 [kernel] fix interruptible typo 2023-09-19 00:45:02 -04:00
zhkag
0b9a808cca [posix]修复消息队列返回长度异常 (#8014) 2023-09-08 18:15:03 +08:00
Shell
b1b21ddd2b [src] bug fix in ipc.c (#7972)
Signed-off-by: Shell <smokewood@qq.com>
2023-08-23 12:20:14 +08:00
yby
a2fae26d32 [kernel][mutex] 去除mutex中的递归 2023-08-03 18:08:08 -04:00
Meco Man
237bbfd968 [debug] remove RT_DEBUG_xxx
remove RT_DEBUG_THREAD RT_DEBUG_SCHEDULER RT_DEBUG_IPC RT_DEBUG_TIMER RT_DEBUG_IRQ RT_DEBUG_MEM RT_DEBUG_SLAB RT_DEBUG_MEMHEAP
2023-07-09 00:19:29 -04:00
Rbb666
67b38d1aad [kernel]支持多个线程接收同一个事件 2023-07-07 09:41:04 +08:00
Shicheng Chu
e2c031643c [include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750) 2023-06-29 11:24:25 -04:00
zhkag
e65509a58e [src][components][include]消息队列支持优先级 (#7382) 2023-06-26 00:06:06 -04:00
guo
8d2072de55 [kernel]add api rt_hw_interrupt_is_disabled (#7706) 2023-06-21 22:42:50 +08:00
zhkag
33f550cb65 [Kernel] message 可以返回消息的实际大小 (#7709) 2023-06-21 18:22:42 +08:00
Shicheng Chu
93f3cb30e4 [kernel] 将rt_thread结构体改为显式继承rt_object (#7131) 2023-04-04 09:06:27 -04:00
Shell
64cd64baf9 [mutex] mutex may suspend a thread already suspended & fix ceilingprio (#7046)
* [fix] reinsert should not suspend twice

* [mutex] fix prioceiling

* [mutex] fix prioceiling
2023-03-13 19:21:41 +08:00
tuduweb
9fbf63441e [doxygen] Fix some warnings in doxygen (#6899) 2023-02-02 21:00:58 -05:00
guo
ecf2d82159 sync branch rt-smart. (#6641)
* Synchronize the code of the rt mart branch to the master branch.
  * TTY device
  * Add lwP code from rt-smart
  * Add vnode in DFS, but DFS will be re-write for rt-smart
  * There are three libcpu for rt-smart:
    * arm/cortex-a, arm/aarch64
    * riscv64

Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
Man, Jianting (Meco)
e9a2dc0e02 Update src/ipc.c 2022-10-25 23:39:03 -04:00
Bernard Xiong
63b97db64a [Kernel] Remove the debug definition for mutex 2022-10-17 08:01:48 +08:00
Bernard Xiong
e645c95eb8 [Kernel] Trim trailing spaces in ipc.c 2022-10-16 18:23:26 +08:00
Bernard Xiong
6823a5110b [Kernel] Add prioceiling feature in mutex 2022-10-16 17:58:51 +08:00
Bernard Xiong
34c77da153 [Kernel] Add nested mutex feature 2022-10-15 16:19:13 +08:00
Tangyuxin
a4829b1c00 [fix] Fix simulator compilation warnings (#6438)
* [fix] Fix simulator compilation warnings

* Update bsp/simulator/rtconfig_project.h

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-09-20 10:31:11 -04:00
Man, Jianting (Meco)
6295ec108e [kernel] remove the register keyword (#5888) 2022-04-29 06:34:42 +08:00
Stanley
ef7280826f correct descriptions (#5849)
* correct descriptions

correct descriptions in ipc.c and timer.c

Co-authored-by: Stanley <stanleylwinn@gmail.com>
2022-04-21 09:35:17 +08:00
thewon86
f5b0bfd3f4 uniform code writing-disable interrupt 2022-04-20 14:22:43 +08:00
Stanley
2fa40dd602 Fix/parameter name (#5815)
* Update ipc.c

Parameter name standardization

Co-authored-by: Stanley <stanleylwinn@gmail.com>
2022-04-15 15:32:07 +08:00
Stanley
d664edd64e Update ipc.c
Resolved feedbacks
2022-04-11 14:06:30 +08:00
Stanley
eefc6d7825 Add descriptions
dd descriptions for rt_mq_recv and rt_sem_take timeout parameters
2022-04-11 14:06:30 +08:00
guo
4562ae1246 [kernel] Revert modifications to the semaphore (#5682) 2022-03-17 14:48:14 +08:00
Henson
500d26c257 optimize code 2022-01-26 21:39:06 +08:00
guozhanxin
9b44535740 add RT_DEBUG_SCHEDULER_AVAILABLE check 2022-01-26 16:03:31 +08:00
thewon86
4db9cfbebe return thread error when resumed by signal 2022-01-25 13:58:33 +08:00
Meco Man
65ecca80ee [kernel] improve comments 2022-01-20 20:58:46 +08:00
Gabriel Wang
6bb9e546de change all double-empty-lines to single-empty-lines 2022-01-08 20:04:43 +00:00
Gabriel Wang
d7b8cf81e6 move some __on_rt_xxxxx_hook from rtdef.h to dedicated c soure files 2022-01-07 23:35:44 +00:00
jihongbin
eda0df469e [update] Correct some code comments 2021-12-16 18:43:45 +08:00
HelloByeAll
a5b684d29c 【更新】删除空行上的tab 2021-10-19 16:50:09 +08:00