geniusgogo
d55066e10d
cleanup: fix building warnings
2023-08-23 22:58:25 -04:00
Meco Man
30c793fdb9
[tools] add GetGCCLikePLATFORM
...
GCC like means the toolchains which are compatible with GCC
2023-08-21 01:25:52 -04:00
xiao-mang
348c1fcecd
fix list_page ( #7968 )
2023-08-21 10:05:19 +08:00
Junjie Wang
166c83f372
[DFS_V1]修复 dfs_file_stat 一个 FATFS 根目录会失败的问题 ( #7940 )
2023-08-20 08:46:09 +08:00
cmbjxxiao
6dd3802d0a
[components][drivers][can]Init can tx completion flag before tx
2023-08-18 23:33:20 -04:00
FragrantRye
2917180c21
[libc][newlib] __sdidinit is obselete
...
related:
https://github.com/RT-Thread/rt-thread/issues/7923
44b60f0c4b
Co-authored-by: Meco Man <920369182@qq.com>
2023-08-17 02:22:53 -04:00
Meco Man
b08d8672d2
[libc][posix/io/stdio] rename libc.c as posix/stdio.c
2023-08-17 02:22:53 -04:00
Shell
d862816a51
[components/mm] add unmap page API ( #7834 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-08-16 15:38:59 +08:00
xqyjlj
aa300c4c74
🎈 perf(ktime): perf hrtimer, del wrong function ( #7880 )
2023-08-16 15:32:46 +08:00
geniusgogo
93388f8045
fix msh exec permission denied ( #7943 )
2023-08-16 15:31:36 +08:00
Meco Man
8061503171
[libc][time] pre-support fully version timezone and daylight saving time
2023-08-13 22:51:58 -04:00
Meco Man
23eb6319e2
[device][rtc] support output UTC minutes level
2023-08-13 22:51:58 -04:00
Meco Man
432c2f38fc
[libc][timezone] implement lightweith timezone configuration
2023-08-13 22:51:58 -04:00
geniusgogo
a6959a9ef8
fix lwp_free tty switch to foreground error ( #7945 )
2023-08-12 10:50:45 +08:00
geniusgogo
1b5ed06d38
fix mkdir error code. ( #7944 )
2023-08-12 10:50:15 +08:00
geniusgogo
deb0b031fc
fix dfs_file_open error code ( #7942 )
2023-08-12 10:49:26 +08:00
Bernard Xiong
f307a2cd5d
[SAL] fix the IPv4&v6 compiling issue. ( #7938 )
2023-08-10 18:47:34 -04:00
Meco Man
92859cc79e
[libc][time] silence the incorrect type warning
2023-08-08 22:15:47 -04:00
geniusgogo
4d20416b2f
update components & lwp. ( #7888 )
2023-08-07 12:22:14 -04:00
DingDing
7e7b303dd4
fix some variables not used warnings when build. ( #7925 )
2023-08-07 14:19:03 +08:00
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
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
Shell
0b79bea7cd
[components/lwp] clear ref to parent on waitpid() ( #7741 )
...
Signed-off-by: shell <smokewood@qq.com>
2023-06-29 00:00:27 +08:00
Shell
b66514686a
[components/tty] fix bug on foreground app switch ( #7726 )
2023-06-28 09:11:17 +08:00
wangqinglin
cb03b8c834
[component][fdt]添加设备树子节点寻找宏 ( #7377 )
2023-06-27 10:09:51 -04:00
程蒙蒙
c2c83533c9
[sensor]V1返回类型不一致编译错误 ( #7735 )
...
Signed-off-by: 程蒙蒙 <37764731+meng-plus@users.noreply.github.com>
2023-06-27 17:18:07 +08:00
zhkag
e65509a58e
[src][components][include]消息队列支持优先级 ( #7382 )
2023-06-26 00:06:06 -04:00
Bernard Xiong
e3f068f058
[DeviceDrivers] prepare for device driver v2.0 ( #7697 )
2023-06-22 14:16:03 +08:00
xiao xie
ba76cb5ef7
[drivers]修复can驱动编译错误 ( #7708 )
2023-06-21 08:52:11 -04:00
zhkag
33f550cb65
[Kernel] message 可以返回消息的实际大小 ( #7709 )
2023-06-21 18:22:42 +08:00
yangfasheng
b4e59bac4e
dfs v2 修改 fd_new 的 startfd 起始值为 0 ;修复 futex_wait 超时时间换算异常; ( #7705 )
...
Signed-off-by: yangfasheng <yangfasheng@live.com>
2023-06-20 23:09:58 +08:00
heyuanjie87
0503d1e27f
[libc/termios]修改oflags定义与musl一致
2023-06-19 00:38:36 -04:00
heyuanjie87
a790c809a8
[pty]修正pty引起waitqueue崩溃的问题
2023-06-19 10:56:06 +08:00
Man, Jianting (Meco)
704554f1f9
[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 ( #7698 )
2023-06-18 22:36:53 -04:00
zhkag
7d8f485321
[finsh] 添加 RT_Device_Class_Bus 对应的描述字符串
2023-06-16 22:33:03 -04:00
Meco Man
4f5ba63c7c
[cpp] attach CXXFLAGS to reduce the resource consumptions
2023-06-14 08:49:33 -04:00
yangjie11
c4df1d6a19
[cpp] support rt-thread CPP wrapper sub-switch macros
2023-06-14 08:49:33 -04:00
yangjie11
d256d742d1
[components][time.h]Fixed undefined macro TIMER_ABSTIME
2023-06-14 06:31:10 -04:00
Mingjie Shen
c7ad493b9a
[libc][ctime] move null pointer check before dereference
...
This null check was redundant because the pointer timep was
dereferenced in any case.
2023-06-13 18:29:22 -04:00
Mingjie Shen
6198eea6c7
[msh] fix offset used before range check
...
These uses of offset 'cmd0_size' should follow the range check.
2023-06-13 18:00:32 -04:00
Mingjie Shen
177f3d4056
[adc] remove dead code
...
The variable result_str is never used after this assignment.
2023-06-13 17:47:54 -04:00
yangfasheng
e36b97ff94
[dfs v2] fix dentry hash lookup bug; update dentry dump msh cmd; ( #7655 )
...
Signed-off-by: yangfasheng <yangfasheng@live.com>
2023-06-11 18:07:06 +08:00
Bernard Xiong
cd3f0f9c8a
Add color ls for executable file. ( #7654 )
2023-06-11 13:12:40 +08:00
Meco Man
8d6e536e88
[spi] optimize the spi transfer speed.
...
If the configurations are the same, we don't need to set again.
2023-06-10 18:59:23 -04:00
Bernard Xiong
99e80f8d33
[dfs] Add DFS v2.0 ( #7606 )
2023-06-10 21:35:25 +08:00