| Age | Commit message (Collapse) | Author |
|
Signed-off-by: coyaSONG <[email protected]>
|
|
|
|
|
|
n32h497zgl7-evb和n32h487zgl7-evb bsp (#11627)
1、修改n32\n32gxx_lxx\n32g4frml-stb中的GCC启动文件bl entry
2、修复完善n32h760zil7-stb bsp,支持GCC环境、支持更多外设
3、添加n32h487zgl7-evb初版BSP
4、添加n32h497zgl7-evb初版BSP
5、删除n32g452xx这个bsp
---------
Co-authored-by: OnlyoutzZ <OnlyoutzZ+github[bot]@noreply.github.com>
|
|
|
|
|
|
|
|
|
|
- 增加单元测试
Clarified mutex release conditions and added exception handling for closed owner threads.
|
|
|
|
* [bsp][drives]fix(spi_config):修复H7的SPI6配置缺失问题
* style: format code with clang-format [skip ci]
* [bsp][stm32]refactor:(spi_config):去除尚不支持的DMA相关配置
* [bsp][stm32]refactor(spi_config):格式化SPI_CONFIG.H
---------
Co-authored-by: moment-NEW <moment-NEW+github[bot]@noreply.github.com>
|
|
|
|
|
|
|
|
Link: https://github.com/RT-Thread/rt-thread/issues/11604
Signed-off-by: GuEe-GUI <[email protected]>
|
|
Reject IPv4 addresses outside 224.0.0.0/4 before updating the multicast MAC hash. The previous condition used AND, so it could never reject a non-multicast first octet.
Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <[email protected]>
|
|
Keep pin2irqindex within the pin_irq_map bounds and handle the first map entry without reading index -1. Pass encoded pin values to the IRQ map lookup path, and validate the lookup result before indexing the map.
Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <[email protected]>
|
|
|
|
Fill the mDNS domain name buffers with their array size instead of the size of the MDNS_DOMAIN_MAXLEN constant. This preserves the test intent of leaving different trailing bytes after equal names are encoded.
Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <[email protected]>
|
|
(#11489)
* support gpio and LPUART, Serial V2, DMA (V2)
* remove unused ci comment workflows
* fix: correct YAML indentation on line 12 in ci workflow files
* [bsp][nxp]support imxrt1180-evk board gpio and LPUART, Serial V2, DMA V2
* fix: address review feedback - revert CI/drv_uart.c/dev_serial.c, remove drv_uart_v2.h, use drv_uart.h instead
* revert: remove framework file changes per review feedback
* fix: remove unused variable 'value' in imxrt_pin_read
* fix: remove trailing whitespace in pin_mux.c
|
|
* SLCD BSP driver support
* style: format code with clang-format [skip ci]
* Update default for SLCD display configuration
Change default setting for onboard SLCD display to 'n'.
* add ci.attach for slcd
---------
Co-authored-by: yuplus <yuplus+github[bot]@noreply.github.com>
Co-authored-by: WANGYU <[email protected]>
|
|
|
|
|
|
|
|
|
|
rt_smem_setname() dereferenced name[index] without checking for
NULL first. Some callers legitimately pass an unnamed allocation
through with a NULL name, which crashed instead of just leaving
the trace field blank.
Treat a NULL name the same as an empty string, so the existing
fill-with-spaces loop below handles it without duplicating that
logic.
Fixes #9793
Signed-off-by: yi chen <[email protected]>
|
|
|
|
|
|
|
|
- Add chip macro for driver
- Modify 'IDLE_THREAD_STACK_SIZE' to 512
- Modify 'HWTIMER' to 'CLOCK_TIMER'
- Use 'clang-format' format driver and BSP code
- Fix SPI clock division configuration
|
|
|
|
|
|
|
|
The RT_USING_CPU_USAGE_TRACER print block was duplicated identically in
both the ARCH_CPU_STACK_GROWS_UPWARD and the normal branch of
list_thread(). Both branches only differ in the stack usage line (which
has no trailing newline), so move the single shared block after the
#endif of the stack-growth conditional. No functional change.
|
|
|
|
Removed unnecessary comments from dfs_elm_free_vnode function.
|
|
|
|
|
|
* [bsp][imxrt1180-nxp-evk]add TIMER support
* [bsp][imxrt1180-nxp-evk]update TIMER support
* [bsp][imxrt1180-nxp-evk] move fsl_gpt.c inclusion to SDK package SConscript
* [bsp][imxrt1180-nxp-evk] restore main.c to original Hello_World version
* [bsp][imxrt1180-nxp-evk] remove libraries/drivers/drv_timer.h
* [bsp][imxrt1180-nxp-evk]update TIMER support
|
|
|
|
|
|
|
|
|
|
|
|
同步 Renesas BSP 的 MDK5 工程生成方式,移除对 RASC gpdsc/build hook 的依赖,并更新由 scons 生成的 Keil 工程。
已保留存在实际 via 文件的 BSP 配置,仅移除缺失 via 文件的引用。
|
|
rt_hw_eth_init() clears ENET descriptor tables using element size times count, but the RX/TX data buffers used sizeof(size), which only covers the width of the size field.
Use the configured buffer count and size so the whole RX/TX buffer areas are initialized before handing them to the ENET descriptor configuration.
Make the Cppcheck intent explicit for the HPM placement macros and the LPI_CSR register read so the touched file passes static analysis.
Signed-off-by: Old-Ding <[email protected]>
|
|
rt_pci_ep_set_msi() checked the set_msix callback before calling set_msi. That rejects endpoint controllers that implement MSI without MSI-X, and can call through a NULL set_msi pointer when only MSI-X is provided.
The same helper converts a requested MSI vector count into the log2 field passed to the controller. Stop after the first value large enough for the request so smaller requests are not widened by later loop iterations.
Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <[email protected]>
|
|
rt_pic_linear_irq() stores irq_nr as a count and assigns pic->pirqs to the first entry in that range. rt_pic_find_pirq() therefore must treat the upper bound as exclusive.
The inclusive check could return pic->pirqs[irq_nr] when irq equals irq_start + irq_nr, which is one entry past the allocated range.
Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <[email protected]>
|
|
RT_CAN_CMD_SET_BITTIMING receives an array of struct rt_can_bit_timing entries. The Rockchip CAN-FD driver used sizeof(&timing->items[n]) when copying those entries, so only pointer-sized bytes were copied into the device configuration.
Use the element size so both arbitration and data phase timing structures are copied completely.
Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <[email protected]>
|
|
Valid slew_rates indices are 0 through RT_ARRAY_SIZE(slew_rates) - 1.
The current check rejects only values greater than the table size,
allowing slew_idx == RT_ARRAY_SIZE(slew_rates) to index one element
past the table.
Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <[email protected]>
|