summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-04[stm32] i2c hard driver fixup:增加硬件I2C传输超时等待时间SCZeiDan
问题: 在使用硬件 I2C 驱动进行音频模块 WM8978 配置时,发现连续 rt_i2c_transfer 进行 I2C 传输时发现,连续多次调用 rt_i2c_transfer 会出现丢包现象;溯源发现是每次使用 rt_i2c_transfer 传输2字节,传输频率过高导致底层 HAL_I2C_Master_Seq_Transmit_DMA 报错 HAL_BUSY; 现象: rt_completion_wait超时等待完成之后,I2C仍处于HAL_I2C_STATE_BUSY_TX状态,且后续第二次运行至HAL_I2C_Master_Seq_Transmit_DMA时会直接返回HAL_BUSY,从而直接 goto out; 退出而不会再次进行超时等待; * drv_hard_i2c.c: 修复325行缺失'}'语法错误;更改HAL_I2C_xx_Transimt_xx调用中目标设备地址值;i2c_hard_config.h: 添加STM32F系列芯片xx_DMA_CONFIG宏定义; * 回溯I2C设备地址传参处(msg->addr<<1)修改; * fixup: 增加硬件I2C传输延时,解决连续传输导致HAL_BUSY状态;
2024-05-04[bsp][ch32v307]添加了适配RT-Thread的全速USB驱动IceBear003
2024-05-03[tools] Add --cdb to make compile_commands.json.bernard
2024-05-02[bsp][gd32] ↵Junjie Wang
修复串口驱动中由于可能的中断嵌套而导致RB索引异常的问题
2024-05-01[kernel] add rt_thread_close()Shell
* [thread] Add rt_thread_close() This patch introduces a new function `rt_thread_close()` to enhances the usability and maintainability by providing a dedicated mechanism for closing threads. - A new function `rt_thread_close()` is added to the API, providing a standardized approach for closing threads. - The `rt_thread_close()` function removes a thread from the thread queue, updates its status to indicate closure, and performs the thread timer detaching which is a embedded timer in thread object. - Additionally, the `rt_thread_detach()` function is modified to utilize `rt_thread_close()` internally, streamlining the thread detachment process. Signed-off-by: Shell <[email protected]>
2024-04-30[bsp/at32] add at32 bsp to auto cisheltonyu
2024-04-30Fix compiling eror in hpmicro bsp (#8889)Fan Yang
- added 'DEVICE' to rtconfig.py - fixed compiling error cuased by change in interrupt_gcc.S Signed-off-by: Fan YANG <[email protected]>
2024-04-30[bsp/at32] add support at32a403a/a423 series and fix driver issues(uart/dma)sheltonyu
2024-04-30Add comments for all functions in components/libc/posix/ipc/mqueue.cTroy
2024-04-29[i2c] adjust the timing for I2C initializationLZerro
2024-04-29[components][drivers] added sensor device lookup functionyiyi
2024-04-29[spi] soft_spi_pin_init loop variable is initialized to 0LZerro
The loop variable in the function 'drv_soft_spi:xx_pin_init()' is initialized to 0.
2024-04-29[HC32] support HC32F472 & remove residual fileschengy2
2024-04-29[bsp/cvitek]add eth driverflyingcys
2024-04-29fix baudrate error (#8873)xiao-mang
* fix baudrate error * fix baudrate error * fix baudrate error * fix baudrate error * fix baudrate error * fix baudrate error * fix baudrate error * fix baudrate error * fix baudrate error
2024-04-29[ci] set at_device package as strict modeMeco Man
2024-04-29[ci] add workflow to check env 1.5.x stable versionMeco Man
2024-04-28[bsp/cvitek]update cvitek sdhci drvier (#8874)flyingcys
update cvitek sdhci drvier
2024-04-28fix file mmap (#8865)xiao-mang
2024-04-28[src][thread]bind cpu fixup (#8872)zms123456
bind cpu fixup
2024-04-27[mem]When using SLAB, calls to memcheck and memtrace will be abnormal (#8862)wdfk-prog
* [mem]When using SLAB, calls to memcheck and memtrace will be abnormal * [mem]The memtrace printing system does not match the display
2024-04-27[drivers][ofw] Fixed fdt_scan_memory() memory adjustment bug (#8853)liYangYang
* Fixed fdt memory adjustment bug * Modify the memory adjustment logic
2024-04-26Add comments for all functions in components/libc/posix/io/termios/termios.cTroy
2024-04-26enable poll (#8867)xiao-mang
config poll
2024-04-25fix sys_getcwd (#8852)xiao-mang
2024-04-25[components][dfs]remove duplicate lseek in devfs (#8859)zms123456
remove duplicate lseek in devfs
2024-04-25[smart] fix tty serial ioctl (#8861)Shell
Using param callback to reduce unnecessary call. Signed-off-by: Shell <[email protected]>
2024-04-25[ci] fix doxygen ci grammar errorMeco Man
2024-04-24[bsp][stm32] fix bugs of i2c hardware driversSCZeiDan
在STM32F429IGTx设备上使用硬件i2c驱动程序师遇到以下几个问题: 语法错误:drv_hard_i2c.c 行67、68中i2c_handle未正常替换过来,估计是上个版本对变量重命名后因为宏定义忽略了此处修改; 语法错误:drv_hard_i2c.c 行326中缺少一个"}"导致编译出错; 初始化i2c设备过程中对双地址选项进行设置时(i2c_handle->Init.OwnAddress2Masks = I2C_OA2_NOMASK),STM32F4系列SOC没有这个配置定义,于是我直接将双地址模式关闭了(i2c_handle->Init.DualAddressMode = I2C_DUALADDRESS_DISABLE); 初始化i2c设备(DMA方式)过程中发现i2c_hard_config.h文件中未定义DMA通道配置; 主要补丁如下: 修复硬件i2c驱动代码中语法错误(drv_hard_i2c.c行67、68、326); 关闭默认i2c双地址模式(drv_hard_i2c.c行75:I2C_DUALADDRESS_DISABLE); 添加硬件i2c驱动配置文件DMA相关配置项,增加对SOC_SERIES_STM32F2、SOC_SERIES_STM32F4、SOC_SERIES_STM32F7系列芯片配置DMA_CHANNEL的适配
2024-04-24Add some comments in components/libc/posix/ipc/semaphore.c (#8848)Troy
2024-04-24[bsp]support cvitek sdhci drvier (#8849)flyingcys
support cvitek sdhci drvier
2024-04-23[bsp][cvitek] Initialize the Milk-V Duo 256M using the device tree (#8841)liYangYang
Initialize the board using the device tree
2024-04-23[tools] fix menuconfig error on vscode console (#8843)Shell
Signed-off-by: Shell <[email protected]>
2024-04-22[STM32][SPI-DMA]特定条件下接收错误wdfk-prog
2024-04-22[ipc] [dataqueue] 修复队列 pop 挂起的线程 push ↵sp-cai
无法恢复运行的错误 (#8839) 队列在 push 后查找挂起列表时使用了错误的挂起列表。
2024-04-22[bsp][renesas]Link script adds finsh related sections. (#8837)Rbb666
2024-04-22[components][drivers]improve ktimer sleep (#8838)zms123456
improve ktimer sleep
2024-04-21[bsp][cvitek] Milk-V Duo 256M Supports running ARM large core and RISCV ↵liYangYang
small core 支持将rtthread.bin和dtb文件合成boot.sd文件,使用uboot直接通过bootcmd命令启动rtthread内核。 支持构建带有小核riscv程序的fip.bin文件,保证在运行arm大核的同时运行小核的riscv程序。
2024-04-21[clang-format] ↵latercomer
增加clang-format格式化配置,通过ide或者手动运行tools/run-clang-format.py进行代码自动格式化
2024-04-21[bsp][acm32]format utf-8latercomer
2024-04-20[bsp][nxp] Add select BSP_USING_PIN for SPI and RW007 driverSiwei Xu
2024-04-20[klibc] organize and renmae macros, and add CI checkMeco Man
2024-04-20remove AUTHORS fileMeco Man
2024-04-20[tools] fix EXEC_PATH exists, but the CC does not.bernard
2024-04-21[tools] Add toolchain detection in sdk packages (#8827)Bernard Xiong
2024-04-20[smart] fixup rt_hw_serial_unregister_tty of serial ttyShell
Mutex lock should be taken before release the TTY device. Signed-off-by: Shell <[email protected]>
2024-04-20[ci] disable doxygen checkMeco Man
2024-04-20[kernel] move errno functions into klibcMeco Man
2024-04-20[ci] remove JenkinsfileMeco Man
2024-04-19解决LOG_RAW异步输出多条文本的时候会被截断,原因是rt_vsn ↵latercomer
printf会在字符串最后添加\0,ulog.c中的do_output()将\0也压入到ulog.async_rb,当LOG_RAW没有及时输出,那么rb中的字符串被\0截断了,导致没法正确输出LOG_RAW信息