summaryrefslogtreecommitdiff
path: root/components
AgeCommit message (Collapse)Author
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-02-21fix(serial_v2): tx_fifo->rb.buffer_ptr not init when RT_DEVICE_FLAG_DMA_TX ↵LaterComer
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-20[ci] open ci check with function declaration warning (#8546)Yuqiang Wang
2024-02-20[ci] fix errors under strick compiling modeMeco Man
2024-02-18[components][at] 优化AT组件,并解决内存泄露yangpengya
1.优化at server endmark判断,支持自动识别'\r''\n'"\r\n"。 2.优化at_recvfrom,修复大数据量时sem多次释放造成的接收错误。 3.修复at组件中可能存在的内存泄露。 4.优化部分代码逻辑,减少冗余代码。
2024-02-17[qspi]修复qspi配置未生效问题yangpeng
2024-02-09[msh] fix the version command (#8531)Bernard Xiong
2024-02-03fix MDK AC5 build warningsyangpeng
2024-01-26[sys_bind] [signalfd] update (#8507)rcitachi
2024-01-16[kservice] MT-safe output support (kprintf/kputs)Shell
Signed-off-by: Shell <[email protected]>
2024-01-09[drivers][core] 完善设备模型 (#8384)fangjianzhou
2024-01-09[finsh] support to check static thread sizeMeco Man
增加检查finsh线程实际使用是否超过当前设定的线程大小
2024-01-02fix some -Wmissing-prototypes warningsMeco Man
2024-01-02[kernel] Add hook for malloc servicesShell
Including the patch for memory allocation, testsuites and fixups of static analysis. Signed-off-by: Shell <[email protected]>
2023-12-28[components][dfs]修复FATFS文件系统使用cat命令导致断言bugYuqiang Wang
2023-12-28[libc] fix undefined warning of rt_memsetMeco Man
2023-12-26[ci][stm32f407] add attach config CI checkMeco Man
2023-12-26[components][drivers][sensor]暂时禁止使用sensorv2框架yangpeng
sensor v2框架仍在开发中
2023-12-26[pwm] Fix compiler warning1ridic
2023-12-25[libc][picolibc] fix llvm compling warningMeco Man
/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[kconfig] fix Kconfig warningsMeco Man
2023-12-25[pwm] Add second-level command completion1ridic
2023-12-24[component][drivers]add clk framework (#8213)zms123456
2023-12-21Update epoll and timerfd (#8330)zmq810150896
2023-12-21[libc][Kconfig] default open epoll/eventfd/signalfd/timerfd/select (#8386)zmq810150896
2023-12-19update smart kernel default select dfsv2.geniusgogo
2023-12-19fix warning #1295-D Deprecated declarationsulfurandcu
2023-12-16[libcpu][aarch64] 使用设备树对内存进行初始化 (#8320)fangjianzhou
2023-12-16dfsv2 code tidy. (#8374)geniusgogo
2023-12-12sync update dfs v2. (#8336)geniusgogo
2023-12-10update libc (#8335)geniusgogo
2023-12-10fix netif name length config. (#8356)geniusgogo
2023-12-06fix #8305, symlink bug.geniusgogo
2023-12-06Updated issues related to uds capacity and eventfd macro redefinition (#8329)zmq810150896
2023-12-05sync update net. (#8333)geniusgogo
2023-12-05update mm. (#8334)geniusgogo
2023-12-02[AF_UNIX] Update AF_UNIX bind, connect entry (#8314)rcitachi
2023-12-01[msh] add dependency of RT_USING_CONSOLEMeco Man
2023-12-01[nano][kernel] correct nano Kconfig dependencyMeco Man
2023-11-30[mm] Bugs fix for page_install on shadow region (#8308)Shell
Signed-off-by: Shell <[email protected]>
2023-11-30[nano] rt-thread susport nano optionMeco Man
2023-11-29修复 #8293 问题 (#8307)rcitachi
2023-11-28fix dfs path name overflow. (#8305)geniusgogo
2023-11-28[libcpu][aarch64] 使用设备树对CPU进行初始化 (#8221)fangjianzhou
2023-11-28[SAL] Update SAL,Add socketpair sendmsg recvmsg function (#8293)rcitachi
2023-11-26soft_i2c: Loop iteration variable: Conform to C89Raman Gopalan
2023-11-23fix dfsv2 romfs dfs_romfs_getdents buffer overflow.geniusgogo
2023-11-22[components][wlan]: update rt_wlan_join_scan_callback褚仕成
2023-11-22[driver/pipe] RT_UNAMED_PIPE_NUMBER add dependsguozhanxin
2023-11-21[libc] add RT_USING_INTERNAL_LIBC_ONLY macroMeco Man
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).