1+ # RT-Thread v4.1.0 released  
2+ 
3+ Change log since v4.1.0 Beta released
4+ 
5+ ## Kernel  
6+ 
7+ -  src/clock.c add hook for rt_tick_increase
8+ -  fix thread init bug if you open RT_USING_MODULE
9+ -  Fixed issue that could all timers stop
10+ -  remove duplicated clear to 0 in the "thread.c"
11+ -  Revert modifications to the semaphore
12+ -  Fix 64 bit compilation warning
13+ -  src/device.c add RT_DEBUG_LOG
14+ 
15+ ## Components  
16+ 
17+ -  ulog
18+   -  Optimize code to improve readability
19+   -  remove the useless function declaration about "localtime_r"
20+   -  Optimize "ULOG_OUTPUT_FLOAT" to avoid use "vsnprintf" that provided by complier tools chain
21+   -  solve the interference when enable the ulog timestamp
22+   -  Fixed the issue LOG_HEX no output at asyn mode
23+ -  drivers
24+   -  misc
25+     -  modify the error name in the "dac.c"
26+   -  remove useless head file to avoid problem about recursion
27+   -  add the header file to avoid compiler error
28+   -  Open RT_USING_POSIX_STDIO caused serial_v2 to compile failed
29+   -  add the simulative spi bus drivers  that based on spi bus drivers
30+   -  remove the complier warning in C99 about "ipc/ringbuffer.c"
31+   -  improve serial_v2 structure
32+ -  dfs
33+   -  offer complete path when use command "list_fd"
34+ -  libc
35+   -  posix
36+     -  add the included head file
37+     -  add the header file to avoid compiler error
38+     -  add RT_USING_POSIX_SOCKET
39+   -  fix a typo
40+ -  net
41+   -  adjust folder structure
42+   -  lwip
43+     -  integrate lwip porting layer
44+     -  integrate and improve lwipopts.h
45+     -  add lwip latest version
46+ -  utest
47+   -  add dependence RT_USING_UTESTCASES
48+ -  finsh
49+   -  remove extra code
50+   -  fix finsh bug
51+ -  fal
52+   -  add fal component
53+ -  utilities
54+   -  adjust the order of compiler macros
55+   -  var_export
56+     -  replace the search algorithm and fix some problems
57+ -  tidy the folder name and structure about Kconfig
58+ 
59+ ## BSP and CPU porting  
60+ 
61+ -  libcpu
62+   -  aarch64
63+     -  rt_hw_trap_irq get irq instead of iar when using gicv2
64+     -  disable irq/fiq when switch thread
65+     -  add gtimer frq set and stack align
66+     -  add gicv3 support
67+   -  mips
68+     -  correct the watch dog register address about "gs232.h"
69+     -  modify the problem that can't feed hardware watch dog
70+   -  arm
71+     -  fix syscall_iar.S compiler error based on cortex-m33
72+ -  essemi
73+   -  fix bugs
74+ -  nuvoton
75+   -  Update configuration files and fix issue
76+   -  Nuvoton drivers updating and more LVGL supporting
77+   -  Update drivers and project setting
78+   -  format code
79+ -  raspberry-pico
80+   -  add Raspberry-Pico-LVGL README.md
81+ -  simulator
82+   -  Optimize the auto initization
83+ -  qemu
84+   -  vexpress-a9
85+     -  Fix a typo in qemu.sh
86+ -  n32g452xx
87+   -  add drv_spi.c
88+ -  at91sam9260
89+   -  add mtdnand driver to support "uffs" file system
90+ -  at32
91+   -  upload bsp package based firmware library v2.0
92+   -  add ingore_format.yml
93+ -  gd32
94+   -  Optimize UART
95+ -  add Soft spi for gd32303e-eval
96+ -  ft32
97+   -  modify the name that head files are included
98+ -  apm32
99+   -  apm32f103xe-minibroard
100+     -  add project and device drivers
101+     -  update readme picture name
102+   -  fix the startup files of apm32f1
103+ -  stm32
104+   -  Add support with pwm6 to pwm13
105+   -  add qspi flash and sdio for openmv h7plus
106+   -  modify the bug that the CRC custom configuration can't work
107+   -  stm32f469-st-disco
108+     -  add readme in english
109+   -  stm32f072-st-nucleo
110+     -  add arduino support
111+     -  support pwm for arduino
112+   -  stm32f407-atk-explorer
113+     -  add board identification word
114+   -  stm32l475-atk-pandora
115+     -  update application/arduino folder
116+     -  enable i2c4 bus
117+     -  fix the bug when using LCD demo
118+     -  fullly  support analog output(PWM) and analog input(ADC)
119+     -  support backlight with brightness adjustable
120+     -  Adding dependencies
121+   -  stm32h750-art-pi
122+     -  porting LVGL to ART-Pi with Media-IO
123+   -  stm32f769-st-disco
124+     -  fix wrong CPPDEFINES and close lwip
125+     -  add stm32f7xx_hal_dsi.c when using LTDC/MIPI-DSI
126+   -  stm32h743-openmv-h7plus
127+     -  add usbcdc for openmv
128+ -  imxrt
129+   -  imxrt1060-nxp-evk
130+     -  add imxrt1060-evk BSP
131+     -  README_zh.md, led blink
132+     -  fix gcc can't runing issue
133+ -  vango
134+   -  add v85xxp bsp
135+   -  migrate v85xx and v85xxp into the subcatalog of vango
136+   -  remove duplicated files
137+ -  acm32f0x0-nucleo
138+   -  Add some drivers
139+ -  delete swm320-lq100 bsp
140+ -  add ch579m bsp
141+ -  add air105 bsp
142+ -  add RA series bsp
143+ -  add bsp-ft32
144+ -  migrate acm32f0x0-nucleo and acm32f4xx-nucleo into the subcatalog of acm32
145+ -  migrate at91sam9260 and at91sam9g45 into the subcatalog of at91
146+ -  migrate mb9xxx series into the subcatalog of fujitsu
147+ -  migrate lsxx series into the subcatalog of loongson
148+ -  add rockchip/rk3568 bsp
149+ 
150+ ## Documentation  
151+ 
152+ -  move documentation repo to rt-thread repo
153+ -  update documentation
154+ -  Fixed Program Memory Distribution - Basic.md
155+ 
156+ ## Tools  
157+ 
158+ -  fix the problem that print 'b' when complier code that after RT-Threadv4.0.3
159+ -  use the relative path to create "CMakefile.txt" when use "scons" command
160+ -  allow users to set specific link scripts
161+ -  update the template for projcfg.ini in rt-studio
162+ -  keil.py Distinguish LOCAL_CFLAGS/LOCAL_CXXFLAGS, refine file control
163+ 
1164# RT-Thread v4.1.0 Beta released  
2165
3166Change log since v4.0.4
@@ -66,7 +229,7 @@ Change log since v4.0.4
66229  -  Revert kconfig of pthread
67230  -  Move mmap to src folder
68231  -  Implement delay functions as RT_USING_POSIX_DELAY
69-   -  Fix a bug caused by two different macro encoding methods in fcntl.h   
232+   -  Fix a bug caused by two different macro encoding methods in fcntl.h
70233  -  Improve IAR and KEIL's read write pile function
71234  -  Memory functions add error warnings when HEAP is not enabled
72235  -  Revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO
@@ -78,7 +241,7 @@ Change log since v4.0.4
78241  -  Fix armclang Cpp11 memory leak and compilation warning issues
79242  -  Add ipc header files
80243  -  Create the mman folder
81-    
244+ 
82245-  drivers
83246  -  Rename src folder as ipc
84247  -  Optimize scripts for compiler judgment
@@ -117,7 +280,7 @@ Change log since v4.0.4
117280  -  Remove RT_USING_LIBC from dfs_fs.h
118281  -  Move dfs back
119282
120- -  Shrink pThread to POSIX. Change DFS from POSIX to POSIX from DFS   
283+ -  Shrink pThread to POSIX. Change DFS from POSIX to POSIX from DFS
121284-  Adjust the SAL dependency
122285-  Implement legacy support
123286-  Revise RT_USING_POSIX_STDIO to RT_USING_POSIX_DEVIO
@@ -138,7 +301,7 @@ Change log since v4.0.4
138301-  Add creat() function
139302-  [ Ymodem]   silent warnings
140303-  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   
304+ -  Fixed AT component in CLI mode, the command input is too long, resulting in the array out of bounds
142305-  [ example]  Remove RT_USING_TC
143306-  Fix armclang Cpp11 memory leak and compilation warning issues
144307-  Improve and add comments in examples/network/ including tcpserver.c
@@ -196,13 +359,13 @@ Change log since v4.0.4
196359
197360-  [ raspberry-pico]  Add lvgl_8.1.0 support
198361-  simulator
199-   -  Resolves the warning that the "Gm" option was rejected and will be removed in a future release  
362+   -  Resolves the warning that the "Gm" option was rejected and will be removed in a future release
200363  -  Clear the warning under vs
201364  -  update project
202365
203366-  [ gd32]  Repair startup_gd32f30x_cl.s
204367-  Remove the problematic rtconfig.h
205- -  [ console]  Fixed an error when using device without defining RT_USING_DEVICE   
368+ -  [ console]  Fixed an error when using device without defining RT_USING_DEVICE
206369-  Use __ clang__  instead of __ CLANG_ARM
207370
208371-  Update essemi bsp
@@ -261,7 +424,7 @@ Change log since v4.0.4
261424  -  Add stm32g474-st-nucleo bsp
262425  -  Add stm32u575-st-nucleo bsp
263426  -  Add stm32l552ze-nucleo bsp
264-   -  [ gcc]  Fix stack 0 bug, expand stack to 0x400 (same as Keil IAR)   
427+   -  [ gcc]  Fix stack 0 bug, expand stack to 0x400 (same as Keil IAR)
265428  -  Modify variable name p_tm to tm
266429  -  drv_common.c add LOW_E for Error_Handler
267430  -  Add i2c config for stm32l496-st-nucleo bsp
@@ -272,7 +435,7 @@ Change log since v4.0.4
272435  -  Refresh using dma2d,screen refresh average 25fps for stm32f469-st-disco bsp
273436  -  Add esp8266 configuration option takeover
274437  -  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   
438+   -  Fix STM32L4 series flash will fail to erase the first time after downloading the program
276439
277440  -  stm32l475-atk-pandora
278441    -  Add ADC PWM pin definition
@@ -301,7 +464,7 @@ Change log since v4.0.4
301464  -  Add scons tools test
302465  -  Add the ci of nrf5x
303466  -  Ci toolchain download using github link.
304-    
467+ 
305468-  Fix bug with missing brackets in eclipse.py
306469-  Change ccflags to cflags,add LOCAL_CCFLAGS、LOCAL_CLFAGS、LOCAL_CXXFLAGS
307470-  Fix generate .project file error
@@ -686,7 +849,7 @@ Change log since v4.0.2
686849  *  [ wlan]  Add raw frame send interface and Management frame filter interface
687850  *  [ Sensor]  Add vendor info and sensor types for cmd
688851  *  [ Sensor]  Support custom commands for rt_sensor_control
689-   *  [ sensor]  Support TOF sensor class  
852+   *  [ sensor]  Support TOF sensor class
690853  *  [ SFUD]  Update the 'sf bench' command.
691854  *  [ spi]  Fix "response+1" causing hard fault of unaligned access to SPI memory of STM32 HAL library
692855  *  [ RTC]  Optimize RTC alarm function, add alarm function for SOFT_RTC
@@ -813,7 +976,7 @@ Change log since v4.0.2
813976*  Add C++ support for eclipse target
814977*  Keep user's lib configuration while running --target=eclipse
815978*  Add Libraries when perform ` scons --dist ` 
816- *  Update tools/building.py and add ` tackanalysis `  option  
979+ *  Update tools/building.py and add ` tackanalysis `  option
817980*  Improve the logic of generating ` rtconfig.h `  files in scons with command ` scons --menuconfig ` 
818981*  Fix makeimg.py wrong on linux
819982*  Add Studio IDE dist feature for stm32 BSP
@@ -915,7 +1078,7 @@ Change log since v4.0.1
9151078*  The porting of loongson 1B and 1C CPU are combined into one GS232 porting;
9161079*  Add support for RISC-V Hummingbird processor porting;
9171080*  The context switch exit operation of risc-v is forced back to machine mode;
918- *  Fix the issue of switch interruption during TI C28x DSP porting;  
1081+ *  Fix the issue of switch interruption during TI C28x DSP porting;
9191082*  Add _ ffs like implementation in the TI C28x DSP porting;
9201083*  Unify the .data .bss section to 8bytes alignment in GCC tool chain;
9211084*  The es32f0334 BSP is moved to ` bsp/essemi/es32f0334 ` ;
@@ -962,7 +1125,7 @@ Change log since v4.0.1
9621125  *  Add pulse encoding driver;
9631126  *  Optimize hardware timer driver;
9641127  *  Add support for UART 7/8 in serial driver;
965-   *  Optimize WDT driver;  
1128+   *  Optimize WDT driver;
9661129
9671130## Tools  
9681131
@@ -976,7 +1139,7 @@ Change log since v4.0.1
9761139
9771140*  Fix the ` rt_tick_from_millisecond() `  compilation warning issue;
9781141*  Remove unnecessary code that disable interrupt several times during startup initialization;
979- *  Fix the issue that the system object is not detached when handling defunct threads.  
1142+ *  Fix the issue that the system object is not detached when handling defunct threads.
9801143*  Add the value checking of semaphore (the maximum value of semaphore is up to 65535)
9811144*  Fix the 64-bit issue in kservice.c
9821145*  Add the checking and assertion of re-initialization of object.
@@ -1086,7 +1249,7 @@ Change log since v4.0.1
10861249*  When formatting the file system, adds FM_SFD option to create a volume in SFD format for FatFs; (HubretXie)
10871250*  Add file system handle pointer in `struct dfs_fd' structure;
10881251*  Fix stdio fd issue when POSIX api is used; (gbcwbz)
1089- *  Fix the ` fd_is_open() `  issue: when the sub-path is the same in different mounted filesystem.  
1252+ *  Fix the ` fd_is_open() `  issue: when the sub-path is the same in different mounted filesystem.
10901253*  Change the critical lock/unlock to dfs_lock/unlock in ` getcwd() `  function of DFS (the critical lock/unlock is different in SMP environment);
10911254*  Rewrite ` list_thread/list_* `  implementation of finsh cmd to avoid multi-core competition case;
10921255*  Fix the ` aio_result `  issue, which is returned by ` aio_read_work `  in AIO; (fullhan)
@@ -1408,7 +1571,7 @@ Tools
14081571    #include  < rtdbg.h> 
14091572``` 
14101573
1411- When close the DBG_ENABLE definition, the debug log will be closed. Otherwise, the ` dbg_log(level, fmt, ...) `  can be used to print debug information.  
1574+ When close the DBG_ENABLE definition, the debug log will be closed. Otherwise, the ` dbg_log(level, fmt, ...) `  can be used to print debug information.
14121575
14131576DBG_SECTION_NAME - The prefix information for each log line;
14141577DBG_LEVEL - The debug log level;
@@ -1495,7 +1658,7 @@ DBG_COLOR - Whether use color log in console.
14951658*  Fix the filesystem_operation_table issue.
14961659*  Enhance USB stack for USB slave (HID/ECM/RNDIS/WINUSB or composite device);
14971660*  Enhance USB stack for USB host (HID/MSC etc);
1498- *  Fix memory leak issue when close a pipe.   
1661+ *  Fix memory leak issue when close a pipe.
14991662*  Fix the romfs open issue;
15001663*  Add SoftAP device in Wi-Fi framework;
15011664*  Re-order the lwIP/ETH initialization;
@@ -1699,7 +1862,7 @@ RT-Thread v2.0.1是2.0这个系列的bug修正版,而v2.1.0 alpha则是当前
16991862
17001863发布时间:2014/11/4
17011864
1702- 随着RT-Thread功能越来越多,如何发布版本也成为一件头疼的事情,因为需要仔细对比最近三个月来的修改记录。这次的发布距离上一次beta版本依然是三个月的时间,但按照发布计划已然推迟了一个月进行发布。  
1865+ 随着RT-Thread功能越来越多,如何发布版本也成为一件头疼的事情,因为需要仔细对比最近三个月来的修改记录。这次的发布距离上一次beta版本依然是三个月的时间,但按照发布计划已然推迟了一个月进行发布。
17031866
17041867在这三个月中,开源社区上也发生了很多有趣的事情:
17051868
0 commit comments