Commit Graph

4256 Commits

Author SHA1 Message Date
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
guozhanxin befb15b428 [ulog] support ulog_async_output_enabled 2023-07-05 04:34:25 +08:00
zhkag 7b4e52bd79
[DFS_V2]Update dfs_elm.c 修复变量使用错误 (#7776) 2023-07-04 20:56:37 +08:00
wusongjie 179157f4e1 Components/drivers: support DM device id management
We add the device name and id set api in DM, now driver
could set name like sprintf without know how many devices
it is.
The misc.h and byteorder.h add some macros to developers
that they always use in drivers.

Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-04 13:55:07 +08:00
geniusgogo 2aa4510aa8
execute elf add executable permissions check. (#7769) 2023-07-03 19:25:59 +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
Tennn11 148ae53cf8
[tty] add TCGETA/TCSETAF/TCSETAW/TCSETA commands (#7739) 2023-06-29 19:01:16 +08:00
zhkag 077e984175
[libc]更新 libc timer id 分配方式 (#7744) 2023-06-29 00:01:51 +08:00