|
| 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 | + |
| 182 | +# RT-Thread v5.2.1 Released |
| 183 | + |
| 184 | +Change Log Since v5.2.0 Release |
| 185 | + |
| 186 | +## Kernel |
| 187 | + |
| 188 | +* src/clock: add rt_tick_get_delta function |
| 189 | +* Update include/rtdef.h version to 5.2.1 |
| 190 | + |
| 191 | +## Components |
| 192 | + |
| 193 | +* **drivers** |
| 194 | + * **fdt:** |
| 195 | + * Fix garble when booting |
| 196 | + * **wlan:** |
| 197 | + * Fixing comments errors of RT_WLAN_EVT_SCAN_DONE and RT_WLAN_EVT_SCAN_REPORT |
| 198 | + * **pcl:** |
| 199 | + * Add /proc access in RT-Smart user |
| 200 | + * **serial_v2:** |
| 201 | + * The handling of dma_ping_buf in the full discard policy is incorrect; details adjusted |
| 202 | + * Allowed blocking reception of data exceeding the RX buffer size, increased timeout duration, added flush command, added command to get buffer data length, fixed data overflow handling logic, optimized stability details, and added more serial_v2 test cases[(#10187)](https://github.com/RT-Thread/rt-thread/pull/10187) |
| 203 | + * **audio:** |
| 204 | + * Add audio driver test framework |
| 205 | +* **lwp** |
| 206 | + * Add vDSO support for RISC-V architecture and refactor related components |
| 207 | + * Fix parameter issue when calling the __arch_get_hw_counter function |
| 208 | + * Enhance build script with additional cleanup steps |
| 209 | +* **dfs** |
| 210 | + * **dfs v2**: |
| 211 | + * enable procfs and tempfs in default when using smart; fix LWIP_ROUTE warning issue |
| 212 | +* **utilities** |
| 213 | + * rename the group name: LIBADT to Utilities[(#10267)](https://github.com/RT-Thread/rt-thread/pull/10267) |
| 214 | +* **finsh** |
| 215 | + * Fixed error logging when the list_mutex mutex is not held by any thread |
| 216 | +* **fal** |
| 217 | + * add new example for norflash |
| 218 | + |
| 219 | +## Libcpu |
| 220 | + |
| 221 | +* **aarch64:** |
| 222 | + * Fix Aarch64 architecture runtime issues |
| 223 | + * Fix NORMAL_NOCACHE_MEM attr[(#10180)](https://github.com/RT-Thread/rt-thread/pull/10180) |
| 224 | + * cleanup undefined rt_hw_mmu_kernel_map_init[(#10177)](https://github.com/RT-Thread/rt-thread/pull/10177) |
| 225 | + * fix gicv3 mpidr table[(#9284)](https://github.com/RT-Thread/rt-thread/pull/9284) |
| 226 | +* **riscv:** |
| 227 | + * declare external symbols inside |
| 228 | + * add ultrarisc ur-cp100 core support[(#10338)](https://github.com/RT-Thread/rt-thread/pull/10338) |
| 229 | + |
| 230 | +## Tools |
| 231 | + |
| 232 | +* fix scons --target=cmake command failure[(#10276)](https://github.com/RT-Thread/rt-thread/pull/10276) |
| 233 | +* fixed the issue where RT-Studio could not import the BSP[(#10290)](https://github.com/RT-Thread/rt-thread/pull/10290) |
| 234 | +* fixed missing unique files creation and cache logic |
| 235 | +* fixed an error by running scons --tartget=cmake under LINUX[(#10164)](https://github.com/RT-Thread/rt-thread/pull/10164) |
| 236 | +* fix mannual trigger to create dist zip file |
| 237 | + |
| 238 | +## Action |
| 239 | + |
| 240 | +* Replace the judgment file modification mechanism of bsp_building[(#10314)](https://github.com/RT-Thread/rt-thread/pull/10314) |
| 241 | +* show the PR status for Pull request |
| 242 | +* cancel the filtering rules for the MAINTAINER file |
| 243 | +* optimize the logic for generating comments for the maintainer robot |
| 244 | +* fixed the abnormal operation of ci files[(#10259)](https://github.com/RT-Thread/rt-thread/pull/10259) |
| 245 | +* ci script assigns PR reviews based on the list of maintainers[(#9913)](https://github.com/RT-Thread/rt-thread/pull/9913) |
| 246 | +* fixed the parameter passing issue in bsp_buildings[(#10254)](https://github.com/RT-Thread/rt-thread/pull/10254) |
| 247 | +* add qemu-pre-build-and-post-build for RT_SMART build [(#10203) |
| 248 | +* separated BSPs to be compiled, and compiled corresponding BSPs based on modified files.[(#10159)](https://github.com/RT-Thread/rt-thread/pull/10159) |
| 249 | +* Integrated all outputs into a single package.[(#10136)](https://github.com/RT-Thread/rt-thread/pull/10136) |
| 250 | +* Upload compilation results to GitHub after each build.[(#10135)](https://github.com/RT-Thread/rt-thread/pull/10135) |
| 251 | + |
| 252 | +## Documents |
| 253 | + |
| 254 | +* doxygen |
| 255 | + * re-org module groups[(#10197)](https://github.com/RT-Thread/rt-thread/pull/10197) |
| 256 | + * cleanup and re-org files |
| 257 | + |
| 258 | +## BSP |
| 259 | + |
| 260 | +* Some driver issues have been resolved and some driver support has been added |
| 261 | +* approve the master branch slimming process, reducing the main compartment size by approximately 1G. |
| 262 | +* Added some new BSPs |
| 263 | + * ST: |
| 264 | + * stm32f103-keysking |
| 265 | + * Infineon: |
| 266 | + * XMC7100D-F144K4160AA |
| 267 | + * ultrarisc |
| 268 | + * dp1000 evb |
| 269 | + |
1 | 270 | # RT-Thread v5.2.0 Released |
2 | 271 |
|
3 | 272 | Change Log Since v5.1.0 Release |
|
0 commit comments