|
| 1 | +# RT-Thread v4.1.0 Beta released |
| 2 | + |
| 3 | +Change log since v4.0.4 |
| 4 | + |
| 5 | +## Kernel |
| 6 | + |
| 7 | +- rt_show_version update the year |
| 8 | +- Improve comments and parameter checking |
| 9 | +- [pm] beautify code |
| 10 | +- remove RT_THREAD_BLOCK |
| 11 | +- remove .init_priority |
| 12 | +- update notes |
| 13 | +- Delete an extra semicolon |
| 14 | +- change all double-empty-lines to single-empty-lines |
| 15 | +- move some __on_rt_xxxxx_hook from rtdef.h to dedicated c soure files |
| 16 | +- [kservice] add RT_KSERVICE_USING_STDLIB_MEMSET、 RT_KSERVICE_USING_STDLIB_MEMCPY |
| 17 | +- [memheap] Fix 64 bit potential risk |
| 18 | +- update Kconfig, add RT_HOOK_USING_FUNC_PTR |
| 19 | +- Improving hooking methods |
| 20 | +- Backward compatible with existing function-pointer based hooking method |
| 21 | +- Using RT_USING_HOOK as an on/off switch |
| 22 | +- Introducing a new low-overhead macro-based hooking method |
| 23 | +- [include/rtthread.h] Add function declarations to avoid compilation warnings |
| 24 | +- ipc init/create add flag judgement |
| 25 | +- Adjust RT_ASSERT and RT_DEBUG_NOT_IN_INTERRUPT to maintain code style |
| 26 | +- Add a new algorithm to find the lowest non-zero bit of a byte |
| 27 | +- Add weak RT_KSERVICE_USING_TINY_FFS definition |
| 28 | +- A simplified version of rt_ffs function |
| 29 | +- Add RT_WEAK for rt_vsnprintf |
| 30 | +- Change the return value type from signed int to int, in accordance with ISO C standards, to prevent compiler errors |
| 31 | +- Fix rt_size_t as rt_uint32_t |
| 32 | +- Cfg cancels rt_kprintf declaration |
| 33 | +- [kservice] add return value's comment |
| 34 | +- Modify rt_size_t's type |
| 35 | +- [timer] Update the RT_TIMER_CTRL_GET_STATE code in rt_timer_control |
| 36 | +- Fix up .bss size define in link.lds and set spsel=1 in aarch64 |
| 37 | +- remove duplicate work between idle and thread_exit |
| 38 | +- When memheap memory management is used, rT_malloc 0 returns RT_NULL, consistent with slab and small memory management algorithms. |
| 39 | +- Aligns the address passed in by rt_system_heap_init when using the memheap memory management algorithm |
| 40 | +- Set rt_thread_timeout to a private function |
| 41 | +- Add __attribute__(...) for rt_kprintf() to let the compiler check the format string parameters |
| 42 | +- Return thread error when resumed by signal |
| 43 | + |
| 44 | +## Components |
| 45 | + |
| 46 | +- libc |
| 47 | + - Clear the POSIX/IO folder |
| 48 | + - Move libdl to posix folder |
| 49 | + - Add the support for PSE51 |
| 50 | + - Optimize the nanosleep function |
| 51 | + - Add RT_USING_POSIX_STDIO |
| 52 | + - To deal with compilation problems under win32 platform |
| 53 | + - Remove getline |
| 54 | + - Create 'posix' folder and move related files into it |
| 55 | + - Put getline into posix folder |
| 56 | + - Optimize posix structure in libc |
| 57 | + - Eliminate judgments in code that rely on RT_LIBC_USING_FILEIO |
| 58 | + - Move libc.c/.h to posix folder |
| 59 | + - Remove gettid and other functions that do not comply with PSE51 |
| 60 | + - Add RT_USING_POSIX_SELECT RT_USING_POSIX_POLL |
| 61 | + - Add RT_USING_POSIX_DELAY |
| 62 | + - Add RT_USING_POSIX_STDIO |
| 63 | + - Add delay.c as default |
| 64 | + - Select RT_USING_POSIX_STDIO for RT_LIBC_USING_FILEIO |
| 65 | + - Add readme |
| 66 | + - Revert kconfig of pthread |
| 67 | + - Move mmap to src folder |
| 68 | + - Implement delay functions as RT_USING_POSIX_DELAY |
| 69 | + - Fix a bug caused by two different macro encoding methods in fcntl.h |
| 70 | + - Improve IAR and KEIL's read write pile function |
| 71 | + - Memory functions add error warnings when HEAP is not enabled |
| 72 | + - Revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO |
| 73 | + - Add RT_USING_POSIX_FS |
| 74 | + - Separate posix into a Kconfig directory |
| 75 | + - Fix the bug of _sys_read and _sys_write |
| 76 | + - Modify time.h to sys/time.h |
| 77 | + - Add dataqueue.c function annotation |
| 78 | + - Fix armclang Cpp11 memory leak and compilation warning issues |
| 79 | + - Add ipc header files |
| 80 | + - Create the mman folder |
| 81 | + |
| 82 | +- drivers |
| 83 | + - Rename src folder as ipc |
| 84 | + - Optimize scripts for compiler judgment |
| 85 | + - Add rt_work_urgent |
| 86 | + - Change the time parameter to ticks to prevent misinterpretation of the unit as ms |
| 87 | + - Improve comment |
| 88 | + - [sdio] Fix compile warning and optimized code. |
| 89 | + - Rename rt_workqueue_critical_work as rt_workqueue_urgent_work |
| 90 | + - Fix sensor_cmd.c build error. |
| 91 | + - Cputime support 64bit. |
| 92 | + - Update cputime_cortexm.c support 64bit. |
| 93 | + - Add IPC for POSIX and add pipe for it |
| 94 | + - [components] framework update |
| 95 | + - Add waitqueue.c function annotation |
| 96 | + - Fix compile warning in cdc_vcom.c |
| 97 | + |
| 98 | +- lwip |
| 99 | + - Improve lwip support for 64-bit architecture |
| 100 | + - Remove lwip 2.0.2 |
| 101 | + - Fix ioctl and lwip socket definitions |
| 102 | + - modify annotation for sys_arch_mbox_tryfetch |
| 103 | + - Fix the return value for sys_arch_mbox_fetch in lwip stack |
| 104 | + - Fix dhcpd not including version 2.0.3 |
| 105 | + - Define RT_USING_BIG_ENDIAN for the long-term version |
| 106 | + - ping cmd with specified netif in lwip-2.1.2 |
| 107 | + - Fix sys_arch.c |
| 108 | + - Solve the conflict between multi BYTE_ORDER(s) |
| 109 | + - Fix the problem of implicit declaration for "lwip_ip4_route_src". |
| 110 | + |
| 111 | +- dfs |
| 112 | + - Move dfs_posix.h to legacy/dfs/dfs_posix.h |
| 113 | + - Move dfs_posix dfs_poll dfs_select.c to posix folder |
| 114 | + - Remove dfs_select.h and dfs_poll.h |
| 115 | + - Update fatfs to the latest version |
| 116 | + - Saved dfs_poll.h dfs_select.h,add warning log |
| 117 | + - Remove RT_USING_LIBC from dfs_fs.h |
| 118 | + - Move dfs back |
| 119 | + |
| 120 | +- Shrink pThread to POSIX. Change DFS from POSIX to POSIX from DFS |
| 121 | +- Adjust the SAL dependency |
| 122 | +- Implement legacy support |
| 123 | +- Revise RT_USING_POSIX_STDIO to RT_USING_POSIX_DEVIO |
| 124 | +- Add macro definition restrictions to finsh set Device calls |
| 125 | + |
| 126 | +- shell |
| 127 | + - Update the list_timer cmd. |
| 128 | + - Update the code format |
| 129 | + |
| 130 | +- kservice |
| 131 | + - Optimize RT_PRINTF_LONGLONG,reduce duplicate code |
| 132 | + - Simplification RT_PRINTF_PRECISION |
| 133 | + - Fix the problem of rt_strlen crashed in win32 |
| 134 | + |
| 135 | +- [kernel] Collating of Kconfig |
| 136 | +- [ulog] Add ulog backend filter. |
| 137 | +- [posix] Organize IO categories according to advanced Unix environment programming |
| 138 | +- Add creat() function |
| 139 | +- [Ymodem] silent warnings |
| 140 | +- Use rt_memcpy rt_memset instead of memcpy memset |
| 141 | +- Fixed AT component in CLI mode, the command input is too long, resulting in the array out of bounds |
| 142 | +- [example] Remove RT_USING_TC |
| 143 | +- Fix armclang Cpp11 memory leak and compilation warning issues |
| 144 | +- Improve and add comments in examples/network/ including tcpserver.c |
| 145 | + |
| 146 | +## BSP and CPU porting |
| 147 | + |
| 148 | +- [at91sam9260] Fix "rt_interrupt_dispatch" Undefined error |
| 149 | +- Add pulse encoder porting to imxrt1052 |
| 150 | +- libcpu |
| 151 | + - Solve the problem of mixing tab and space |
| 152 | + - [arm] Fix thumb instruction set assembly syntax error |
| 153 | + - [aarch64] Add smp support |
| 154 | + - [nuclei] Fix context switch in nuclei |
| 155 | + - Fix s-mode issue |
| 156 | + - [t-head] Fix rt_hw_interrupt_disable/rt_hw_interrupt_enable bug |
| 157 | + - [libcpu] Add ARCH_CPU_BIG_ENDIAN |
| 158 | + |
| 159 | +- Add and update gd32 bsp |
| 160 | + - gd32103c-eval |
| 161 | + - gd32105c-eval |
| 162 | + - gd32107c-eval |
| 163 | + - gd32303e-eval |
| 164 | + - gd32450z-eval |
| 165 | + - gd32105r-start |
| 166 | + - gd32205r-start |
| 167 | + - gd32305r-start |
| 168 | + |
| 169 | +- Update n32g452xx |
| 170 | + - Reinit .config based on default setting |
| 171 | + - Regenerate rtconfig.h based on default configuration |
| 172 | + - Reformat code |
| 173 | + - Init update |
| 174 | + - Add rt_pin_get support |
| 175 | + - Add n32g45x can driver |
| 176 | + - Unified header file definition. "GPIO_H__" to "DRV_GPIO_H". "USART_H" to "DRV_USART_H" |
| 177 | + - In drv_pwm.c, variable meaning is different with RT-Thread interface definition. Fixed and tested. |
| 178 | + - Add support for UART4/UART5. |
| 179 | + - In drv_gpio.c Modify "N32F10X_PIN_NUMBERS" to "N32G45X_PIN_NUMBERS" |
| 180 | + - Perfect ADC driver and format code |
| 181 | + - Add ble support |
| 182 | + - Fix formatting issues |
| 183 | + - Remove unnecessary comments |
| 184 | + - Add gpio input nopull |
| 185 | + - rtc add version check |
| 186 | + - n32g452xx direct structure base at32 |
| 187 | + |
| 188 | +- Nuvoton |
| 189 | + - Support LVGLv81 RTT music demo for N9H30 and NUC980. |
| 190 | + - Update drivers |
| 191 | + - [N9H30/NUC980] Update SDH driver |
| 192 | + - Fix SDH_Set_clock function. |
| 193 | + - Correct EMMC, SDH0 and SDH1 options for N9H30. |
| 194 | + - Fix IRQ trap issues. |
| 195 | + - Update porting drivers and configurations. |
| 196 | + |
| 197 | +- [raspberry-pico] Add lvgl_8.1.0 support |
| 198 | +- simulator |
| 199 | + - Resolves the warning that the "Gm" option was rejected and will be removed in a future release |
| 200 | + - Clear the warning under vs |
| 201 | + - update project |
| 202 | + |
| 203 | +- [gd32] Repair startup_gd32f30x_cl.s |
| 204 | +- Remove the problematic rtconfig.h |
| 205 | +- [console] Fixed an error when using device without defining RT_USING_DEVICE |
| 206 | +- Use __clang__ instead of __CLANG_ARM |
| 207 | + |
| 208 | +- Update essemi bsp |
| 209 | + - es32f0654 |
| 210 | + - es32f369x |
| 211 | + - es32f365x |
| 212 | + |
| 213 | +- [nuclei] change hbird_eval bsp to nuclei_fpga_eval |
| 214 | +- The sconscript script in the application folder increases the recursion searching capability |
| 215 | +- [Vango V85xx] modify NULL to RT_NULL |
| 216 | +- fix the compiling issue for qemu-riscv64 |
| 217 | +- update K210 bsp and base on https://github.com/kendryte/K210-Micropython-OpenMV |
| 218 | + |
| 219 | +- [lpc55s69_nxp_evk] |
| 220 | + - Fix the scons --dist |
| 221 | + - Add the fixed gcc version |
| 222 | + - Add the ci machine |
| 223 | + |
| 224 | +- Correction of 'BSP /Copyright notice.md' errors |
| 225 | + |
| 226 | +- nrf5x |
| 227 | + - Add the fixed lds |
| 228 | + - Add hwtimer driver |
| 229 | + - Add hwtimer config & tinyusb config |
| 230 | + - Fix i2c driver bug |
| 231 | + |
| 232 | +- Remove the bsp of nrf51822 |
| 233 | +- Add tkm32f499 bsp and flash_download app |
| 234 | +- Remove empty rt_hw_us_delay |
| 235 | +- [at32] Optimized the pin-index algorithm |
| 236 | + |
| 237 | +- ra6m4 |
| 238 | + - Organize the project configuration |
| 239 | + - Add DAC, ADC and SPI drivers |
| 240 | + - Formatting code Style |
| 241 | + - Add Flash Driver |
| 242 | + - Add SPI, Flash, ADC, DAC documentation |
| 243 | + - Add PWM driver |
| 244 | + - Fix incorrect dependency macros in scons scripts |
| 245 | + - Fix bugs in the code |
| 246 | + - Update the error description in the documentation |
| 247 | + |
| 248 | +- MAX32660-EVK |
| 249 | + - Update pin map instruction |
| 250 | + - Add MAX32660-EVK pin map |
| 251 | + - drv_soft_i2c.c was not in libraries |
| 252 | + - delete drv_soft_i2c.c for it was not be used |
| 253 | + |
| 254 | +- [bluetrum] add flash support |
| 255 | +- [ra6m4-cpk] add gcc build support. |
| 256 | + |
| 257 | +- stm32 |
| 258 | + - Fix STM32 USB driver matching hal library version |
| 259 | + - stm32h743-openmv-h7plus bsp add sdram for openmv |
| 260 | + - Add tinyusb for stm32 driver |
| 261 | + - Add stm32g474-st-nucleo bsp |
| 262 | + - Add stm32u575-st-nucleo bsp |
| 263 | + - Add stm32l552ze-nucleo bsp |
| 264 | + - [gcc] Fix stack 0 bug, expand stack to 0x400 (same as Keil IAR) |
| 265 | + - Modify variable name p_tm to tm |
| 266 | + - drv_common.c add LOW_E for Error_Handler |
| 267 | + - Add i2c config for stm32l496-st-nucleo bsp |
| 268 | + - For STM32F4 series, CAN is configured according to different ABP1 bus frequencies |
| 269 | + - Improved STM32H7 series SPI driver using DMA |
| 270 | + - Add BSP ART-PI download algorithm |
| 271 | + - Add lvgl music demo for stm32f469-st-disco bsp. |
| 272 | + - Refresh using dma2d,screen refresh average 25fps for stm32f469-st-disco bsp |
| 273 | + - Add esp8266 configuration option takeover |
| 274 | + - add SOC_SERIES_STM32G0 to use "stm32_wdt.hiwdg.Init.Window = 0x00000FFF", otherwise the watchdog always reset. |
| 275 | + - Fix STM32L4 series flash will fail to erase the first time after downloading the program |
| 276 | + |
| 277 | + - stm32l475-atk-pandora |
| 278 | + - Add ADC PWM pin definition |
| 279 | + - Preliminary realization of Arduino ecological compatibility |
| 280 | + - Add lcd_fill_array() |
| 281 | + - Add lvgl demo |
| 282 | + - Add BSP_USING_LCD_SAMPLE in rttlogo.h |
| 283 | + - Enable SPI3-DMA2 for LCD |
| 284 | + - Beautify kconfig of board |
| 285 | + - Fix issue where board folder sconscript script did not continue scanning subfolders |
| 286 | + - Improve the structrue of sconscript |
| 287 | + - Add ESP8266 quick build option, serial port driver is changed from V2 to V1 |
| 288 | + |
| 289 | +- Fix compile warnings on qemu-vexpress-a9 platform (-Wimplicit-function-declaration) |
| 290 | +- [qemu-a9] add lvgl support. |
| 291 | +- [fix] The baud rate is configured according to the different APB1 frequencies. f4-series only. |
| 292 | +- [qemu] update Kconfig |
| 293 | +- Fix Raspi3 GPIO driver write bug |
| 294 | +- [ls1cdev] add stack size to avoid stack overflow when boot |
| 295 | +- [rp6m4-cpk] Add new drivers and improve BSP |
| 296 | + |
| 297 | +## Tools |
| 298 | + |
| 299 | +- CI |
| 300 | + - Optimize AutoTestCI trigger timing |
| 301 | + - Add scons tools test |
| 302 | + - Add the ci of nrf5x |
| 303 | + - Ci toolchain download using github link. |
| 304 | + |
| 305 | +- Fix bug with missing brackets in eclipse.py |
| 306 | +- Change ccflags to cflags,add LOCAL_CCFLAGS、LOCAL_CLFAGS、LOCAL_CXXFLAGS |
| 307 | +- Fix generate .project file error |
| 308 | +- Remove unused file 1.txt |
| 309 | +- Update buildbot.py |
| 310 | +- Fix adding empty lists and empty strings |
| 311 | +- Add function of auto-update rtconfig.h |
| 312 | + |
1 | 313 | # RT-Thread v4.0.4 released |
2 | 314 |
|
3 | 315 | Change log since v4.0.3 |
|
0 commit comments