| Age | Commit message (Collapse) | Author |
|
* [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]>
|
|
Signed-off-by: 蒙蒙plus <[email protected]>
|
|
* [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]>
|
|
|
|
error of drv_usart_v2.c with no dma
|
|
* [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]>
|
|
* fix specified network card not taking effect with msh's ping error
* fix specified network card not taking effect with msh's ping error
|
|
fix error in getting serial_tty settings
|
|
update gpio driver
|
|
* fix ofw_alias_scan() bug
* fix tag_len
|
|
thread_local对象析构函数与实际内存释放动作顺序相反问题
|
|
|
|
|
|
fix compiler error in serial dm
|
|
* fix eth error
* fix eth error
* fix eth error
* fix eth error
* fix eth error
|
|
Signed-off-by: Shell <[email protected]>
|
|
|
|
|
|
* [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]>
|
|
|
|
|
|
|
|
|
|
PWM 配置文件 pwm_tmra_config.h 已合并到 pwm_tmr_config.h 了。
|
|
|
|
* fix rt_hw_secondary_cpu_bsp_start() bug
* timer init
* comment
|
|
|
|
|
|
|
|
|
|
* [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]>
|
|
* [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]>
|
|
* [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]>
|
|
Signed-off-by: geniusgogo <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* fix art-pi smart boot from emmc
* fix art-pi smart boot from emmc
* fix art-pi smart boot from emmc
|
|
|
|
|
|
|
|
|
|
问题:
在使用硬件 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状态;
|
|
|
|
|