summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-21[dfsv2] fixup out-of-memory access (#8973)Shell
This change addresses a potential out-of-memory access issue in the devfs filesystem component. The issue arises when the `rt_malloc` function allocates memory for a path string without accounting for the null terminator, leading to undefined behavior. As the manual documented: > DESCRIPTION > The strlen() function calculates the length of the string pointed to > by s, excluding the terminating null byte ('\0'). To fix this, the memory allocation size was increased by one byte to ensure space for the null terminator. This prevents potential out-of-memory access and ensures proper string termination. Signed-off-by: Shell <[email protected]>
2024-05-21[components][driver]add isr statistics (#8955)zms123456
add isr statistics
2024-05-21[tools/cmake] fix the issue of the missing link flags added in Sconscript ↵Astrozen
(#8957)
2024-05-21[utest] add device find (#8959)Shell
* [utest] add device find Signed-off-by: Shell <[email protected]> * fixup: add test * fixup: ptr aliasing * quality: meaning parameter --------- Signed-off-by: Shell <[email protected]>
2024-05-17✨ feat(bsp): hc32L196增加IAR_8.40支持蒙蒙plus
Signed-off-by: 蒙蒙plus <[email protected]>
2024-05-17[smart] select console device dynamically (#8949)Shell
* [smart] select console device dynamically - Fixed compiler warning on terminal subsystem for `components/lwp/terminal/terminal.h` - Updated default console setup to dynamically select an appropriate tty device based on the configured console device name. Signed-off-by: Shell <[email protected]> * fixup: remove useless codes --------- Signed-off-by: Shell <[email protected]>
2024-05-16[HC32] Fixed a bug about erase flash.JamieTx
2024-05-16[bsp/at32] 1.fixed f402 uart7/8 pierph clock source error, 2.fixed compiling ↵sheltonyu
error of drv_usart_v2.c with no dma
2024-05-16[libcpu/arm64] add C11 atomic ticket spinlock (#8882)Shell
* [libcpu/arm64] add C11 atomic ticket spinlock Replace the former implementation of flag-based spinlock which is unfair Besides, C11 atomic implementation is more readable (it's C anyway), and maintainable. Cause toolchain can use their builtin optimization and tune for different micro-architectures. For example armv8.5 introduces a better instruction. The compiler can help with that when it knows your target platform in support of it. Signed-off-by: Shell <[email protected]> * fixup: RT_CPUS_NR --------- Signed-off-by: Shell <[email protected]>
2024-05-16fix specified network card not taking effect with msh's ping error (#8937)xiao-mang
* fix specified network card not taking effect with msh's ping error * fix specified network card not taking effect with msh's ping error
2024-05-16[drivers][serial]fix error in getting serial_tty settings (#8953)zms123456
fix error in getting serial_tty settings
2024-05-13[bsp/cvitek]update gpio driver (#8946)flyingcys
update gpio driver
2024-05-13[drivers][ofw] fix ofw_alias_scan() bug (#8908)liYangYang
* fix ofw_alias_scan() bug * fix tag_len
2024-05-11修复C++11 ↵atwww
thread_local对象析构函数与实际内存释放动作顺序相反问题
2024-05-11[include/rtthread.h] rt_thread_close函数声明应当与RT_USING_HEAP无关Yang Xijing
2024-05-11[tools] fix env toolchain path parse issue (#8936)Meco Man
2024-05-11[components][drivers]fix compiler error in serial dm (#8927)zms123456
fix compiler error in serial dm
2024-05-11fix eth error (#8929)xiao-mang
* fix eth error * fix eth error * fix eth error * fix eth error * fix eth error
2024-05-11[hrtimer] fixup use-after-free (#8928)Shell
Signed-off-by: Shell <[email protected]>
2024-05-10remove intr disablezhao maosheng
2024-05-10add percpu interrupt infozhao maosheng
2024-05-10[smart] fixup arm64 aspace switch (#8925)Shell
* [smart] fixup arm64 aspace switch Signed-off-by: Shell <[email protected]> * fixup: arm add arch_kernel_mmu_table_get --------- Signed-off-by: Shell <[email protected]>
2024-05-09[renesas][hmi-board]update lvgl config and doc.Rbb666
2024-05-09Stm32F411 Blackpill CubeMX delete SPI_NSSLZero
2024-05-09fix_serial_baudrate_setgeniusgogo
2024-05-09fix RT_DEBUGING_ASSERTgeniusgogo
2024-05-08[BSP][HC32F460]清理已不再使用的文件sp-cai
PWM 配置文件 pwm_tmra_config.h 已合并到 pwm_tmr_config.h 了。
2024-05-08[bsp][at32]修复at32_transmit返回类型错误WaterFishJ
2024-05-08[libcpu][aarch64] Fixed the rt_hw_secondary_cpu_bsp_start() bug (#8898)liYangYang
* fix rt_hw_secondary_cpu_bsp_start() bug * timer init * comment
2024-05-08[tools] fix the issue of cc detection failure in Windows (#8914)Bernard Xiong
2024-05-07[kernel][timer] remove wordy logsMeco Man
2024-05-07[renesas][hmi-board]Support lvgl-9.xRbb666
2024-05-08[timer] The rt_timer_check and _soft_timer_check functions are merged (#8884)wdfk-prog
2024-05-08[ipc] support of lockless rt_completion (#8887)Shell
* [ipc] lockless rt_completion implementation The new rt_completion implemented by lockless algorithm can improve timer resolution for up to ~12%, compare to sem IPC. Signed-off-by: Shell <[email protected]> * fixup: error * remove useless changes --------- Signed-off-by: Shell <[email protected]>
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