summaryrefslogtreecommitdiff
path: root/components/legacy
AgeCommit message (Collapse)Author
10 days[drivers][usb] Clarify the configuration interface count checkW GTO
10 days[usb][host] Bound interface enumeration and detach cleanup W GTO
Reject full configuration descriptors with more interfaces than the instance can hold. Clean up using the fixed interface-array capacity so an attach failure cannot leave detach trusting an oversized device-supplied count. Fixes #11288
12 daysfix[usb]: support VCOM polling receive with Serial V2Jaeyeong Lee
Signed-off-by: Jaeyeong Lee <[email protected]>
12 daysfix[usb]: stop aliasing rt_ringbuffer as rt_serial_rx_fifo in VCOMJaeyeong Lee
With RT_USB_DEVICE_CDC and RT_USING_SERIAL_V2 both enabled, _function_enable assigned the embedded rx_ringbuffer to serial.serial_rx. Serial V2 reads that pointer as a struct rt_serial_rx_fifo, whose first member is a rt_ringbuffer, so ring-buffer access happened to work while rx_cpt, rx_cpt_index and rx_timeout landed on the following members of struct vcom, corrupting tx_rbp. The layout shifts again with RT_SERIAL_USING_DMA, which inserts dma_ping_rb ahead of those fields. Serial V2 already owns the receive FIFO: dev_serial_v2.c allocates it with rt_malloc on open and releases it with rt_free on close, so the assignment also made rt_free run on memory inside struct vcom. Drop the assignment and read the FIFO Serial V2 owns. rt_hw_serial_isr reports RX_IND from serial_rx->rb, so the endpoint handler now fills that ring buffer and _vcom_getc drains it. The Serial V1 path is unchanged. Fixes #11739 Signed-off-by: Jaeyeong Lee <[email protected]>
2026-07-06components/usb: configure CDC VCOM stringsOld-Ding
2026-06-15[dm][virtio] support virtio dmGuEe-GUI
1. version for v1.2 2. support packed queue 1. support MMIO/PCI over bus 2. new virtio queue api with dma/cpu sync 3. update for virtio device drivers: - net - block - console - input - gpu 4. new virtio device drivers: - 9p - crypto - rng - scmi - scsi Signed-off-by: GuEe-GUI <[email protected]>
2025-09-01fix: warnings generated by Kconfig.maosql
2024-11-03:truck: renaming: move `smp` to `smp_call`Shell
2024-06-19[components][drivers]legacy fdt (#9062)zms123456
* legacy fdt * update fdt
2024-06-02refactor(drivers/usb):replace rtt usb stack with cherryusb (#8799)sakumisu
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-09-07[kernel][version] 采用新的版本宏定义Meco Man
版本控制规范:https://semver.org/ 目前的版本子号不是很规范,其中RT_VERSION甚至和VS那边造成了冲突 ```c /* RT-Thread version information */ #define RT_VERSION 4L /**< major version number */ #define RT_SUBVERSION 1L /**< minor version number */ #define RT_REVISION 1L /**< revise version number */ ``` 参考ESP32: ```c /** Major version number (X.x.x) */ #define ESP_ARDUINO_VERSION_MAJOR 2 /** Minor version number (x.X.x) */ #define ESP_ARDUINO_VERSION_MINOR 0 /** Patch version number (x.x.X) */ #define ESP_ARDUINO_VERSION_PATCH 3 ``` 建议改成: ```c /* Major version number (X.x.x) */ #define RT_VERSION_MAJOR 4 /* Minor version number (x.X.x) */ #define RT_VERSION_MINOR 2 /* Patch version number (x.x.X) */ #define RT_VERSION_PATCH 0 ```
2022-01-14[update] move dfs_posix.h to legacy/dfs/dfs_posix.hliukangcc
2021-11-24revise RT_USING_POSIX_STDIO to RT_USING_POSIX_DEVIOMeco Man
2021-11-14implement legacy supportMeco Man