Commit Graph

4263 Commits

Author SHA1 Message Date
zmq810150896 2aa1056f19
Add fops for dfs_v2 and rt_set_errno (#7910) 2023-08-03 21:45:30 +08:00
Shell 325c3d2a48
[smart] Fix bugs on lwp kill (#7892)
Signed-off-by: Shell <smokewood@qq.com>
2023-08-03 20:25:13 +08:00
Fan Yang e5c8dd3b05
[components][drivers][sdio] Fix minor issue in sdio driver (#7904)
Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
2023-08-03 17:10:34 +08:00
Junjie Wang b3831246c2
[DFS_V1] 修复close失败后不释放fd导致内存被永久占用且无法释放 (#7907) 2023-08-03 15:42:54 +08:00
zhkag d5c9dc09a0
[lwp] 修复错误码误用 (#7906) 2023-08-03 15:34:42 +08:00
geniusgogo 69d94315b8
update dfs (#7887) 2023-08-02 13:59:43 +08:00
GUI d3417aa0d7
Prepare some api for DM (#7894)
Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-08-02 12:48:24 +08:00
zmq810150896 3f0a5e76bf
Add the system call epoll (#7893) 2023-08-01 17:15:41 +08:00
heyuanjie87 a98b11747f
[sdio]开启emmc内部cache加快传输 (#7896) 2023-08-01 14:48:50 +08:00
朱天龙 (Armink) 43e0423b7b [components][utilities][var_export] update the var export auto init to board_init. 2023-07-31 18:12:37 -04:00
朱天龙 (Armink) e00e2d55ce [components][fal] remove some assert. 2023-07-31 18:12:37 -04:00
Shell 215c6c0ea5
[components/ctime] fix the free of rt_work (#7882)
Signed-off-by: Shell <smokewood@qq.com>
2023-08-01 00:00:25 +08:00
Meco Man bfe9fd3c13 [drivers/ipc] fix the recursive including if legacy enabled 2023-07-28 22:17:40 -04:00
Meco Man 32e50cd68b [drivers/core] revise the macros of header files
the macros is too common to use so that to avoid conflicts
2023-07-28 22:17:14 -04:00
Meco Man 4e0225a48d [debug] use LOG_D instead RT_DEBUG_LOG
related: https://github.com/RT-Thread/rt-thread/pull/7799
2023-07-28 13:50:32 -04:00
zmq810150896 307e9e5e98
Add the system call eventfd (#7835) 2023-07-27 17:24:56 +08:00
Tennn11 43b451b27c
[syscall][socket]fix socket addr bug (#7876) 2023-07-27 17:24:26 +08:00
Tennn11 fb1faa0746
[dfs v2]fix fcntl(F_SETFL) bug,and modify the error code when opening… (#7878) 2023-07-27 17:23:39 +08:00
xqyjlj db24f1865a 📃 docs(ktime/readme): add readme 2023-07-27 11:35:29 +08:00
xqyjlj 2b80fd38dc 🐞 fix(ktime/hrtimer): fix ctrl c 2023-07-27 11:35:29 +08:00
xqyjlj 0b93001f4f 🐞 fix(rtc/soft_rtc): fix wrong time
use boottime as soft_rtc time source
2023-07-27 11:35:29 +08:00
xqyjlj d23dd56692 🐞 fix(ktime): fix wrong boottime
因为tick从中断到设置中间的时延特别大,因此暂不采用tick做基准时间,直接取gtime的cnt做基准时间
2023-07-27 11:35:29 +08:00
erikchan 0eaa757cff 【dd2.0】move the core header files to include/drivers/core 2023-07-27 11:16:55 +08:00
Shell ef91876ee7
[smart] fix the setup of fake lwp in sys_execve (#7855) 2023-07-25 15:58:10 +08:00
Shell acfa74f078
[libcpu/arm] fix race condition with ldrex,strex (#7842)
Signed-off-by: Shell <smokewood@qq.com>
2023-07-25 14:07:44 +08:00
zhkag 7e5620edc3
[smart] 修复用户态 mq_receive 不能阻塞 (#7836) 2023-07-24 17:01:45 +08:00
xiao-mang befa951451
modify some function prototypes of the dfs_file_ops structure and the function declarations based on it (#7849) 2023-07-24 09:12:35 +08:00
Man, Jianting (Meco) 244b903e5d
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805) 2023-07-22 10:36:42 +08:00
Shell 52d3637fba
[smart] fix possible memory leak (#7832)
Signed-off-by: Shell <smokewood@qq.com>
2023-07-22 10:30:29 +08:00
Meco Man f52095d228 [libc][time] cleanup code 2023-07-21 00:31:35 -04:00
Mr.M c985f318e4 overflow is invalid in oneshot mode 2023-07-21 00:28:31 -04:00
xqyjlj 5f0328ee41 feat(ktime): add RT_USING_KTIME to kconfig build 2023-07-20 09:25:18 -04:00
Fan YANG 0b966bfca0 [components][net][sal][socket] Fix duplicate free on allocated buffer
- Avoid duplicate free as the d->vnode will be freed in the fd_release API call

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
2023-07-20 07:30:15 +08:00
wangqinglin a07fda3470
[bsp][stm32][airm2m]<pin>更新pin num命令 (#7390) 2023-07-19 18:45:43 -04:00
Shell 58e0ddf287
[component/lwp] support more feature of signal from IEEE Std 1003.1-2017 (#7828)
Signed-off-by: Shell <smokewood@qq.com>
2023-07-20 00:02:41 +08:00
xqyjlj 0eb75ced70
[time]时钟框架重构 (#7794) 2023-07-17 20:11:58 +08:00
GUI b424169e17
AArch64: fixup fpu storage's size in stack and append Q16 ~ Q31 (#7815)
Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-15 15:21:23 +08:00
sp-cai 0ebec472e1
[components][i2c] 优化 controt 接口格式,增加可用命令 (#7806)
原来 rt_i2c_control 只能执行 RT_I2C_DEV_CTRL_CLK 单一命令,通过此修改可以支持更多可用命令
2023-07-13 21:57:40 -04:00
ErikChanHub 2f5e4ac27e
【dd2.0】Support the Core API for dd2.0 (#7791) 2023-07-13 14:49:35 +08:00
yanghaiyong 259431ace3 [SAL/SOCKET]修复在 RT_DEBUG 开启后,调用 closesocket 接口触发断言的 BUG 2023-07-12 12:39:21 +08:00
Man, Jianting (Meco) 7cdf0ac5cf
[components] remove zmodem (#7801) 2023-07-09 20:13:12 +08: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
sp-cai 75f65b6af6
[components][drivers][serial] serial.c 修复串口有时重复发送 '\r' 的问题 (#7767) 2023-07-07 23:52:32 -04:00
erikchan fa10a99c3c 【ofw】 format encoding of irq.c to utf-8 2023-07-06 11:24:19 +08:00
erikchan cc8781930c 【libfdt】replace tab with space 2023-07-06 11:02:13 +08:00
wusongjie 81c8919889 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2023-07-06 10:20:35 +08:00
Shell af01d1fd1c
[components/mm] improve output of list_page (#7779) 2023-07-05 17:54:28 +08:00
wusongjie 8aa4366cb2 Drivers: Support Open Firmware API and model of PIC
We support OFW API to replace fdt old API, and add
IRQ, IO, Platform-Bus, CPUs ... OFW node contorl.
To support work with Device Tree or ACPI in drivers
that use IRQ, we make a programmable interrupt
controller driver's model.

Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-05 16:45:16 +08:00
zhkag d6adf6708f
[posix] posix 的 mqueue 对接到文件系统的 fd (#7768) 2023-07-05 14:49:31 +08:00
wusongjie 950d71e1ac Utilities/libadt: support adt API for DM
Add reference with rt_atomic in resources' put/get management.
Add bitmap operator base on rt_ubase_t.
Add hashmap for key->data map management.

Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-05 13:39:51 +08:00