summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-08[libcpu/arm64] dealing with mem region out of kernel space (#8847)Shell
* [ofw] dealing with mem region out of kernel space - Fix parameter checking in _out_of_range() that NULL is excluded for fixed mapping - Split page install with a deferred stage to avoid mapping over ARCH_EARLY_MAP_SIZE Signed-off-by: Shell <[email protected]> * fixup: restrict vstart for using of RT_NULL --------- Signed-off-by: Shell <[email protected]>
2024-05-08[src] add rt_hw_cpu_id() wrapper API (#8894)Shell
* [src] add rt_hw_cpu_id() wrapper API rt_hw_cpu_id() is an unsafe API which should not be used by most codes directly. It's error-prone because it must be used in proper context, otherwise it can lead to errors and unpredictable behavior. This patch adds a wrapper API for rt_hw_cpu_id() to address this risk. It includes the context-checking functionality and provides a safer alternative for obtaining CPU IDs, ensuring that it is used correctly within the appropriate context. Signed-off-by: Shell <[email protected]> * fixup UMP * update API & comment * ci: cpp_check --------- Signed-off-by: Shell <[email protected]>
2024-05-07fix_serial_baudrate_setgeniusgogo
Signed-off-by: geniusgogo <[email protected]>
2024-05-07docs: fix source code catalog Name itemluhuadong
2024-05-07修改scons的脚本文件,使其适配更多芯片的工程生成QTbin
2024-05-07[stm32l4] export envMeco Man
2024-05-06[src][Kconfig]make RT_ASSERT independent of RT_USING_DEUBGzms123456
2024-05-06[bsp][stm32l4] remove local HALMeco Man
2024-05-06[stm32l4] select PKG_USING_STM32L4_HAL_DRIVERMeco Man
2024-05-06[stm32l4] remove HALMeco Man
2024-05-06[stm32l4] remove STM32L4xx_HAL/CMSISMeco Man
2024-05-06fix art-pi smart boot from emmc (#8904)xiao-mang
* fix art-pi smart boot from emmc * fix art-pi smart boot from emmc * fix art-pi smart boot from emmc
2024-05-05[stm32l475pandora] format KconfigMeco Man
2024-05-05[stm32] 调整CMSIS-Core软件包宏Meco Man
2024-05-05[stm32] format KconfigMeco Man
2024-05-05[ci] disable tools check temporarilyMeco Man
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