Commit Graph

4628 Commits

Author SHA1 Message Date
zms123456 0bcf5968c2
[components][drivers]delete nonexist include file 2024-04-16 22:15:51 -04:00
zms123456 96eabab698
[components][drivers]fix some uninitialize err (#8806)
fix some uninitialize err
2024-04-16 21:58:13 +08:00
zms123456 a68b4df4d8
[component][driver][serial/tty]using serial name to name tty
当使用新device model时,serial的名字由系统分配,id也由系统分配,此时应根据系统分配的serial id来作为serial-tty的id
2024-04-15 23:20:30 -04:00
zms123456 be699795f8
[components][drivers]close can irq before release fifo
原来的CAN close中先释放fifo后关闭CAN中断,可能导致释放fifo后且关闭CAN中断前来CAN中断,此时rt_hw_can_isr可能在RT_ASSERT(tx/rx_fifo != RT_NULL)断言失败
2024-04-15 23:17:06 -04:00
zms123456 6ad0b2bd09
[components][drivers]fix workqueue bug
fix workqueue bug
2024-04-15 23:15:37 -04:00
atwww 2cc88b6cf5
修复POSIX线程本地存储寻找posix线程句柄时的逻辑错误 (#8790)
* Add GCC generalized atomic operation function

* 修复POSIX线程本地存储寻找posix线程句柄时的逻辑错误
2024-04-15 23:13:24 +08:00
Shell 5730097296
[smart] fixup devfs porting layer of terminal (#8797)
Signed-off-by: Shell <smokewood@qq.com>
2024-04-15 18:24:19 +08:00
Eric LGF 58ecde786f
[ymodem] fix the cmd "sy" without close file 2024-04-13 08:11:31 -04:00
Yuqiang Wang c6d20e47ac [bsp][renesas] Add HMI rw007 initialization configuration by default 2024-04-13 13:32:30 +08:00
chinky a2ab247d8f [fal]修正类型不匹配 2024-04-12 19:00:41 -04:00
zms123456 d5e74be81d
[components][drivers][can]fix can warning in 64bit cpu (#8772)
fix can warning
2024-04-12 16:00:49 +08:00
geniusgogo bdfa1ea20a
fix symlink (#8755)
Signed-off-by: geniusgogo <xpxyr@sina.com>
2024-04-10 23:55:29 +08:00
geniusgogo 651f23a604
[dfsv2] add dfs pwrite pread 2024-04-09 22:26:58 -04:00
Yuqiang Wang d08ae0bfd1
[driver][soft-spi] spi device driver framework adds pin init function function
为什么提交这份PR (why to submit this PR)
ps:在设备初始化阶段不应该存在对硬件的操作

你的解决方案是什么 (what is your solution)
ps:添加一个pin_init函数,在spi设备使用时调用该函数来完成硬件引脚的状态初始化,而不是在设备初始化阶段对硬件进行操作,已经在瑞萨HMI上通过验证
2024-04-09 18:33:29 -04:00
Troy 5bb902895c
[libc] add some posix function comments 2024-04-09 18:11:34 -04:00
zms123456 cbf316a5f7
[components][drivers]fix compile warning in 64 bits arch cpu (#8739)
fix compile warning in 64 bits arch
2024-04-09 21:38:10 +08:00
Shell 4b0f42c24a
[drivers/serial] Introduce hooker for TTY (#8733)
In this patch, a hook list has been introduced to address the concerns
regarding coupling issues arising from modifications to the serial code
for integrating TTY logic.

Signed-off-by: Shell <smokewood@qq.com>
2024-04-09 21:36:16 +08:00
zms123456 4ffcbfef2a
[components][drivers]add ofw support i2c 2024-04-07 09:57:38 -04:00
Meco Man 545155616d [iar] fix legacy macros will be added if cannot get the IAR version 2024-04-06 23:37:32 -04:00
zhao maosheng 687eb87a2b fix: code format of serial.c and compile error in aarch64 context_gcc 2024-04-02 08:07:21 -04:00
Troy 3a4db99104
[libc][posix/io] add comments 2024-04-01 23:18:15 -04:00
zms123456 d856f77a55
[components][drivers] fix posix tty, and add more baudrate (#8683)
* serial-tty fix

* v2
2024-04-01 21:23:04 +08:00
Meco Man 1bf8a460e7 [finsh] remove finsh_syscall_lookup() function declaration 2024-03-31 20:31:35 -04:00
Meco Man a4204c61bd [devcie][pwm] fix warnings 2024-03-31 07:38:00 +08:00
Shell 864055bf18
[fixup] aarch64 UMP compiler error (#8677)
Signed-off-by: Shell <smokewood@qq.com>
2024-03-30 17:58:38 +08:00
Meco Man 6d1bc9b2f8 [msh] add comment for secondary-commands
新增加的二级命令使用方式没有清晰的描述
- 功能实现PR:https://github.com/RT-Thread/rt-thread/pull/8086
- 补充优化PR:https://github.com/RT-Thread/rt-thread/pull/8251
- 使用二级命令的例子:https://github.com/RT-Thread/rt-thread/pull/8398
- 相关issue:https://github.com/RT-Thread/rt-thread/issues/8691
2024-03-30 02:48:54 -04:00
geniusgogo 99245a1a8f fix pin ofw variable init. 2024-03-29 21:48:31 +08:00
Troy 7e492fc37c Add comments for all functions in components/libc/posix/io/eventfd/eventfd.c 2024-03-28 21:28:46 -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
Troy 56fd6984ac Fix the issue of incorrect return of invalid parameters in aio_write 2024-03-27 22:58:54 -04:00
Meco Man e0f2313c53 [msh] solve data access bugs and fix shell.c strcat()
When using musl libc's strcat, strcat itself will cause system crash.
2024-03-27 18:40:56 -04:00
Troy 51d4a9c804 Fix epoll.c file format error 2024-03-26 17:42:01 -04:00
Troy 9fc7c7569b Fix incorrect naming of triggered 2024-03-26 17:42:01 -04:00
Troy 46d6036c28 modified: components/libc/posix/io/aio/aio.c Added some function comments
modified:   components/libc/posix/io/aio/aio.h		Align comments within the aiocb structure
modified:   components/libc/posix/io/epoll/epoll.c	Add comments for all functions and members within structure members
2024-03-26 17:42:01 -04:00
Troy b228f67385 modified: components/libc/posix/delay/delay.c Added comments for all functions in this file
modified:   components/libc/posix/signal/posix_signal.c		Add comments to the sigqueue function, although it does not have an internal implementation
modified:   components/libc/posix/signal/posix_signal.h		Added detailed explanation to all members of the rt_signal_value enumeration
2024-03-25 18:36:17 -04:00
Shell 3237efd089
fixup d1s (#8671)
Signed-off-by: Shell <smokewood@qq.com>
2024-03-25 20:29:56 +08:00
Wat cb6d451564 Add GCC generalized atomic operation function 2024-03-24 23:01:11 -04:00
Evlers dca8a06471 [wlan][cmd] fixed a duplicate issue with the wifi scan command 2024-03-24 14:35:41 -04:00
Evlers 3a65967a40 [wlan] add the wlan join scan function 2024-03-24 14:35:15 -04:00
kk 2549b82bd6
[pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
Shell 22106bb8de [finsh] feat: add finsh thread entry hook
Signed-off-by: Shell <smokewood@qq.com>
2024-03-22 18:52:35 -04:00
Liu Yang 59dbebe6fc [components/driver] Fix issue for serial_V2 in no buffer bloking tx mode. 2024-03-20 02:28:35 -04:00
zms123456 5e26b4c585
[components/dirver]Fix issue of not releasing sem resource 2024-03-19 20:01:49 -04:00
StackYuan a582c0cc31 [fix] NXP bsp for RT-Thread 5.1.0 fixed up. 2024-03-19 08:13:00 -04:00
Meco Man 6ee7197587 [stm32][pwm] fix warning in Keil5 2024-03-18 23:22:34 -04:00
exxfire 90f86c2b71 netdev_unreg: modyify netdev remove logical when mutil-netdev exist 2024-03-18 20:39:15 -04:00
Meco Man 9ac8b47eb2 [sensor-v2] enable sensor v2
fix the confilcts with sensor v1
2024-03-16 23:31:54 -04:00
Meco Man 59231a4276 [msh][ci]only GCC use strict checking 2024-03-16 10:21:38 -04:00
Shell bef4bbd50a
[dfs] fixup bugs in dfs_dentry_lookup (#8612)
Signed-off-by: Shell <smokewood@qq.com>
2024-03-15 14:57:38 +08:00
yangpeng 1919ad0748 [spi]修复spi总线挂载多设备通信可能失败问题 2024-03-04 19:50:36 -05:00
Shell 53754ff50a
[fixup] check NULL pointer before access (#8573)
Signed-off-by: Shell <smokewood@qq.com>
2024-03-02 16:05:19 +08:00
fangjianzhou 00c6800e4e
[components/driver] update serial (#8567) 2024-03-01 10:29:21 +08:00
zms123456 6b5058ba5c
[components/drivers]update hwtimer (#8565) 2024-02-29 22:27:38 +08:00
zms123456 97c5edf947
[component][drivers]add pinctrl/pin-irqchip (#8383) 2024-02-29 22:27:27 +08:00
zms123456 195f94ef1d
[components][drivers]add pic-gic (#8388) 2024-02-29 09:39:56 +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
LaterComer 82bb104f65
fix(serial_v2): tx_fifo->rb.buffer_ptr not init when RT_DEVICE_FLAG_DMA_TX and RT_SERIAL_TX_BLOCKING
为什么提交这份PR (why to submit this PR)
serial_v2驱动框架,rt_serial_tx_enable()函数,在 DMA阻塞发送(RT_DEVICE_FLAG_DMA_TX and RT_SERIAL_TX_BLOCKING) 的时候,使用rt_malloc分配了tx_fifo内存,但是并未对tx_fifo->rb.buffer_ptr指针进行初始化(rt_malloc不会自动初始化内存),因此可能导致buffer_ptr是一个随机指针。但是rt_serail_write()函数需要根据tx_fifo->rb.buffer_ptr是否为RT_NULL来判断是调用_serial_fifo_tx_blocking_nbuf()还是_serial_fifo_tx_blocking_buf()。

由于tx_fifo->rb.buffer_ptr可能是一个随机值(不一定为RT_NULL=0),导致RT_DEVICE_FLAG_DMA_TX and RT_SERIAL_TX_BLOCKING模式下调用了_serial_fifo_tx_blocking_buf(),但是rb没有真正开辟内存空间,导致内存异常

你的解决方案是什么 (what is your solution)
rt_serial_tx_enable(),在DMA阻塞发送分支下,对tx_fifo->rb.buffer_ptr进行初始化,赋值为RT_NULL。
2024-02-21 00:29:53 -05:00
Yuqiang Wang c6bdee3c50
[ci] open ci check with function declaration warning (#8546) 2024-02-20 22:45:04 -05:00
Meco Man bd228eb9c5 [ci] fix errors under strick compiling mode 2024-02-20 08:39:05 +08:00
yangpengya a8d5a645f2
[components][at] 优化AT组件,并解决内存泄露
1.优化at server endmark判断,支持自动识别'\r''\n'"\r\n"。
2.优化at_recvfrom,修复大数据量时sem多次释放造成的接收错误。
3.修复at组件中可能存在的内存泄露。
4.优化部分代码逻辑,减少冗余代码。
2024-02-18 11:07:05 -05:00
yangpeng 02eaf76d7b [qspi]修复qspi配置未生效问题 2024-02-17 01:07:19 -05:00
Bernard Xiong cad5ceb1e0
[msh] fix the version command (#8531) 2024-02-09 19:56:52 +08:00
yangpeng 25d3136d02 fix MDK AC5 build warnings 2024-02-03 21:43:08 -05:00
rcitachi 0c96b26c23
[sys_bind] [signalfd] update (#8507) 2024-01-26 22:14:02 +08:00
Shell f6fce5f8d7 [kservice] MT-safe output support (kprintf/kputs)
Signed-off-by: Shell <smokewood@qq.com>
2024-01-16 00:59:18 +08:00
fangjianzhou 10b16273b8
[drivers][core] 完善设备模型 (#8384) 2024-01-09 23:10:42 +08:00
Meco Man 58a159a0d6 [finsh] support to check static thread size
增加检查finsh线程实际使用是否超过当前设定的线程大小
2024-01-09 14:29:55 +08:00
Meco Man 6cc63626d7 fix some -Wmissing-prototypes warnings 2024-01-02 21:25:26 +08:00
Shell 3a7903b799 [kernel] Add hook for malloc services
Including the patch for memory allocation, testsuites and fixups of
static analysis.

Signed-off-by: Shell <smokewood@qq.com>
2024-01-02 19:42:46 +08:00
Yuqiang Wang a5d4425ea7
[components][dfs]修复FATFS文件系统使用cat命令导致断言bug 2023-12-28 18:51:56 +08:00
Meco Man 045a49603e [libc] fix undefined warning of rt_memset 2023-12-28 17:47:59 +08:00
Meco Man ed4d037d7b [ci][stm32f407] add attach config CI check 2023-12-26 23:13:08 +08:00
yangpeng ff1bd3807c [components][drivers][sensor]暂时禁止使用sensorv2框架
sensor v2框架仍在开发中
2023-12-26 20:32:28 +08:00
1ridic 0bf7adf394 [pwm] Fix compiler warning 2023-12-26 12:12:31 +08:00
Meco Man f06b0894c4 [libc][picolibc] fix llvm compling warning
/home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:24:16: warning: returning 'volatile int *' from a function with result type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        return &__pico_errno;
               ^~~~~~~~~~~~~
/home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:30:16: warning: returning 'volatile int *' from a function with result type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        return &__pico_errno;
               ^~~~~~~~~~~~~
/home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:33:12: warning: incompatible pointer types returning 'rt_err_t *' (aka 'long *') from a function with result type 'int *' [-Wincompatible-pointer-types]
    return &tid->error;
2023-12-25 23:24:30 +08:00
Meco Man 4657312f9d [kconfig] fix Kconfig warnings 2023-12-25 20:28:46 +08:00
1ridic 3da0b76add [pwm] Add second-level command completion 2023-12-25 12:07:49 +08:00
zms123456 e1fdc13288
[component][drivers]add clk framework (#8213) 2023-12-24 19:53:12 +08:00
zmq810150896 cdad0c254a
Update epoll and timerfd (#8330) 2023-12-21 11:17:59 +08:00
zmq810150896 833b43dbc7
[libc][Kconfig] default open epoll/eventfd/signalfd/timerfd/select (#8386) 2023-12-21 01:00:26 +08:00
geniusgogo d19a15a5df update smart kernel default select dfsv2. 2023-12-19 19:04:17 +08:00
sulfurandcu c84d7c5324 fix warning #1295-D Deprecated declaration 2023-12-19 19:02:43 +08:00
fangjianzhou b233e29bb6
[libcpu][aarch64] 使用设备树对内存进行初始化 (#8320) 2023-12-16 18:08:11 +08:00
geniusgogo 6b22a0a2b7
dfsv2 code tidy. (#8374) 2023-12-16 18:06:47 +08:00
geniusgogo 304ce5919c
sync update dfs v2. (#8336) 2023-12-12 18:05:39 +08:00
geniusgogo 0b6402f3cb
update libc (#8335) 2023-12-10 06:49:24 +08:00
geniusgogo 896c4a5b99
fix netif name length config. (#8356) 2023-12-10 06:44:25 +08:00
geniusgogo 073761fdbe fix #8305, symlink bug. 2023-12-06 20:19:20 +08:00
zmq810150896 2790ce5357
Updated issues related to uds capacity and eventfd macro redefinition (#8329) 2023-12-06 13:51:13 +08:00
geniusgogo 3bc29c7673
sync update net. (#8333) 2023-12-05 23:09:19 +08:00
geniusgogo 7aa130c83c
update mm. (#8334) 2023-12-05 16:44:00 +08:00
rcitachi 58665c7f50
[AF_UNIX] Update AF_UNIX bind, connect entry (#8314) 2023-12-02 12:11:01 +08:00
Meco Man c06a31c7d3 [msh] add dependency of RT_USING_CONSOLE 2023-12-01 14:43:05 +08:00
Meco Man 6cd24d437c [nano][kernel] correct nano Kconfig dependency 2023-12-01 14:43:05 +08:00
Shell c87872c9c7
[mm] Bugs fix for page_install on shadow region (#8308)
Signed-off-by: Shell <smokewood@qq.com>
2023-11-30 22:00:54 +08:00
Meco Man 005828eba7 [nano] rt-thread susport nano option 2023-11-30 11:39:34 +08:00
rcitachi 1e6b2a81d0
修复 #8293 问题 (#8307) 2023-11-29 14:08:47 +08:00
geniusgogo 74925f43ed
fix dfs path name overflow. (#8305) 2023-11-28 17:16:21 +08:00
fangjianzhou 249871cbbc
[libcpu][aarch64] 使用设备树对CPU进行初始化 (#8221) 2023-11-28 14:20:11 +08:00
rcitachi c06f4e98fc
[SAL] Update SAL,Add socketpair sendmsg recvmsg function (#8293) 2023-11-28 13:56:06 +08:00
Raman Gopalan 4e656078b6 soft_i2c: Loop iteration variable: Conform to C89 2023-11-26 18:40:02 +08:00
geniusgogo 5a438c818a fix dfsv2 romfs dfs_romfs_getdents buffer overflow. 2023-11-23 06:20:17 -05:00
褚仕成 8635a4ce8d [components][wlan]: update rt_wlan_join_scan_callback 2023-11-22 11:21:18 -05:00
guozhanxin 896b1fe2da [driver/pipe] RT_UNAMED_PIPE_NUMBER add depends 2023-11-22 16:51:16 +08:00
Meco Man 873fd76b2f [libc] add RT_USING_INTERNAL_LIBC_ONLY macro
This option is for RT-Thread Nano version.
If select this option, it will not compile components/libc
folder and only use tool chain internal libc. Normally, the
tool chain internal is only cover ISO standard (e.g. armcc),
but some tool chains' internal libc will cover more than
ISO standard (e.g. newlib).
2023-11-21 23:22:55 -05:00
Meco Man df29a13d89
[components] remove vmm (#8269) 2023-11-21 13:41:54 +08:00
Meco Man 2324794825 [libc] add comment for RT_USING_EXTERNAL_LIBC 2023-11-20 06:26:48 -05:00
guozhanxin c9a63df925 [fix] sal build error. 2023-11-16 16:25:37 +08:00
guozhanxin 3143289486 [libc] update ctime.c compatible with old drivers 2023-11-16 13:09:32 +08:00
kk 58cd8e026c
[drivers/rtc] 修复 alarm.c 少写分号 (#8256) 2023-11-15 19:24:26 +08:00
wangqinglin b80a455b34
FINSH: 优化MSH宏定义 (#8251) 2023-11-15 13:54:22 +08:00
guo 6d7e393ce9
[fal] Add blocks mechanism to fal. (#8252) 2023-11-13 22:49:16 +08:00
geniusgogo 9acebb07dc
fix rt_channel lock. (#8244) 2023-11-10 21:37:07 +08:00
Meco Man 589641258e [debug] rename RT_DEBUGING_INIT as RT_DEBUGING_AUTO_INIT 2023-11-10 05:24:33 -05:00
xiao-mang 48f53e9150
add blockdev's flush fops for opening file with O_SYNC (#8232) 2023-11-10 17:50:20 +08:00
Xiang.Lin da55491608
[libc][picolibc] improve gcc picolibc support 2023-11-08 02:09:09 -05:00
xqyjlj fa9b496b2a
feat: fix pid recycling (#8225) 2023-11-06 13:22:27 +08:00
xqyjlj 5ad6a6f2c5
🐞 fix: fix taskset (#8211) 2023-11-02 23:12:44 +08:00
xqyjlj f806d6edd1
🐞 fix(lwip/port/sys_arch): fix spinlock`s deadlock (#8208) 2023-11-02 23:11:56 +08:00
Shell c2036e769a
[smart] fixup of lwp recycling and mm varea (#8206)
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2023-11-02 20:23:11 +08:00
xqyjlj 27aac584a5
feat(dfs_v2/cromfs): add cromfs mmap (#8218) 2023-11-02 20:12:20 +08:00
shu-qian c7e0a96f6f
[libc] add comments to the cstdlib.c (#8209)
Co-authored-by: sq <1838545301@qq.com>
2023-11-01 05:31:57 -04:00
kk 1d3fc71c79
[libc] [ctime] fix rt_timespec_to_tick fun internal data overflow (#8198) 2023-10-31 08:59:01 -04:00
kk 7066761510
[dfs][mqueue]Ensure that dev is initialized before mqueue (#8197) 2023-10-30 23:12:42 +08:00
tangzz98 acc66c5479
实现MPU抽象层 (#8080)
- 为RT-Thread设计MPU抽象层,支持ARMV7-M,ARMV8-M架构,让用户使用MPU检测栈溢出等内存问题,实现线程内存隔离
- 在components/mp目录下提供通用的API,libcpu目录下提供各处理器架构的具体实现
- 在STM32U575 NUCLEO, STM32H75 NUCLEO开发板测试通过
2023-10-30 08:24:55 -04:00
Supper Thomas 65623777d5
[action] Doxygen ci fix (#8191) 2023-10-29 13:12:29 -04:00
guo f744d5e6fb
[msh]Optimize list_thread display (#7977) 2023-10-27 10:52:52 +08:00
xiao-mang 6b161bf3d5
update elmfat from r14b to r15 (#8179) 2023-10-26 17:26:48 +08:00
Shell eafb04e011
[ctime] fixup of data racing (#8187)
Signed-off-by: Shell <smokewood@qq.com>
2023-10-26 13:56:27 +08:00
kk 01672f8627
[dfs_v2][mqueue] fix No mqueue mounted (#8189) 2023-10-26 10:43:49 +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
Shell 91fc52df36 fixup: merge condition 2023-10-25 18:40:44 +08:00
Shell e94b759160 [quality] fixup: vulnerability in kernel
including out-of-bound access in dfs, and use-after-free in
aspace_traversal

Signed-off-by: Shell <smokewood@qq.com>
2023-10-25 18:40:44 +08:00
Shell fb78a71020
[smart] replace varea pgmgr and fixup of dfs mmap (#8184)
Signed-off-by: shell <smokewood@qq.com>
Signed-off-by: Shell <smokewood@qq.com>
2023-10-25 14:59:48 +08:00
梁生 0f5334586a
[libc][time]修复MDK编译环境下difftime()函数多重定义的问题 (#8174) 2023-10-24 09:12:10 -04:00
xiao-mang 3c7b184f93 add exfat config 2023-10-24 18:02:02 +08:00
xiao-mang 93f350ae1f add exfat config 2023-10-24 18:02:02 +08:00
xiao-mang d3aa7406ed add exfat config 2023-10-24 18:02:02 +08:00
xiao-mang 117d1f6324 add exfat config 2023-10-24 18:02:02 +08:00
shell b40d106bdc [dfs] fixup: file_mmap and page cache
Including cache maintenance, potential dereference of null pointer and
the use-after-free issue in page cache

Signed-off-by: shell <smokewood@qq.com>
2023-10-24 14:49:30 +08:00
xiao-mang 50bb71e458
fix ash ifconfig updown (#8165) 2023-10-24 13:16:29 +08:00
Shell 70a8d1d465
[kservice] improve backtrace service in kernel (#8144)
Signed-off-by: Shell <smokewood@qq.com>
2023-10-21 20:14:45 +08:00
xiao-mang 90c7089d47
fix ash echo (#8150) 2023-10-21 08:41:55 +08:00
geniusgogo 9dd1d73c94 update ldso pagecache kconfig 2023-10-20 12:35:06 -04:00
XYZ 1f05b6b401
[dfs v2] support O_DIRECT and O_SYNC flags (#8155) 2023-10-20 13:24:56 +08:00
zms123456 d01dd05a0c
[kernel][dm]适配新的设备驱动模型 (#8075) 2023-10-18 20:50:30 +08:00
fangjianzhou dd33b31c28
修改virtio.c存在的问题 (#8146) 2023-10-18 08:29:24 +08:00
sp-cai 7f6f086601
[components][i2c]增加通用的软件模拟 I2C (#7850) 2023-10-17 11:24:32 -04:00
geniusgogo ecd29fda60
Sync dfs lwp (#8123) 2023-10-17 13:07:59 +08:00
fangjianzhou 7d64cdcf58
qemu-virt64-aarch64/qemu-virt64-riscv支持SDL2 (#8130) 2023-10-17 13:03:03 +08:00
xqyjlj 1e0f406b4f
feat(dfs_v2/cromfs): add symlink support (#8132) 2023-10-17 09:55:28 +08:00
zms123456 a39da9cb59
[components][mm]添加预留内存支持 (#8025) 2023-10-14 14:10:57 +08:00
Shell 1e7add54d4
[smart] fixup: syscall.c (#8131)
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
2023-10-14 13:09:17 +08:00
Shell 4158c8e88e
[smart] Replace irq disable/enable codes in futex (#7941)
Signed-off-by: Shell <smokewood@qq.com>
2023-10-14 13:07:45 +08:00
xiao-mang 5d16042765
add sys_utimensat (#8124) 2023-10-13 19:21:49 +08:00
zmq810150896 a289ae1b18
Fixed issues with timerfd (#8102) 2023-10-13 19:20:50 +08:00
Shell 8e57b5fdd4
[smart] fixup: lwp_free() (#8126)
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
2023-10-13 14:21:06 +08:00
zmq810150896 e6eddfa711
Fix the problem that when dfs_v2 transmits fd, dentry or vnode does not exist (#8089) 2023-10-12 08:22:46 +08:00
Z8MAN8 19bfdac891 [fix][usb]return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-10-11 12:01:20 -04:00
Shell a300cef2a8 [smart] split out part of lwp_new() to lwp_create()
Prev implementation of lwp_new() including the create of lwp object
and the pid allocation. But not every lwp object need a pid.
So this patch split out the business of lwp_new() to improve the
maintainability.

Signed-off-by: Shell <smokewood@qq.com>
2023-10-11 08:48:06 +08:00
xqyjlj e5c5ec4b2a
🐞 fix(dfs_v2/filesystems/elmfat): fix elm can not exec (#8118) 2023-10-09 13:26:58 +08:00
skychen123 fcd0fecd3e
add sys_setitimer syscall (#8096) 2023-10-08 13:30:04 +08:00
yangpeng 8012c0c9a2 [at]优先判断是否是URC数据 2023-10-08 13:25:28 +08:00
yangpeng c386a2c956 [at]优化at格式化输出,避免多个at client和server输出冲突 2023-10-08 13:25:28 +08:00
xqyjlj 31a2311f64
🌈 style(ktime): mv to components/drivers/ktime (#8103) 2023-09-28 21:34:21 +08:00
zan319 fce83488ec
[serial_v2] 修复阻塞模式下中断发送的逻辑顺序问题与多线程下的竞态条件 (#7997) 2023-09-28 14:04:10 +08:00
wangqinglin 2d630e38d7
【msh】新增msh自动补全子选项特性 (#8086) 2023-09-27 12:34:05 +08:00
zhouminquan 75b4f3d83a tmpfs adds truncate functionality and unlink adaptations 2023-09-25 13:23:25 +08:00
zbtrs 36b79798bd
feat: support sdl2 (#8048) 2023-09-25 08:40:03 +08:00
zmq810150896 7c2f807a7c
Add the system call timerfd and update SConscript for signalfd (#8067) 2023-09-23 14:18:29 +08:00
xqyjlj 047cc8663e
🐞 fix(soft_rtc): fix unsupported TIMEVAL and GET_TIMERES (#8011) 2023-09-23 14:07:00 +08:00
zmq810150896 dc84765823
[smart] Updated the API for kernel access to user address issues and for calculating string length (#8058) 2023-09-23 14:06:00 +08:00
Shell b826afe8f9
[smart] fix of cmd_kill (#8071)
Signed-off-by: Shell <smokewood@qq.com>
2023-09-22 15:06:07 +08:00
Meco Man 7732f8618b [picolibc] fix the errno declaration conflict
/home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:13:5: error: conflicting types for 'pico_get_errno'
  int pico_get_errno(void)
      ^
  /opt/LLVMEmbeddedToolchainForArm-16.0.0-Linux-x86_64/bin/../lib/clang-runtimes/arm-none-eabi/armv7em_hard_fpv4_sp_d16/include/sys/errno.h:59:6: note: previous declaration is here
  int *__PICOLIBC_ERRNO_FUNCTION(void);
2023-09-19 23:02:43 -04:00
zmq810150896 092b52ab24
Adapt rt_channel, increase the generality of some rt_channel functionality on dfs v2, and standardize signalfd (#8047) 2023-09-20 07:54:11 +08:00
Meco Man 35231eb116 [kernel] fix interruptible typo 2023-09-19 00:45:02 -04:00
Shell e7c3ca61fd
[smart] fix rt_memcpy to lwp_memcpy in smart source (#8033) 2023-09-15 15:57:08 +08:00
xiao-mang 12592458b9
fix tar -xzvf symbol link (#8034) 2023-09-14 11:29:03 +08:00
TangZhenye 3e3cf91b77 [修改]:alarm 将年月日也传给驱动层,避免跨天 alarm 失效 2023-09-13 21:32:11 -04:00
xiao-mang caea0616a4
fix ifconfig (#8032) 2023-09-13 11:21:32 +08:00
geniusgogo d5b8e2843a
fix dfsv2 tmpfs lock fault. (#8027) 2023-09-13 10:37:00 +08:00
Eric LGF 6deab5e93d 修复单次触发alarm,重复使用不启动定时器的bug 2023-09-12 18:08:15 -04:00
蒙蒙plus 0391b81bb5
Update dfs_tmpfs.c (#8030) 2023-09-12 21:04:21 +08:00
zmq810150896 7c3d966df6
Add the system call signalfd (#8001) 2023-09-11 14:06:08 +08:00
XYZ 012aa117af
[fix] copyfile dest file empty first (#8012) 2023-09-09 22:08:00 +08:00
Shell 459024f306
[smart/signal] fixups of signal (#7998)
Signed-off-by: Shell <smokewood@qq.com>
2023-09-09 09:37:38 +08:00
Shell 47b183a297
[smart/syscall] fix exit(2) and add exit_group(2) (#8005)
Signed-off-by: shell <smokewood@qq.com>
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
Signed-off-by: Shell <smokewood@qq.com>
2023-09-09 09:35:56 +08:00
Shell b8e332fa2d
[smart] add waitpid(-1) support (#8020)
Signed-off-by: shell <wangxiaoyao@rt-thread.com>
2023-09-09 09:35:33 +08:00
zhkag 0b9a808cca
[posix]修复消息队列返回长度异常 (#8014) 2023-09-08 18:15:03 +08:00
Meco Man 5f948690c9 [rtdef] rename RT_CTASSERT to RT_STATIC_ASSERT 2023-09-06 22:21:22 -04:00
zmq810150896 722a5fc29d
Optimize the epoll code to remove restrictions on descriptors (#7951) 2023-09-06 11:22:16 +08:00
XYZ 3602f89121
[smart][dfs v2] add cromfs (#7994)
Co-authored-by: xyz <xyz@rtt.com>
2023-09-01 00:20:55 +08:00
xyz 341fb40c95 [smart][fix] lwp fork with data copy 2023-08-30 16:37:08 +08:00
TangZhenye 810da67b6f [ctime] 避免时区为负数时引入的隐式转换问题 2023-08-28 22:26:26 -04:00
xiao-mang c85069f9fc
fix lwip (#7969) 2023-08-25 07:35:19 +08:00
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