summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-26[bsp/at32] update usb host driver (#8560)sheltonyu
2024-02-26[bsp][nxp/mcxn] Add support for MCXN CTIMER PWM driver.Yilin Sun
This patch adds support for PWM generation using CTIMER on MCXN devices. Each CTIMER provides 4 PWM channels, channels sharing the same CTIMER instance will have the same period settings, and the duty cycle will be maintained if period is changed through one of the four channels. The period channel is automatically assigned and will be transferred to one of the other available channels if that channel is used for PWM generation, no glitches should be expected during the transition. The patch also provides a sample PWM output configuration connected to the on-board green LED which can be enabled through Kconfig. Signed-off-by: Yilin Sun <[email protected]>
2024-02-24[ci] add online pkgs trigger eventMeco Man
2024-02-25[kservice] 完善rt_vsnprintf (#8558)Meco Man
2024-02-23[stm32f412] support RTduino SPIMeco Man
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-02-22[bsp][hc32] support hc32f448skllii
2024-02-21[bsp][nxp/mcxn] hwtimer: initial support for MRT.Yilin Sun
This patch adds support for hwtimer using MRT0 instance which simulates 4 independent timers. The frequency is fixed to AHB bus frequency and not adjustable. Signed-off-by: Yilin Sun <[email protected]>
2024-02-21[bsp][nxp/mcxn] kconfig: update hwtimer config.Yilin Sun
Signed-off-by: Yilin Sun <[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][bsp][nxp] Enable CI build checks on MCXN/MCXA.Yilin Sun
Signed-off-by: Yilin Sun <[email protected]>
2024-02-20[libcpu] 修复当开启 RT_USING_SMP ,并且 RT_CPUS_NR = 1 ↵fangjianzhou
时编译报错问题
2024-02-20[bsp][mcxa] FRDM-MCXA153: GNU toolchain: fixed flags.Yilin Sun
Signed-off-by: Yilin Sun <[email protected]>
2024-02-20[bsp][nxp/mcxa] FRDM-MCXA153: Added GNU linker script.Yilin Sun
Signed-off-by: Yilin Sun <[email protected]>
2024-02-19[bsp][phytium ] support dc driver with opsWangzongqiang
修改bsp/phytium中DC驱动接口,利用ops注册相关驱动
2024-02-20[ci] fix errors under strick compiling modeMeco Man
2024-02-20[kernel][SConscript] add strict warning cflagsMeco Man
2024-02-20[libcpu][SConscript]规范group名为libcpuMeco Man
2024-02-19[bsp][nxp/mcxn10] Initial support for RTC driver.Yilin Sun
Signed-off-by: Yilin Sun <[email protected]>
2024-02-19[bsp][nxp] fix gpio and sw pin issueyandld
2024-02-19[kernel] fix some strict compiling warningsMeco Man
2024-02-19[GD32_ARM] Fix bugs in drv_adc when enable multiple channel.Jiangrunnan
2024-02-18[bsp][nxp/mcxn10] GNU toolchain: fix broken port.Yilin Sun
Details: Please check #8525 Signed-off-by: Yilin Sun <[email protected]>
2024-02-18[bsp][nxp/mcxn10] Add RTT constant table sections to GNU lds.Yilin Sun
Details: Please check #8525 Signed-off-by: Yilin Sun <[email protected]>
2024-02-18[ci][attach] add AT CI check attach filesMeco Man
2024-02-18[bsp][cvitek] 修复cv1800b默认中断号的配置问题flyingcys
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-16添加 BSP_USING_WIFI 宏控制 (#8536)Shicheng Chu
2024-02-15[bsp][cvitek]: add c906_little i2c driver (#8535)Shicheng Chu
2024-02-16Bsp nxp support (#8530)杨熙
Co-authored-by: StackYuan <[email protected]>
2024-02-13[ci][arduino] 将Arduino库CI检查平台由STM32F411改为412 (#8534)Meco Man
2024-02-10Change copyright information to 2024 🐉 (#8532)Bernard Xiong
2024-02-09[msh] fix the version command (#8531)Bernard Xiong
2024-02-07[bsp][lpc55sxx] GNU toolchain: fix broken port.Yilin Sun
1 - The current linker flags undefines `Reset_Handler' and uses `entry()' as default entry point (specified by `-e'), which will cause a invalid reset vector in the image without proper crt0 init assembly routine. 2 - The default startup files provided by NXP violate the crt0 assumption that bss section will be filled with zero unless macro `__STARTUP_CLEAR_BSS' is defined. This will cause RTT hook funtion pointers set to non-NULL values at kernel start, thus successfully passes the `RT_nnnn_HOOK_CALL` checks and jumps to an invalid pointer. 3 - The default heap size used by TCB and kernel objects are set by linker file macros, which is 0x400 (1024 bytes). The size is too small for main task and the allocation will fail before the first task being created. This patch restores Reset_Handler as default reset vector and executes entry by replacing __START from newlib, defines the `__STARTUP_CLEAR_BSS` macro to forcibly zeroize the bss section to avoid unexpected hard faults, set proper heap sizes based on the SRAM sizes. Some unused compiler/linker flags are also removed or replaced to avoid future confusion. The heap sizes for different devices are: * LPC55(S)69/LPC55(S)28: 64kB * LPC55(S)06/LPC55(S)16/LPC55(S)36: 32kB Signed-off-by: Yilin Sun <[email protected]>
2024-02-07[bsp][lpc55sxx] Add RTT constant table sections to GNU lds.Yilin Sun
The following RTT constant table sections are missing from the linker script which will cause non-functional image: * .rti_fn* * FSymTab * VSymTab Add these sections after .text sections. Signed-off-by: Yilin Sun <[email protected]>
2024-02-07[bsp][lpc55sxx] Update default configs for LPC5500 series.Yilin Sun
Fixes compilation errors on mainline RTT versions. Signed-off-by: Yilin Sun <[email protected]>
2024-02-06preventing erroneous optimization of rt_ioremap_earlyzhao maosheng
2024-02-04[bsp][stm32] add English README for stm32h5Shicheng Chu
2024-02-03fix MDK AC5 build warningsyangpeng
2024-02-03[bsp][hmi-board] Optimize hardware driver configuration and trim the project ↵kurisaw
file volume
2024-02-02[ci][bsp][pico] add lvgl attachconfig fileMeco Man
2024-02-01[bsp][pico] add board/KconfigMeco Man
2024-02-01[bsp][nxp] add mcxn947yandld
2024-01-29[bsp][renesas] Optimize startup check script structurekurisaw
2024-01-29add cvitek/c906_little (#8514)flyingcys
2024-01-28[bsp][pico]: support pwm adc iic for pico rtduino (#8512)Shicheng Chu
2024-01-28fix bl808-d0 && cv1800b compile error (#8513)flyingcys
2024-01-28add libcpu/risc-v/rv64 (#8511)flyingcys