summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-11-18[DM/FIXUP] remove OFW switch macrosGuEe-GUI
The drivers will support OFW and name probe both. We should make build OK when OFW is disable. Signed-off-by: GuEe-GUI <[email protected]>
2024-11-18[DM/FEATURE] DM Device IDA managementGuEe-GUI
Drivers can manage their own IDs without having to concern themselves with the register/unregister in system Link: https://github.com/RT-Thread/rt-thread/issues/9534 Signed-off-by: GuEe-GUI <[email protected]>
2024-11-18add headzhuzhuzhu
2024-11-18add ofw api to of net,driver writer can use this api get phy modes or get ↵zhujiale
mac address
2024-11-18pcizhujiale
2024-11-17Revert "[tools] use project's dir basename as default project name"Supper Thomas
This reverts commit ea75800d5b3be3e63c6304afed8b06a3fdeae289.
2024-11-17[libcpu] fix No memory higher than 1 GB is mappedzhujiale
2024-11-17[libcpu] fix No memory higher than 1 GB is mappedzhujiale
2024-11-18[utest] format code and remove duplicate header fileMeco Man
2024-11-18[utest][Kconfig] adjust RT_CONSOLEBUF_SIZE when utest is enabledMeco Man
2024-11-18[utest][stm32f412][gcc] add __rt_utest_tc_tab_start to support utestMeco Man
2024-11-17Modify the position of libc_rent definitionrcitachi
2024-11-16[components/libc/posix][pthreads]add comments for thread APIs of pthread.ligr
2024-11-15[net][sal]add comments for BSD socket APIs.ligr
2024-11-15[rpi4b] add new bsp for qemu-rpi4bzhujiale
2024-11-15[libcpu]riscv使用call指令解决长跳转问题heyuanjie87
2024-11-15[bsp][cvitek]fix milkv-duos-sd cann't startup big-core kernel (#9633)flyingcys
fix milkv-duos-sd cann't startup big-core kernel milkv-duos-sd use cv1813h folder store ld file Signed-off-by: flyingcys <[email protected]>
2024-11-14bsp: qemu-virt64-riscv: Improve README (#9651)Chen Wang
Improved README document - Unified the usage process of Standard Edition and Smart Edition. - Deleted the description of running RTT in Machine Mode. Currently, both Standard Edition and Smart Edition RTT run in S-mode by default. At the same time, some unnecessary scripts were cleaned up. Signed-off-by: Chen Wang <[email protected]>
2024-11-14[bsp][ESP32] add spi custom configuration function and enhance muti object ↵wumingzi
initliz… (#9643) * add spi custom configuration function and enhance muti object initlization and setting * update changelog * submit ci files * fix ci file * update * formatting * delete yaml files * fix ble ci file * fix undefined reference to app_main error * update
2024-11-13[bsp][gd32][fix rtc clock selection]WwWangGuan
2024-11-13fix:[CAN][STM32]open时立刻启动can_start,还未完成其他配置,可能 ↵wdfk-prog
导致异常
2024-11-13feat: devfs: handling unit size in POSIX RW requestShell
POSIX.1 says: > read() attempts to read up to count bytes from file descriptor fd > into the buffer starting at buf. On the other hand, for rt_device_read, the `@size` is defined as the number of unit (block size for blk device, otherwise one byte). Changes: - Transferred unit size from POSIX R/W(in bytes) to rt_device_R/W during request of file R/W operations. Signed-off-by: Shell <[email protected]>
2024-11-13[bsp][nxp][mcxa153] add more UART channels (#9635)下里巴人
* [bsp][nxp][mcxa153] add more UART channels
2024-11-13[libc] add comments for libdl APIs.ligr
2024-11-12fixup: smart: uninitialized buffer on mount(2) (#9636)Shell
The `struct stat` object used inside mount(2) is uninitialized, which can lead to undefined behavior during running Changes: - Set zero to buffer before calling to stat() Signed-off-by: Shell <[email protected]>
2024-11-11[action] remove rockchip/rk3568 because of the complie timeSupper Thomas
2024-11-11[tools] add project.json generation in vsc.py. (#9632)Bernard Xiong
* [tools] fix the SDK path issue in env script. * [tools] add project.json generation in vsc.py. * [tools] provide correct and clear comments in vsc.py
2024-11-09[bsp/hc32] fix uart dma if gcc optimization level is not noneliuchao
2024-11-08[bsp][cvitek] fix pinmux array order error (#9593)Alex Imcu
2024-11-07[action] attachconfig adapts yml syntax features (#9629)hydevcode
2024-11-06[BSP][FRDM-MCXN947]Add IAR9.60 project template.andeyqi
2024-11-07[action] yml file adds the depends parameter (#9627)hydevcode
2024-11-06[tools] use project's dir basename as default project nameliuchao
2024-11-06[bsp][ifx] Infineon RTC driver adds alarm functionkurisaw
2024-11-06[libcpu][component] fixed the r52 kernel gcc context switch assemblykurisaw
2024-11-05[dm2.0] add new bsp for rk platformzhujiale
2024-11-05[components/net/at]修复大数据量传输socket断开后可能丢数据的 ↵yangpeng
问题
2024-11-05[action] Recursive folder lookup attachconfig.ymlhydevcode
2024-11-04[components][finsh]在RT_USING_POSIX_STDIO时,使用get_console获取当� ↵liuchao
�console描述符
2024-11-04[action] add the yml file supportSupper Thomas
2024-11-05Specification submissionkurisaw
2024-11-05[net][lwip] lwip hook functions are provided to provide greater flexibility ↵kurisaw
for unknown Ethernet protocols
2024-11-04[components/net/at]修复at socket信号量释放异常yangpeng
2024-11-04[GD32]更新GD32E503V文档zhangjianwu
2024-11-04[COMPILER/FEATURE] Support rt_packedGuEe-GUI
__ARMCC_VERSION: https://smtp.keil.com/support/man/docs/armcc/armcc_chr1359124980173.htm __IAR_SYSTEMS_ICC__: <Not Found> __GNUC__: https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#index-packed-type-attribute __ADSPBLACKFIN__: <Not Found> _MSC_VER: https://learn.microsoft.com/en-us/cpp/preprocessor/pack?view=msvc-170 __TI_COMPILER_VERSION__: https://software-dl.ti.com/codegen/docs/tiarmclang/rel1_3_0_LTS/migration_guide/migrating_c_and_cpp_source/pragmas_and_attributes.html __TASKING__: https://resources.tasking.com/sites/default/files/2021-02/TASKING_Alignment%20Requirements%20Restrictions_WEB.pdf Usage: ```c rt_packed(struct object1 { int dword; char byte; }); typedef struct object1 object1; rt_packed(struct object2 { int dword; char byte; }); ``` Signed-off-by: GuEe-GUI <[email protected]>
2024-11-03:truck: renaming: move `smp` to `smp_call`Shell
2024-11-03utest: smp_call: add smoke test casesShell
Signed-off-by: Shell <[email protected]>
2024-11-03feat: smp_call: added signaling call_reqShell
This patch introduces `rt_smp_call_request` API to handle queued requests across cores with user provided data buffer, which provides a way to request IPI through a non-blocking pattern. It also resolved several issues in the old implementation: - Multiple requests from different cores can not be queued in the work object of the target core. - Data racing on `rt_smp_work` of same core. If multiple requests came in turns, or if the call is used by the target cpu, while a new request is coming, the value will be overwrite. - Memory vulnerability. The rt_smp_event is allocated on stack, though the caller may not wait until the call is done. - API naming problem. Actually we don't provide a way to issue an IPI to ANY core in mask. What the API do is aligned to MANY pattern. - FUNC_IPI registering to PIC. Changes: - Declared and configured the new `RT_SMP_CALL_IPI` to support functional IPIs for task requests across cores. - Replaced the single `rt_smp_work` array with `call_req_cores` to manage per-core call requests safely. - Added `_call_req_take` and `_call_req_release` functions for atomic handling of request lifetimes, preventing data race conditions. - Replaced single event handling with a queue-based approach (`call_queue`) for efficient multi-request processing per core. - Introduced `rt_smp_call_ipi_handler` to process queued requests, reducing IPI contention by only sending new requests when needed. - Implemented `_smp_call_remote_request` to handle remote requests with specific flags, enabling more flexible core-to-core task signaling. - Refined `rt_smp_call_req_init` to initialize and track requests with atomic usage flags, mitigating potential memory vulnerabilities. Signed-off-by: Shell <[email protected]>
2024-11-03feat: rtatomic: lockless single linked listShell
Signed-off-by: Shell <[email protected]>
2024-11-03feat: Added rt_interrupt_context* family for nested interrupt handlingShell
These changes introduce the rt_interrupt_context family, providing a mechanism for managing nested interrupts. The context management ensures proper storage and retrieval of interrupt states, improving reliability in nested interrupt scenarios by enabling context tracking across different interrupt levels. This enhancement is essential for platforms where nested interrupt handling is crucial, such as in real- time or multi-threaded applications. Changes: - Defined rt_interrupt_context structure with context and node fields in `rtdef.h` to support nested interrupts. - Added rt_slist_pop function in `rtservice.h` for simplified node removal in singly linked lists. - Declared rt_interrupt_context_push, rt_interrupt_context_pop, and rt_interrupt_context_get functions in `rtthread.h` to manage the interrupt/exception stack. - Modified AArch64 CPU support in `cpuport.h` to include rt_hw_show_register for debugging registers. - Refactored `_rt_hw_trap_irq` in `trap.c` for context-aware IRQ handling, with stack push/pop logic to handle nested contexts. - Implemented interrupt context push, pop, and retrieval logic in `irq.c` to manage context at the CPU level. Signed-off-by: Shell <[email protected]>