|
| 1 | +# RT-Thread v5.2.2 Released |
| 2 | + |
| 3 | +Change Log Since v5.2.1 Release. |
| 4 | + |
| 5 | +## Kernel |
| 6 | + |
| 7 | +* Fix scheduling exception caused by interrupt preemption in rt_schedule.[(#10715)](https://github.com/RT-Thread/rt-thread/pull/10715) |
| 8 | +* Fix the legacy issue related to the length of the object name version.[(#10537)](https://github.com/RT-Thread/rt-thread/pull/10537) |
| 9 | +* Fixed buffer overflow vulnerability in object.[(#10523)](https://github.com/RT-Thread/rt-thread/pull/10523) |
| 10 | +* Add up scheduler critical switch flag.[(#10581)](https://github.com/RT-Thread/rt-thread/pull/10581) |
| 11 | +* Update the default value of RT_NAME_MAX to 12.[(#10839)](https://github.com/RT-Thread/rt-thread/pull/10839) |
| 12 | +* Feat the rt_scheduler lock nest uses atomic operations.[(#10621)](https://github.com/RT-Thread/rt-thread/pull/10621) |
| 13 | + |
| 14 | +## Components |
| 15 | + |
| 16 | +* **Drivers** |
| 17 | + * **Serial:** |
| 18 | + * serial_v1 |
| 19 | + * Fix correct data loss logic when RX ring buffer is full. |
| 20 | + * serial_v2 |
| 21 | + * Fix the bug of RX flush under DMA. |
| 22 | + * Add serial V2 buffer configuration via Kconfig. |
| 23 | + * Feat optimize serial v2. [(#10603)](https://github.com/RT-Thread/rt-thread/pull/10603) |
| 24 | + * Feat modify the default configuration of the RT_SERIAL_CONFIG_DEFAULT structure to support parameters in the absence of DMA configuration. |
| 25 | + * **RTC:** |
| 26 | + * Add the alarm using local time for calculation. |
| 27 | + * **CAN:** |
| 28 | + * Fixed the issue where the thread calling CAN int TX was suspended when CAN at the bottom layer failed to work. |
| 29 | + * Feat: Implement non-blocking send mechanism and enhance CAN driver functionality. |
| 30 | + * **SPI:** |
| 31 | + * Add SPI device detach function.[(#10733)](https://github.com/RT-Thread/rt-thread/pull/10733) |
| 32 | + * Update and fix up the SPI. |
| 33 | + * **ADC:** |
| 34 | + * Fixed cppcheck error. |
| 35 | + * Remove build warnings. |
| 36 | + * **ktime:** |
| 37 | + * Remove unused rt_ktime_hrtimer_getcnt for hrtimer. |
| 38 | + * **wlan:** |
| 39 | + * Update SECURITY_UNKNOWN value. |
| 40 | +* **LWP** |
| 41 | + * Fix potential signal handler infinite loop for riscv. |
| 42 | + * Feat: Restore TP register in arch_thread_signal_enter to fix user-mode memory access. |
| 43 | +* **Libc** |
| 44 | + * Add comments for some pthread functions. |
| 45 | + * pthreads: Fix pthread_cond_timedwait lacks timeout wakeup. |
| 46 | + * ensure compatibility with newlib <3.4.0 by handling removed __sdidinit. [(#10791)](https://github.com/RT-Thread/rt-thread/pull/10791) |
| 47 | +* **DFS** |
| 48 | + * **DFS v2**: |
| 49 | + * Fix bugs for function _get_parent_path(). [(#10539)](https://github.com/RT-Thread/rt-thread/pull/10539) |
| 50 | +* **Net** |
| 51 | + * **SAL/Socket:** |
| 52 | + * Fixed CI compilation failure in sal/src/sal_socket.c. |
| 53 | + * Fix memory leak when sal_socket failed. |
| 54 | + * improve the error return of sal. |
| 55 | + * **Netdev:** |
| 56 | + * Fixed compilation errors when enabling IPv6 and IPv4 dual-stack support. |
| 57 | + * Fixed netdev_unregister missing correct return value. [(#10693)](https://github.com/RT-Thread/rt-thread/pull/10693) |
| 58 | + * Expose netdev_set_dns and netdev_set_if. [(#10128)](https://github.com/RT-Thread/rt-thread/pull/10128) |
| 59 | + * **AT:** |
| 60 | + * at_client add deInit port. [(#10598)](https://github.com/RT-Thread/rt-thread/pull/10598) |
| 61 | +* **Finsh:** |
| 62 | + |
| 63 | + * Fixed clear out the useless copy operations. [(#10699)](https://github.com/RT-Thread/rt-thread/pull/10699) |
| 64 | + * Feat add support for the Home, Insert, Delete and End keys, and improve input mode processing.[(#10595)](https://github.com/RT-Thread/rt-thread/pull/10595) |
| 65 | + * Feat: Add new features (delete by word, switch cursor, etc.). |
| 66 | +* **USB:** |
| 67 | + * Update (cherryusb): update to v1.5.1. |
| 68 | + * Fixed several issues related to cherryusb.[(#10844)](https://github.com/RT-Thread/rt-thread/pull/10844) |
| 69 | +* **Ulog:** |
| 70 | + * Fix:filter should not be associated with ULOG_USING_COLOR and ULOG_USING_SYSLOG configurations. |
| 71 | +* **IPC:** |
| 72 | + * Pass rt_tick_t for RT_TIMER_CTRL_SET_TIME and RT_TIMER_CTRL_GET_TIME.[(#10717)](https://github.com/RT-Thread/rt-thread/pull/10717) |
| 73 | + |
| 74 | +## DM |
| 75 | + |
| 76 | +* NVME: fix up the QUEUE alloc error no check. |
| 77 | +* Thermal: Fix up the C99, 6.8.1 Labeled statements p4; Fix up the PWM-FAN remove handle data ptr. |
| 78 | +* PCI: Add SoC PCI Kconfig import; Multiple PCI-related fixes; Fix and optimize interrupt-related issues. |
| 79 | +* WDT: Support related to Intel 6300ESB/Synopsys Watchdog, etc. |
| 80 | + |
| 81 | +## Libcpu |
| 82 | + |
| 83 | +* **AArch64:** |
| 84 | + * Fix up MMU and linker warning. |
| 85 | + * Fix rt_aspace_init error when KERNEL_VADDR_START >= 0x80000000. |
| 86 | + * Add the configuration of libcpu/aarch64 KERNEL ASPACE START. |
| 87 | + * Update Hypercall API. |
| 88 | + * Remove unused rt_hw_set_gtimer_frq. |
| 89 | +* **Cortex-M33:** |
| 90 | + * Fix the M33 assembly syntax errors and fix the compilation error of BSP. |
| 91 | + * Added HardFault_Handler to save floating point registers. |
| 92 | +* **Cortex-M4:** |
| 93 | + * Fixed compilation error. |
| 94 | + * Added HardFault_Handler to save floating point registers. |
| 95 | + |
| 96 | +* **Cortex-M3:** |
| 97 | + * The parameter passed to the unified rt_exception_hook is exception_stack. [(#10619)](https://github.com/RT-Thread/rt-thread/pull/10619) |
| 98 | +* **RISC-V:** |
| 99 | + * Fix type mismatch of `_query`. |
| 100 | + * Fix the support for RV32E. RV32E does not support the s2 register. Modify it to the s1 register. |
| 101 | + * Use volatile RW for claim and complete. |
| 102 | + * Add spaces to fix `Wliteral-suffix`. |
| 103 | + * Add comment for the round down of symb_pc. |
| 104 | + * Remove `rt_hw_cpu_id` in `cpuport.h` to fix error. |
| 105 | + |
| 106 | +## Tools |
| 107 | + |
| 108 | +* Add support for package.json, refactor BuildPackage function to handle new format. |
| 109 | +* Add documents for tools script; Add NG for tools. [(#10572)](https://github.com/RT-Thread/rt-thread/pull/10572) |
| 110 | +* Add workspace generation for RT-Thread root directory. |
| 111 | +* Add vsc_workspace target in scons. |
| 112 | +* Add DTC (Devicetree Compiler) tools. |
| 113 | +* Add clang-format formatting script for CI. |
| 114 | +* Optimize the file opening method. |
| 115 | +* Clang format ignore migration. |
| 116 | +* Improve[clang-format]: optimize the formatting logic for RT-Thread coding standard. |
| 117 | + |
| 118 | +## Action |
| 119 | + |
| 120 | +* Fixed CI: ARDUINO_ADAFRUIT_SENSORLAB compilation failure issue. |
| 121 | +* Fixed CI compilation failure in sal/src/sal_socket.c.[(#10854)](https://github.com/RT-Thread/rt-thread/pull/10854) |
| 122 | +* Merge same tag with different paths, remove Path display from CI comment. |
| 123 | +* Add Copilot review title keywords. |
| 124 | +* Add concurrency control to GitHub Actions. [(#10761)](https://github.com/RT-Thread/rt-thread/pull/10761) |
| 125 | +* integrate utest run ci. [(#10748)](https://github.com/RT-Thread/rt-thread/pull/10748) |
| 126 | +* Improve the comment instructions for the PR format bot.[(#10747)](https://github.com/RT-Thread/rt-thread/pull/10747) |
| 127 | + |
| 128 | +## Documents |
| 129 | + |
| 130 | +* **Doxygen:** |
| 131 | + * Fix some document issues. |
| 132 | + * Update naming rule for utest-case. |
| 133 | + * Update doc for env to latest. |
| 134 | + * Update some document content. |
| 135 | + * Group name all in lowercase. [(#10530)](https://github.com/RT-Thread/rt-thread/pull/10530) |
| 136 | + * Grouping and page optimization related to device driver. |
| 137 | + * use layout to control the HTML display. |
| 138 | + * Add doxygen comments for scheduler. [(#10366)](https://github.com/RT-Thread/rt-thread/pull/10366) and lwp |
| 139 | + * update doxygen version to v1.9.8 . |
| 140 | + |
| 141 | +## Utest |
| 142 | + |
| 143 | +* Add netdev/lwip/filesystem/memory pool/SAL/system performance API test case. |
| 144 | +* Support autocomplete of utest cases for `utest_run`. [(#10701)](https://github.com/RT-Thread/rt-thread/pull/10701) |
| 145 | +* Feat:reorganize utest menu. |
| 146 | +* Feat:rename files and update naming according to new rule. |
| 147 | +* Feat:reorganize utest framework structure (initial version). |
| 148 | +* Feat:unify config name. [(#10808)](https://github.com/RT-Thread/rt-thread/pull/10808) |
| 149 | +* Feat:integrate test cases into utest framework. [(#10665)](https://github.com/RT-Thread/rt-thread/pull/10665) |
| 150 | +* Move driver-related test cases under `drivers`. |
| 151 | +* Move and enhance C++ test cases. |
| 152 | + |
| 153 | +## BSP |
| 154 | + |
| 155 | +* Some driver issues have been resolved and some driver support has been added. |
| 156 | + |
| 157 | +* **Added/Updated BSPs:** |
| 158 | + |
| 159 | + * **xuantie:** |
| 160 | + * E901 |
| 161 | + |
| 162 | + * **Renesas:** |
| 163 | + * ek-ra6e2 |
| 164 | + * ek-ra4e2 |
| 165 | + * ek-ra2a1 |
| 166 | + * ek-ra2e2 |
| 167 | + * ek-ra4m1 |
| 168 | + * **GD32:** |
| 169 | + * gd32h759i-eval |
| 170 | + * gd32470i-eval |
| 171 | + * gd32e230-lckfb |
| 172 | + * **NXP:** |
| 173 | + * MCX E247 |
| 174 | + * FRDM-MCXE247 |
| 175 | + * FRDM-MCXA346 |
| 176 | + * **HPMicro:** |
| 177 | + * hpm6p00evk |
| 178 | + * hpm5e00evk |
| 179 | + * **Phytium** |
| 180 | + * **Raspberry RP2350** |
| 181 | + |
1 | 182 | # RT-Thread v5.2.1 Released |
2 | 183 |
|
3 | 184 | Change Log Since v5.2.0 Release |
|
0 commit comments