Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Work In Progress

Warning
titleWork In Progress
NuttX 10.2 has not been released yet. These Release Notes are a work-in-progress in preparation for the next release of NuttX.  There is a board tracking the PRs that need to be looked at to add to this doc for the OS TODO ADD LINK and for the Apps TODO ADD LINK


Markdown
# What's New In This Release

## Highlights
* Feature 1
* Feature 2
* Feature 3

## Major Changes to Core OS

   ### New Features 
 * [#3708](https://github.com/apache/incubator-nuttx/pull/#37083708) openamp: Update to 2020.10.0 official release   
 * [#3709](https://github.com/apache/incubator-nuttx/pull/#37093709) Update libcxx to 12.0.0 release  
 * [#3674](https://github.com/apache/incubator-nuttx/pull/#36743674) libc/termios: Implement TCSADRAIN and TCSAFLUSH for tcsetattr  
 * [#4595](https://github.com/apache/incubator-nuttx/pull/#45954595) libc/misc: add lib_glob  
 * [#4594](https://github.com/apache/incubator-nuttx/pull/#45944594) libc/string: add lib_strchrnul    
 * [#3672](https://github.com/apache/incubator-nuttx/pull/#36723672) include/spawn.h: Add POSIX_SPAWN_SETSID definition  
 * [#4265](https://github.com/apache/incubator-nuttx/pull/#42654265) libc: Support message catalog function  
 * [#3102](https://github.com/apache/incubator-nuttx/pull/#31023102) mm/iob: add iob_free_queue() interface  
 * [#3893](https://github.com/apache/incubator-nuttx/pull/#38933893) libs/libc/netdb: add dns clear interface  
 * [#3959](https://github.com/apache/incubator-nuttx/pull/#39593959) libc/time: Implement timegm function  
 * [#3963](https://github.com/apache/incubator-nuttx/pull/#39633963) libc/sched: Implement nice API  
 * [#3977](https://github.com/apache/incubator-nuttx/pull/#39773977) sched: Add kthread_create_with_stack  
 * [#4016](https://github.com/apache/incubator-nuttx/pull/#40164016) Add heap & stack check to idle thread  
 * [#4114](https://github.com/apache/incubator-nuttx/pull/#41144114) libc/math: Add fmax and fmin functions  
 * [#4130](https://github.com/apache/incubator-nuttx/pull/#41304130) sys/poll: add POLLRDHUP definition   
 * [#4262](https://github.com/apache/incubator-nuttx/pull/#42624262) libc: Add the empty nl_langinfo implementation  
 * [#4272](https://github.com/apache/incubator-nuttx/pull/#42724272) libc: Implement gettext function  
 * [#4432](https://github.com/apache/incubator-nuttx/pull/#44324432) libc:machine: add atomic_load/store/exchange API  
 * [#4438](https://github.com/apache/incubator-nuttx/pull/#44384438) uClibcxx: add weak attribute for new/del ops  
 * [#3681](https://github.com/apache/incubator-nuttx/pull/#36813681) libc: Implement openpty function  
 * [#4363](https://github.com/apache/incubator-nuttx/pull/#43634363) sched/backtrace: add sched_backtrace support 
 * [#4374](https://github.com/apache/incubator-nuttx/pull/#43744374) libxx: add new low level c++ standard library support  
 * [#4425](https://github.com/apache/incubator-nuttx/pull/#44254425) libc: add common machine atomic operation  
 * [#3687](https://github.com/apache/incubator-nuttx/pull/#36873687) libc/pwd: Add NSS_BUFLEN_PASSWD macro   
 * [#3970](https://github.com/apache/incubator-nuttx/pull/#39703970) libc: Implement fesetround & fegetround for arm 

 ### Bug Fixes 
 * [#4615#4104](https://github.com/apache/incubator-nuttx/pull/#46154104) sched/signalclock: add Correctnsec range killcheck within cancellationclock_settime  
 * [#4619#4518](https://github.com/apache/incubator-nuttx/pull/#46194518) schedgetaddrinfo: Fixsupport CPUAF_LOCAL affinityand issuesAF_RPMSG in SMP  
 * [#3626#4595](https://github.com/apache/incubator-nuttx/pull/#36264595) libc/misc: Moveadd pthread stuff to userspace  lib_glob  
 * [#3673#3985](https://github.com/apache/incubator-nuttx/pull/#36733985) libc/ptymmap: Make ptsname[_r] support PSEUDOTERM_BSD config tooImplement the minial but reasonable mlock/munlock/mprotect  
 * [#4599#4065](https://github.com/apache/incubator-nuttx/pull/#45994065) sched:tcb_s:rearrange sched_priority/int_priority to word alignmm: Add kmm_malloc_size and mm_malloc_size  
 * [#3747#4096](https://github.com/apache/incubator-nuttx/pull/#37474096) mm:initialize ensure alignment. Simplify the semaphore handling  
 * [#3962#4100](https://github.com/apache/incubator-nuttx/pull/#3962) sched/task/task_spawn.c: initialize variables explicitly 4100) Implement utime and futimes  

### Bug Fixes 
 * [#3916#4615](https://github.com/apache/incubator-nuttx/pull/#39164615) sched/posix_spawnsignal: Don'tCorrect insertkill namewith at thecancellation begin of argv  
 * [#3858#4619](https://github.com/apache/incubator-nuttx/pull/#38584619) tlssched: MoveFix pthreadCPU keyaffinity destructorissues toin libcSMP  
 * [#3719#3626](https://github.com/apache/incubator-nuttx/pull/#37193626) group/group_signallibc: cancelMove dispatchpthread signalstuff whento childuserspace process doesn't exist  
 * [#4453#3673](https://github.com/apache/incubator-nuttx/pull/#44533673) libslibc/libxxpty: Enforce RTTI for building libcxxabiMake ptsname[_r] support PSEUDOTERM_BSD config too  
 * [#4450#4599](https://github.com/apache/incubator-nuttx/pull/#44504599) libxx:uClibc++: disable new_handler.cpp when use libsupc++sched:tcb_s:rearrange sched_priority/int_priority to word align  
 * [#4456#3747](https://github.com/apache/incubator-nuttx/pull/#44563747) libc/gettextmm:initialize Initialize path field when creating mofile structensure alignment.  
 * [#4466#3962](https://github.com/apache/incubator-nuttx/pull/#44663962) sched/wdogtask/wdtask_startspawn.c: preventinitialize accessingvariables watch-dogexplicitly lag if head is NULL  
 * [#4499#3916](https://github.com/apache/incubator-nuttx/pull/#44993916) uClibc++:remove typeinfo.cpp that confict with libsupc++sched/posix_spawn: Don't insert name at the begin of argv  
 * [#3698#3858](https://github.com/apache/incubator-nuttx/pull/#36983858) sched/tasktls: SimplifyMove thepthread syscallkey handlingdestructor ofto task_spawnlibc  
 * [#3813#3719](https://github.com/apache/incubator-nuttx/pull/#38133719) syscall/syscall.csv: Correct ordering of entriesgroup/group_signal: cancel dispatch signal when child process doesn't exist  
 * [#4020#4453](https://github.com/apache/incubator-nuttx/pull/#40204453) SMP should depends on ARCH_INTERRUPTSTACK libs/libxx: Enforce RTTI for building libcxxabi  
 * [#3957#4450](https://github.com/apache/incubator-nuttx/pull/#39574450) sched/wdoglibxx:uClibc++: Remove flags field from wdog_s to save memorydisable new_handler.cpp when use libsupc++  
 * [#3967#4456](https://github.com/apache/incubator-nuttx/pull/#39674456) libc/dirnamegettext: Initialize Handlepath field thewhen consecutivecreating '/' correctlymofile struct.  
 * [#4018#4466](https://github.com/apache/incubator-nuttx/pull/#40184466) libssched/libc/spawnwdog/wd_start.c: fix posix_spawn_file_actions_adddup2 alloc size errorprevent accessing watch-dog lag if head is NULL  
 * [#4009#4499](https://github.com/apache/incubator-nuttx/pull/#40094499) Move aligned_alloc, posix_memalign and valloc from mm/umm to libs/libc/stdlib  uClibc++:remove typeinfo.cpp that confict with libsupc++  
 * [#4021#3698](https://github.com/apache/incubator-nuttx/pull/#40213698) sched/waitpidtask: handleSimplify waitpidthe waittingsyscall tcb->grouphandling isof NULLtask_spawn  
 * [#4026#3813](https://github.com/apache/incubator-nuttx/pull/#40263813) schedsyscall/idlesyscall.csv: disableCorrect schedordering when idle call nx_bringupof entries  
 * [#4035#4020](https://github.com/apache/incubator-nuttx/pull/#40354020) work_queue: schedule the work queue using the timer mechanism  SMP should depends on ARCH_INTERRUPTSTACK 
 * [#4048#3957](https://github.com/apache/incubator-nuttx/pull/#40483957) libcsched/wdog: Move pthread_key_destructor to task_info_sRemove flags field from wdog_s to save memory  
 * [#4057#3967](https://github.com/apache/incubator-nuttx/pull/#40573967) libslibc/dirname: libnx:Handle nxfonts:the Fixconsecutive prefix of generated fonts data'/' correctly  
 * [#4109#4018](https://github.com/apache/incubator-nuttx/pull/#41094018) libs/libc/spawn: Implement ttyname and ttyname_rfix posix_spawn_file_actions_adddup2 alloc size error  
 * [#4115#4009](https://github.com/apache/incubator-nuttx/pull/#41154009) libc/math: Fix calculation error of log function Move aligned_alloc, posix_memalign and valloc from mm/umm to libs/libc/stdlib  
 * [#4124#4021](https://github.com/apache/incubator-nuttx/pull/#41244021) sched/waitpid: addhandle #undefwaitpid forwaitting sometcb->group libcis functionNULL  
 * [#4125#4026](https://github.com/apache/incubator-nuttx/pull/#41254026) libcsched/sysconfidle: disable sched Addwhen MONOTONIC_CLOCKidle forcall consistencynx_bringup  
 * [#4127#4035](https://github.com/apache/incubator-nuttx/pull/#41274035) libcwork_queue: Increaseschedule the functionwork ofqueue crc8using tothe usetimer custommechanism polynomials  
 * [#4160#4048](https://github.com/apache/incubator-nuttx/pull/#41604048) group/child_statuslibc: Dynamically expand group child_statusMove pthread_key_destructor to task_info_s  
 * [#4183#4057](https://github.com/apache/incubator-nuttx/pull/#4183) sched/task4057) libs: libnx: nxfonts: Fix wrongprefix returnof valuegenerated from nxspawn_open()fonts data  
 * [#4226#4109](https://github.com/apache/incubator-nuttx/pull/#42264109) sysloglibc: resloveImplement crashttyname because vmov.i32 instruction is not ready  and ttyname_r  
 * [#4246#4115](https://github.com/apache/incubator-nuttx/pull/#42464115) libc/pthread_barrierattr_destory.cmath: Destroy shouldn't reinitialize the attributesFix calculation error of log function  
 * [#4270#4124](https://github.com/apache/incubator-nuttx/pull/#42704124) tzset:add avoid#undef takingfor semaphoresome inlibc interruptfunction for non-kernel mode  
 * [#4413#4125](https://github.com/apache/incubator-nuttx/pull/#44134125) schedlibc/wdogsysconf: fixAdd switchMONOTONIC_contextCLOCK causedfor errorconsistency in wd_start()  
 * [#3703#4127](https://github.com/apache/incubator-nuttx/pull/#37034127) sched/spawnlibc: SupportIncrease the stack address argument function of crc8 to use custom polynomials  
 * [#4287#4160](https://github.com/apache/incubator-nuttx/pull/#42874160) signalgroup/child_status: AllowDynamically SIG_EVTHREADexpand selectable in protected modegroup child_status  
 * [#4296#4183](https://github.com/apache/incubator-nuttx/pull/#42964183) sched/task: Fix crashwrong onreturn earlyvalue syslog message with prepended process name  from nxspawn_open()  
 * [#4368#4226](https://github.com/apache/incubator-nuttx/pull/#43684226) libs/libxx/uClibc++.defs: Download the correct file type.syslog: reslove crash because vmov.i32 instruction is not ready  
 * [#4369#4246](https://github.com/apache/incubator-nuttx/pull/#43694246) libs/libxxlibc/pthread_barrierattr_destory.c: Download C++ libraries during context.Destroy shouldn't reinitialize the attributes  
 * [#4382#4270](https://github.com/apache/incubator-nuttx/pull/#43824270) sched/backtracetzset: simplifyavoid the assign of tcbtaking semaphore in caseinterrupt offor negativenon-kernel pidmode  
 * [#4377#4413](https://github.com/apache/incubator-nuttx/pull/#43774413) task_spawnsched/wdog: releasefix gswitch_spawn_parmsemcontext andcaused sched_unlockerror at the endingin wd_start()  

## Major Changes to the Build System

### New Features 
 * [#4525 * [#3703](https://github.com/apache/incubator-nuttx/pull/#45253703) mkromfsimgsched/spawn: AddSupport optionalthe rcSstack fileaddress pathargument  
 * [#4491#4287](https://github.com/apache/incubator-nuttx/pull/#44914287) checkpatch.shsignal: add check gerrit Change-Id supportAllow SIG_EVTHREAD selectable in protected mode  
 * [#3716#4296](https://github.com/apache/incubator-nuttx/pull/#37164296) toolssched: AddFix acrash bashon completionearly scriptsyslog formessage thewith configureprepended tool  
 

### Bug Fixesprocess name  
 * [#4418#4368](https://github.com/apache/incubator-nuttx/pull/#44184368) compiler.h: add __builtin_offsetof instead of offsetoflibs/libxx/uClibc++.defs: Download the correct file type.  
 * [#3815#4369](https://github.com/apache/incubator-nuttx/pull/#38154369) toolslibs/mksyscalllibxx: FixDownload buildC++ breaklibraries of syscall instrumentation wrapperduring context.   
 * [#4461#4382](https://github.com/apache/incubator-nuttx/pull/#44614382) toolssched/cibacktrace: Minorsimplify improvementsthe toassign CI build scriptof tcb in case of negative pid  
 * [#4377](https://github.com/apache/incubator-nuttx/pull/4377) task_spawn: release g_spawn_parmsem and sched_unlock at the ending   
 * [#4068](https://github.com/apache/incubator-nuttx/pull/4068) mm: Remove mm_heap_impl_s struct  
 * [#4247](https://github.com/apache/incubator-nuttx/pull/4247) Redirect _l function to non-locale version  
 * [#4380](https://github.com/apache/incubator-nuttx/pull/4380) som byteorder modification  
 * [#4283](https://github.com/apache/incubator-nuttx/pull/4283) libc/gettext: Change g_domain to array  
 * [#4512](https://github.com/apache/incubator-nuttx/pull/4512) lib_vsprintf: Add %pV format support  
 * [#4513](https://github.com/apache/incubator-nuttx/pull/4513) libc/rexec/rexec_af: support remote command execution  
 * [#4516](https://github.com/apache/incubator-nuttx/pull/4516) lib_fread: return the number of bytes actually read when error occurs.  
 * [#4520](https://github.com/apache/incubator-nuttx/pull/4520) debug: allow customize EXTRA_FMT  
 * [#3978](https://github.com/apache/incubator-nuttx/pull/3978) Decouple the initialization of the separate heaps from the TEXT_HEAP option.  
 * [#4029](https://github.com/apache/incubator-nuttx/pull/4029) mm: fix memory corruption when loop create/exit thread in SMP mode  
 * [#4055](https://github.com/apache/incubator-nuttx/pull/4055) mm: Move the real implementation of mm_sbrk to sbrk  
 * [#4030](https://github.com/apache/incubator-nuttx/pull/4030) Fix procfs memory corruption when meet long string, add thread run time to procfs  
 * [#4043](https://github.com/apache/incubator-nuttx/pull/4043) select: fix asan report error  
 * [#4519](https://github.com/apache/incubator-nuttx/pull/4519) errno: use staic errno to replace tl_errno before tls initialization  
 * [#3992](https://github.com/apache/incubator-nuttx/pull/3992) Refine tls_info_s and task_info_s  
 * [#4019](https://github.com/apache/incubator-nuttx/pull/4019) Fix asan report error  
 * [#4053](https://github.com/apache/incubator-nuttx/pull/4053) mm: Move procfs_register_meminfo into common place  
 * [#4054](https://github.com/apache/incubator-nuttx/pull/4054) mm: Call memalign in malloc if ARCH_ADDRENV and BUILD_KERNEL are defined  
 * [#4454](https://github.com/apache/incubator-nuttx/pull/4454) user/trap: Set MQ_MAXMSGSIZE to 64 to get NX working  
 * [#3725](https://github.com/apache/incubator-nuttx/pull/3725) cmd/free: add nused/nfree field in command free  
 * [#3753](https://github.com/apache/incubator-nuttx/pull/3753) libelf: fix "nsh: nsh_session: readline failed: 13" error  
 * [#3767](https://github.com/apache/incubator-nuttx/pull/3767) binfmt: Move argv copy into exec_module  
 * [#3764](https://github.com/apache/incubator-nuttx/pull/3764) binfmt: Rename dump_module to binfmt_dumpmodule  
 * [#4064](https://github.com/apache/incubator-nuttx/pull/4064) binfmt: Replace all nx_ API with file_ API  
 * [#3928](https://github.com/apache/incubator-nuttx/pull/3928) binfmt: Handle argv/argv[0] == NULL correctly in exec_module  
 * [#3867](https://github.com/apache/incubator-nuttx/pull/3867) TLS: Correct handling of returned error values.  
 * [#4185](https://github.com/apache/incubator-nuttx/pull/4185) iob_trimhead: fix an integer truncation  
 * [#4117](https://github.com/apache/incubator-nuttx/pull/4117) Dynamically extend Pidhash table  
 * [#4186](https://github.com/apache/incubator-nuttx/pull/4186) libc: Implement times function  
 * [#3908](https://github.com/apache/incubator-nuttx/pull/3908) crypto/random_pool.c: Correct indexing on void pointer  
 * [#3817](https://github.com/apache/incubator-nuttx/pull/3817) audio: various fixes  

## Major Changes to the Build System

### New Features 
 * [#4525](https://github.com/apache/incubator-nuttx/pull/4525) mkromfsimg: Add optional rcS file path  
 * [#4491](https://github.com/apache/incubator-nuttx/pull/4491) checkpatch.sh: add check gerrit Change-Id support  
 * [#3716](https://github.com/apache/incubator-nuttx/pull/3716) tools: Add a bash completion script for the configure tool    
 * [#3819](https://github.com/apache/incubator-nuttx/pull/3819) docker/linux: Add ESP32-S2 toolchain and binaries.
 * [#4203](https://github.com/apache/incubator-nuttx/pull/4203) tools: Add armv7-a support to nuttx-gdbinit  
 * [#3705](https://github.com/apache/incubator-nuttx/pull/3705) docker: add ninja-build    

### Bug Fixes 
 * [#4418](https://github.com/apache/incubator-nuttx/pull/4418) compiler.h: add __builtin_offsetof instead of offsetof 
 * [#3815](https://github.com/apache/incubator-nuttx/pull/3815) tools/mksyscall: Fix build break of syscall instrumentation wrapper   
 * [#4461](https://github.com/apache/incubator-nuttx/pull/4461) tools/ci: Minor improvements to CI build script  
 * [#4492](https://github.com/apache/incubator-nuttx/pull/4492) tools/nxstyle: Fix the check tool incorrectly reported no alignment.  
 * [#3710](https://github.com/apache/incubator-nuttx/pull/3710) tools/ci: Rename sim0x.dat to sim-0x.dat to align with arm-xx.dat  
 * [#4455](https://github.com/apache/incubator-nuttx/pull/4455) makefile: let clean_context in distclean command  
 * [#4423](https://github.com/apache/incubator-nuttx/pull/4423) board: Enable CONFIG_LIBCXXABI when CONFIG_LIBCXX is enabled  
 * [#4196](https://github.com/apache/incubator-nuttx/pull/4196) tools: Fix nuttx-gdbinit  

## Architectural Support

### New Architecture 

#### MIPS

##### PIC32
 * [#4252](https://github.com/apache/incubator-nuttx/pull/4252) pic32mz: added support for PIC32MZ2048EFG MCU 

### Architectures with significant improvements

#### ARM
 * [#4522](https://github.com/apache/incubator-nuttx/pull/4522) arch/arm: Add ARCH_CORTEXM55 Kconfig for cortex-m55  
 * [#3759](https://github.com/apache/incubator-nuttx/pull/3759) arm/v7-a/fpu: add VFP-v3 D32 support    
 * [#4536](https://github.com/apache/incubator-nuttx/pull/4536) arch/arm: correct the function name from arm_getsp() to up_getsp()  
 * [#4410](https://github.com/apache/incubator-nuttx/pull/4410) arch/arm/assert: enhance the assert dump  
 * [#4409](https://github.com/apache/incubator-nuttx/pull/4409) arch/arm/cortex-m: add up_backtrace support  
 * [#4405](https://github.com/apache/incubator-nuttx/pull/4405) arch/armv7: add up_backtrace support based on frame pointer  
 * [#4385](https://github.com/apache/incubator-nuttx/pull/4385) arch/armv8-m: Update per the latest architecture reference manual  
 * [#4354](https://github.com/apache/incubator-nuttx/pull/4354) arch/arm: correct the frame pointer register declare 
 * [#4205](https://github.com/apache/incubator-nuttx/pull/4205) arm: add up_secure_irq support  
 * [#4176](https://github.com/apache/incubator-nuttx/pull/4176) ARM: fix CPSR corruption after exception handling  
 * [#4094](https://github.com/apache/incubator-nuttx/pull/4094) arch/armv7-a: Remove the special SMP SGI process  
 * [#4451](https://github.com/apache/incubator-nuttx/pull/4451) arch: Replace ar, nm and ld with gcc-ar, gcc-nm and gcc  
 * [#4343](https://github.com/apache/incubator-nuttx/pull/4343) arch/armv8-m: Add SAU support  
 * [#4341](https://github.com/apache/incubator-nuttx/pull/4341) arch/arm: Add NVIC_FPCCR_XXX macro to avoid the hard code value  
 * [#4279](https://github.com/apache/incubator-nuttx/pull/4279) arch/cortex-m: replace arm_switchcontext to c-style  
 * [#4106](https://github.com/apache/incubator-nuttx/pull/4106) arm/setjmp.h:add c++ support  
 * [#4013](https://github.com/apache/incubator-nuttx/pull/4013) arm: fix enable interrupt too earlier caused system crash  
 * [#4483](https://github.com/apache/incubator-nuttx/pull/4483) Fix compilation of arm protected build  
 * [#3879](https://github.com/apache/incubator-nuttx/pull/3879) arch: Rename xxx_getsp to up_getsp  
 * [#4227](https://github.com/apache/incubator-nuttx/pull/4227) pwm: add option to break the loops when using multiple PWM channels  
 * [#4261](https://github.com/apache/incubator-nuttx/pull/4261) EXC_SECURE and SECURE_STACK just can clear at TRUSTZONE_NONSECURE  

#### CXD56XX
 * [#4557](https://github.com/apache/incubator-nuttx/pull/4557) arch: cxd56xx: Replace the critical section with spinlock in cxd56_serial.c 
 * [#3743](https://github.com/apache/incubator-nuttx/pull/3743) arch: arm: cxd56xx: Update cxd56xx drivers  
 * [#3845](https://github.com/apache/incubator-nuttx/pull/3845) Fix spresense with elf  

#### LPC17XX_40XX
 * [#4072](https://github.com/apache/incubator-nuttx/pull/4072) lpc17xx: Added WDT driver.  
 * [#4316](https://github.com/apache/incubator-nuttx/pull/4316) lpc17_40: Fixed I2C port sanity check.  
 * [#4148](https://github.com/apache/incubator-nuttx/pull/4148) lpc17_40: style fix in WDT definitions.  
 * [#4107](https://github.com/apache/incubator-nuttx/pull/4107) lpc17_40: Fixed progmem driver.  

#### STM32
 * [#3761](https://github.com/apache/incubator-nuttx/pull/3761) ET-STM32 Stamp: An STM32F103RET6 target for NuttX 
 * [#4350](https://github.com/apache/incubator-nuttx/pull/4350) arch/arm/src/stm32l4/Kconfig: add new STM32L4+ chip types  
 * [#4310](https://github.com/apache/incubator-nuttx/pull/4310) arch/stm32: improvements for qencoder   
 * [#3752](https://github.com/apache/incubator-nuttx/pull/3752) Use inttypes stm32fx i2c  
 * [#4090](https://github.com/apache/incubator-nuttx/pull/4090) STM32G43XX Analog Comparator  
 * [#3942](https://github.com/apache/incubator-nuttx/pull/3942) Changed the STM32 Analog Comparator driver. 
 * [#3729](https://github.com/apache/incubator-nuttx/pull/3729) stm32 timers: Prefer GTIM macros and make this use more uniform.  
 * [#4163](https://github.com/apache/incubator-nuttx/pull/4163) Files for pysimCoder 
 * [#4151](https://github.com/apache/incubator-nuttx/pull/4151) Change DAC driver to support STM32G4 DAC  

#### STM32L4
 * [#3668](https://github.com/apache/incubator-nuttx/pull/3668) arch/arm/src/stm32l4/hardware/stm32l4xrxx: pinmap alternative function for SPI2  
 * [#4468](https://github.com/apache/incubator-nuttx/pull/4468) arch/arm/src/stm32l4: fix STM32L4+ option bytes memory address  
 * [#4501](https://github.com/apache/incubator-nuttx/pull/4501) arch/arm/src/stm32l4: add control for Vddio2 independent I/Os supply valid  
 * [#4469](https://github.com/apache/incubator-nuttx/pull/4469) arch/arm/src/stm32l4/stm32l4_flash.c: fix FLASH_CONFIG_I to use dual-bank access  

#### STM32L5

#### S32K1XX
 * [#3850](https://github.com/apache/incubator-nuttx/pull/3850) UCANS32K146 add support for B revision  
 * [#4492#4493](https://github.com/apache/incubator-nuttx/pull/#44924493) tools/nxstyle: Fix theerror check tool incorrectly reported no alignment.in s32k118_pinmux.h  
 * [#3710#3795](https://github.com/apache/incubator-nuttx/pull/#37103795) tools/ci: Rename sim0x.datS32K1XX LSPI Double word up to sim-0x.dat to align with arm-xx.dat 64 bits support  

#### IMX6 
 * [#4455#3777](https://github.com/apache/incubator-nuttx/pull/#44553777) makefilearch: imx6: letAdd clean_contexttermios insupport distcleanto commandimx6  

###### ArchitecturalIMXRT Support

### New Architecture

### Architectures with significant improvements

#### ARM
 * [#3988](https://github.com/apache/incubator-nuttx/pull/3988) arch/arm/src/imxrt/imxrt_flexpwm.c: fix mistake in submodules address offset  
 * [#4522#4431](https://github.com/apache/incubator-nuttx/pull/#45224431) arch/arm: Add ARCH_CORTEXM55 Kconfig for cortex-m55 i.MX RT: Changes to FlexCAN driver and Teensy 4.x CAN configuration  
 * [#3759#4285](https://github.com/apache/incubator-nuttx/pull/#37594285) arch/arm/src/v7-a/fpu: add VFP-v3 D32 support  imxrt/imxrt_flexpwm.c: Set LDOK bits after all channels are set  
 * [#4536#4138](https://github.com/apache/incubator-nuttx/pull/#45364138) arch/arm i.MX RT: correctadded thesupport functionfor nameTickless fromOS arm_getsp() to up_getsp()   

#### RP2040 
 * [#4410#4049](https://github.com/apache/incubator-nuttx/pull/#44104049) arch/arm/assert: enhance the assert dump  Raspipico smp 
 * [#4409#4251](https://github.com/apache/incubator-nuttx/pull/#44094251) arch/arm/cortex-mraspberrypi-pico: add support for uplcd_backtracedev support  
 * [#4405#4002](https://github.com/apache/incubator-nuttx/pull/#4405) arch/armv7: add up_backtrace support based on frame pointer  4002) Kinetis Replace DMA with a proper eDMA driver and use it on SPI and Serial  

#### RTL8720C
 * [#4385#4076](https://github.com/apache/incubator-nuttx/pull/#43854076) arch/armv8-mAmebaZ2: UpdateAdd persoc thesrc latestcode architecture reference manual  

#### NRF52

#### STM32H7/STM32F7
 * [#4354#4331](https://github.com/apache/incubator-nuttx/pull/#43544331) arch/arm/stm32h7: correctdma theand frameserial: pointeradd registerTRBUFF declareflag. 
 * [#4205#4441](https://github.com/apache/incubator-nuttx/pull/#42054441) arch/arm/stm32f7/stm32_irq: add up_secure_irq supportFix format strings  
 * [#4176#4098](https://github.com/apache/incubator-nuttx/pull/#41764098) ARM: fix CPSR corruption after exception handling stm32h7 Ethernet add yield and timeout to not hog CPU  
 * [#4094#3730](https://github.com/apache/incubator-nuttx/pull/#40943730) arch/armv7-a: Remove the special SMP SGI processstm32h7 rcc: Sync h7x7xx and h7x3xx. Changes are relevant to both  
 * [#4451#3892](https://github.com/apache/incubator-nuttx/pull/#44513892) arch/arm/src/stm32h7: Replaceqspi ar,use nmindirect andwrite ldinstead with gcc-ar, gcc-nm and gcc  of indirect read 
 * [#4343#3728](https://github.com/apache/incubator-nuttx/pull/#43433728) arch/armv8-m: Add SAU supportstm32f7: Remove references to BOARD_ENABLE_USBOTG_HSULPI.  
 * [#4341#3731](https://github.com/apache/incubator-nuttx/pull/#43413731) archstm32/armstm32f7 tickless: AddFix NVICup_FPCCRtimer_XXXgetmask to macrobe tocorrect avoidfor the hardwidth codeof valuethe timer. 
 * [#4279#3976](https://github.com/apache/incubator-nuttx/pull/#42793976) arch/cortex-m: replace arm_switchcontext to c-style  STM32F7 SDMMC fixes  
 * [#4106#3924](https://github.com/apache/incubator-nuttx/pull/#4106) arm/setjmp.h:add c++ support 3924) stm32h7 fix for adc to handle overrun and the DR's fifo  

#### Renesas 
 * [#4013#4230](https://github.com/apache/incubator-nuttx/pull/#40134230) armrenesas/rx65n: fixadd enablelong interrupt too earlier caused system crashtype for all PRI*PTR  
 * [#4483#3989](https://github.com/apache/incubator-nuttx/pull/#44833989) Renesas/RX Fixadded compilationsetjmp ofand armplaceholder protectedioctl build 

#### Risc-V
 * [#3879#3770](https://github.com/apache/incubator-nuttx/pull/#38793770) arch:Add Renamesupport xxx_getspfor toPolarFire up_getspSoC and 

####icicle CXD56XXboard
 * [#4557#3997](https://github.com/apache/incubator-nuttx/pull/#45573997) archrisc-v/bl602: cxd56xx:update Replacewifi the critical section with spinlock in cxd56_serial.cfirmware version  
 * [#3743#4381](https://github.com/apache/incubator-nuttx/pull/#37434381) arch/riscv/assert: arm:enhance cxd56xx:the Updateassert cxd56xx driversdump  
 * [#3845#4367](https://github.com/apache/incubator-nuttx/pull/#38454367) Fix spresense with elfriscv/backtrace: add up_backtrace support  

#### LPC17XX_40XX
 * [#4072#4365](https://github.com/apache/incubator-nuttx/pull/#40724365) lpc17xxriscv/common: Added WDT driver. add CURRENT_REGS declare in RV32  
 * [#4316#4342](https://github.com/apache/incubator-nuttx/pull/#4316) lpc17_40: Fixed I2C port sanity check/4342) riscv/bl602: Fix that AP cannot be start when STA have been started.  
 * [#4148#4335](https://github.com/apache/incubator-nuttx/pull/#41484335) lpc17_40: style fix in WDT definitions.  arch/bl602:Add bl602 os adapter layer  
 * [#4107#4145](https://github.com/apache/incubator-nuttx/pull/#41074145) lpc17_40: Fixed progmem driverrisc-v/bl602: update wifi firmware and some fixup.  

#### STM32
 * [#3761#3849](https://github.com/apache/incubator-nuttx/pull/#37613849) ET-STM32 Stamp: An STM32F103RET6 target for NuttXrisc-v/mpfs: irq fixes, more register defines and up_systemreset()  
 * [#4350#3984](https://github.com/apache/incubator-nuttx/pull/#43503984) arch/arm/src/stm32l4/Kconfig: add new STM32L4+ chip typesrisc-v/bl602: Support AP and STA as independent network interface device  
 * [#4310#3913](https://github.com/apache/incubator-nuttx/pull/#43103913) arch/stm32: improvements: k210: Fix stack coloring for qencoderthe idle thread stack  
 * [#3752#3757](https://github.com/apache/incubator-nuttx/pull/#3752) Use inttypes stm32fx i2c3757) riscv: Add inline IRQ process functions  
 * [#4090#4041](https://github.com/apache/incubator-nuttx/pull/#40904041) STM32G43XX Analog Comparatorrisc-v/bl602: add efuse driver  
 * [#3942#4384](https://github.com/apache/incubator-nuttx/pull/#39424384) ChangedMpfs thecore STM32pwm Analog Comparator driver. 
 * [#3729#4507](https://github.com/apache/incubator-nuttx/pull/#37294507) stm32various timers: Prefer GTIM macros and make this use more uniform.  MPFS fixes  

#### STM32L4ESP32-C3
 * [#3668#3853](https://github.com/apache/incubator-nuttx/pull/#36683853) arch/arm/src/stm32l4/hardware/stm32l4xrxx: pinmap alternative function for SPI2  risc-v/esp32c3: add esp32c3_modtext to allow ELF loading  
 
#### BL602 
 * [#4468#3784](https://github.com/apache/incubator-nuttx/pull/#44683784) arch/arm/src/stm32l4risc-v/bl602: fixAdd STM32L4+RTC optiondriver bytes memory address  
 * [#4501#4607](https://github.com/apache/incubator-nuttx/pull/#45014607) arch/arm/src/stm32l4: add control for Vddio2 independent I/Os supply valid  Open ble controller adaptation code  

#### Xtensa
 * [#4469#4280](https://github.com/apache/incubator-nuttx/pull/#44694280) arch/arm/src/stm32l4/stm32l4_flash.c:xtensa: fix FLASH_CONFIG_I to use dual-bank accessadd new GNU toolchain for xtensa.  

#### STM32L5

#### S32K1XX
 * [#3850#4478](https://github.com/apache/incubator-nuttx/pull/#38504478) arch: UCANS32K146xtensa: add supportxtensa forcache Bsupport revision  
 * [#4493#4547](https://github.com/apache/incubator-nuttx/pull/#44934547) Fix error in s32k118_pinmux.h arch:xtensa: add full bactrace support 
 * [#3795#4407](https://github.com/apache/incubator-nuttx/pull/#37954407) S32K1XX LSPI Double word up to 64 bits support  

#### IMX6 
 * [#3777arch/xtensa/src/common: Use irq_spin APIs in modifyregXX  
 * [#4403](https://github.com/apache/incubator-nuttx/pull/#37774403) arch: imx6: Add termios support to imx6  

#### IMXRT 
 * [#3988Use driver-specific spinlock for ESP32 serial driver.  
 * [#4458](https://github.com/apache/incubator-nuttx/pull/#3988) arch/arm/src/imxrt/imxrt_flexpwm.c: fix mistake in submodules address offset  /4458) arch:xtensa: add xtensa mpu support  
 * [#4431#3762](https://github.com/apache/incubator-nuttx/pull/#44313762) i.MX RT: Changes to FlexCAN driver and Teensy 4.x CAN configuration  xtensa: #ifdef SYMBOL is always true if SYMBOL defined as 0  

#### ESP32
 * [#4285#4638](https://github.com/apache/incubator-nuttx/pull/#42854638) arch/arm/src/imxrt/imxrt_flexpwm.c: Set LDOK bits after all channels are setesp32xx_rom.ld: Strongly declare some of the libgcc.a functions that are ROM resident  
 * [#4138#4417](https://github.com/apache/incubator-nuttx/pull/#41384417) i.MX RTarch/esp32: addedProperly supporthandle forGPIO Ticklessinterrupt OSin SMP. 

#### RP2040 
 * [#4049#4234](https://github.com/apache/incubator-nuttx/pull/#4049) Raspipico smp 4234) espressif/esp32/esp32s2/esp32c3: Disable wdt on initialization.  

#### X86_64
 * [#4251#4447](https://github.com/apache/incubator-nuttx/pull/#4251) raspberrypi-pico: add support for lcd_dev4447) Fix x86_64  

####### General RTL8720Cchanges
 * [#4076#4233](https://github.com/apache/incubator-nuttx/pull/#40764233) AmebaZ2board/ctrl: Add soc src code 

#### NRF52

#### STM32H7/STM32F7BOARDIOC_BOOT_IMAGE for booting a new application image  
 * [#4331#4191](https://github.com/apache/incubator-nuttx/pull/#43314191) arch/arm/stm32h7: dma and serial: add TRBUFF flag.Add BOARDCTL_SWITCH_BOOT to support switch boot system 
 * [#4441#4089](https://github.com/apache/incubator-nuttx/pull/#44414089) arch/arm/stm32f7/stm32_irq: Fix format strings board/ctrl: add BOARDCTL_UNIQUEKEY support  
 
 ## Simulator 
 * [#4098#3921](https://github.com/apache/incubator-nuttx/pull/#40983921) stm32h7 Ethernet add yield and timeout to not hog CPUsim: Use cc as linker, which usually aliases to either GCC or Clang  
 * [#3730#4108](https://github.com/apache/incubator-nuttx/pull/#37304108) stm32h7 rccboards/sim: Syncenable h7x7xxnxlooper andfor h7x3xx. Changes are relevant to bothalsa config  
 * [#3892#4222](https://github.com/apache/incubator-nuttx/pull/#38924222) arch/arm/src/stm32h7sim/cmdline: qspisave useboot indirectcmdline write instead of indirect read 
 * [#3728#4209](https://github.com/apache/incubator-nuttx/pull/#37284209) stm32f7:Fix Removesim referencessmp to BOARD_ENABLE_USBOTG_HSULPI.  
 * [#3731#4207](https://github.com/apache/incubator-nuttx/pull/#37314207) stm32/stm32f7 tickless: Fix up_timer_getmaskarch: sim: Workaround to bemake correctthe forIPI thework widthon ofmacOS the timer. 
 * [#3976#4167](https://github.com/apache/incubator-nuttx/pull/#3976) STM32F7 SDMMC fixes4167) arch/sim: The second CPU shouldn't call up_irqinitialize  
 * [#3924#3904](https://github.com/apache/incubator-nuttx/pull/#39243904) stm32h7 fix for adc to handle overrun and the DR's fifo  

#### Renesasboards/sim/sim/sim: correct LDLINKFLAGS after migrating from ld to gcc  
 * [#4230#4056](https://github.com/apache/incubator-nuttx/pull/#42304056) renesasarch/rx65nsim: add long type for all PRI*PTR  

#### RX65N

#### Risc-VFix bt and audio simulation stop work in SMP mode  
 * [#3770#4045](https://github.com/apache/incubator-nuttx/pull/#37704045) Add support for PolarFire SoC and icicle boardsim/smp: fix smp can't start, caused by signal too busy  
 * [#3997#4015](https://github.com/apache/incubator-nuttx/pull/#39974015) risc-v/bl602: update wifi firmware versionmodify sim clock to PC abs time  
 * [#4381#3983](https://github.com/apache/incubator-nuttx/pull/#43813983) arch/riscv/assert: enhancesim: Implement mm_mallinfo and malloc_size for the assertcustom dumpheap  
 * [#4367#4459](https://github.com/apache/incubator-nuttx/pull/#43674459) riscv/backtracesim: add up_backtrace supportInhibit stack protector on stack coloration function  
 * [#4365#3721](https://github.com/apache/incubator-nuttx/pull/#43653721) riscvsim/commonrptun: add CURRENT_REGS declare in RV32 support multi(>2) core interactive by share memory  
 * [#4342#4306](https://github.com/apache/incubator-nuttx/pull/#4342) riscv/bl602: Fix that AP cannot be start when STA have been started.  /4306) boards/sim: Add smartfs profile example 
 * [#4335#4258](https://github.com/apache/incubator-nuttx/pull/#43354258) arch/bl602:AddUse bl602exit osfunc adapter layeriml host_abort.  
 * [#4145#3689](https://github.com/apache/incubator-nuttx/pull/#41453689) risc-v/bl602: update wifi firmware and some fixup.Apps Issue #246: Replace romdisk_register() with boardctl(BOARDIOC_ROMDISK)  
 * [#3849#4465](https://github.com/apache/incubator-nuttx/pull/#38494465) risc-v/mpfs: irq fixes, more register defines and up_systemreset()  feature: driver: Add a Linux SPI into simulator.  

## Documentation

### New Features   
 * [#3984#3634](https://github.com/apache/incubator-nuttx/pull/#39843634) risc-vDocumentation/bl602platforms: Supportadded APdocumentation andfor STAimxrt10xx as independent network interface device  boards  
 * [#3913#4470](https://github.com/apache/incubator-nuttx/pull/#39134470) archDoc: k210:Add Fixinitial stackdocumentation coloringto for the idle thread stacksimulator  
 * [#3757#4419](https://github.com/apache/incubator-nuttx/pull/#37574419) riscvdoc/esp32: Add inline IRQ process functions  instructions to use softap  
 
 ### Improvements 
 * [#4041#3782](https://github.com/apache/incubator-nuttx/pull/#40413782) risc-v/bl602spi: addImprove efuseSPI driverSlave interface 

#### RV64

#### ESP32C3documentation  
 * [#3853#4390](https://github.com/apache/incubator-nuttx/pull/#38534390) arch/risc-v/esp32c3Documentation: add esp32c3_modtext to allow ELF loading  
 
#### BL602Update ESP32-C3 supported peripheral list.  
 * [#3784#3702](https://github.com/apache/incubator-nuttx/pull/#37843702) risc-vDocumentation/bl602esp32c3: Add RTC driver  Fix a couple of issues from #3700 
 * [#4607#4242](https://github.com/apache/incubator-nuttx/pull/#46074242) Open ble controller adaptation code  

#### Xtensa
 Documentation/bl602: Update some imformation  
 * [#4280#3662](https://github.com/apache/incubator-nuttx/pull/#42803662) arch:xtensa: add new GNU toolchain for xtensa.Fix some issues on SPI documentation  
 * [#4478#4375](https://github.com/apache/incubator-nuttx/pull/#44784375) arch: xtensa: add xtensa cache support Documentation/esp32-wrover-kit: update the name of the GPIO interrupt device.  
 * [#4547#4298](https://github.com/apache/incubator-nuttx/pull/#45474298) arch:xtensa: add full bactrace supportDoc/FAQ: Add more entries about board initialization  
 * [#4407#3899](https://github.com/apache/incubator-nuttx/pull/#44073899) arch/xtensa/src/commonDocumentation: Use irq_spin APIs in modifyregXX  Update kconfig-frontends install instructions  
 * [#4403#4235](https://github.com/apache/incubator-nuttx/pull/#44034235) Use driver-specific spinlock for ESP32 serial driverDocumentation/: Update ESP32 doc.  
 * [#4458#3802](https://github.com/apache/incubator-nuttx/pull/#44583802) arch:xtensa: add xtensa mpu supportDoc: Improve documentation to make clear about the priorities  
 * [#3762#4564](https://github.com/apache/incubator-nuttx/pull/#37624564) xtensaDoc: #ifdefUpdate SYMBOLdownload isversion alwaysto true10.1 ifand SYMBOLfix definedtar ascommand 0  

#### ESP32
 * [#4638#3700](https://github.com/apache/incubator-nuttx/pull/#46383700) esp32xx_rom.ld: Strongly declare some of the libgcc.a functions that are ROM residentConvert ESP32-C3 README to the new Documentation  
 * [#4417#4298](https://github.com/apache/incubator-nuttx/pull/#44174298) archDoc/esp32FAQ: ProperlyAdd more handleentries GPIOabout interruptboard ininitialization SMP. 
 * [#4234#4297](https://github.com/apache/incubator-nuttx/pull/#42344297) espressif/esp32/esp32s2/esp32c3Documentation/FAQ: Disable wdt on initialization. Why /dev/ttySx is not created 

### MinorDriver changesSupport

##### Bug Fixes Simulator 
 * [#3921#3842](https://github.com/apache/incubator-nuttx/pull/#39213842) sim: Use cc as linker, which usually aliases to either GCC or Clang  Added automatic log rotation, when log file is opened.
 * [#3837](https://github.com/apache/incubator-nuttx/pull/3837) SYSLOG channel add functions return handle to the channel.
 * [#4108#3848](https://github.com/apache/incubator-nuttx/pull/#41083848) boards/sim: enable nxlooper for alsa config  Syslog file rotations number is configurable.
 * [#4222#3808](https://github.com/apache/incubator-nuttx/pull/#42223808) sim/cmdline: save boot cmdlineRamlog: recover last crash log from ram buffer.  
 * [#4209#4614](https://github.com/apache/incubator-nuttx/pull/#42094614) Fix sim smpinput/touch: add io command for touch firmware version   
 * [#4207#4632](https://github.com/apache/incubator-nuttx/pull/#42074632) archfeat: simdriver: Workaroundsupport todouble makebuffer thefor IPIdisplay work on macOS  
 * [#4167#4650](https://github.com/apache/incubator-nuttx/pull/#41674650) archdriver/simpower: The second CPU shouldn't call up_irqinitialize using upper-half structure directly in the lower-half structure.  
 * [#3904#4370](https://github.com/apache/incubator-nuttx/pull/#39044370) boardsdrivers/sim/sim/simsensors/bmp280.c: correctCorrect LDLINKFLAGSbmp280 afterdriver migrating from ld to gcc  
 * [#4056#4243](https://github.com/apache/incubator-nuttx/pull/#40564243) archdrivers/simmmcsd:Send Fixcmd0 btjust andonce audiofor simulation stop work in SMP modeIncreased compatibility  
 * [#4045#4231](https://github.com/apache/incubator-nuttx/pull/#40454231) sim/smpadc: fixadd ioctl smpcommand can't start, caused by signal too busyto get the number of configured channels  
 * [#4015#4007](https://github.com/apache/incubator-nuttx/pull/#40154007) modify sim clock to PC abs time  driver/fakesensor: fix bugs.  
 * [#3983#4177](https://github.com/apache/incubator-nuttx/pull/#39834177) arch/simserial: Implement mm_mallinfo and malloc_size for the custom heapuse Ctrl+? composite key to force panic"  
 * [#4459#3851](https://github.com/apache/incubator-nuttx/pull/#44593851) simspi: Inhibit stack protector on stack coloration functionRefactor SPI Slave interface prefix to sync with I2C Slave  
 * [#3721#4095](https://github.com/apache/incubator-nuttx/pull/#37214095) simdrivers/rptunsyslog: Avoid support multi(>2) core interactive by share memory prepending process name when no TCB is available 
 * [#4306#3990](https://github.com/apache/incubator-nuttx/pull/#43063990) boards/sim: Add smartfs profile exampledrivers: wireless: Fix error handling in gs2200m_ioctl_send()  

### New Features

### Bug Fixes

## Documentation

### New Features  

### Improvements

### Driver Support

### Bug Fixes * [#3860](https://github.com/apache/incubator-nuttx/pull/3860) drivers: serial: Remove an unnecessary critical section (cs) for SMP  
 * [#3842#3910](https://github.com/apache/incubator-nuttx/pull/#38423910) Added automatic log rotation, when log file is opened.serial/pty: Initialize the terminal setting as a console  
 * [#3837#4110](https://github.com/apache/incubator-nuttx/pull/#38374110) SYSLOGbcm43xxx: channel add functions return handle to the channel.supported IW_AUTH_CIPHER_NONE mode  
 * [#3848#4131](https://github.com/apache/incubator-nuttx/pull/#38484131) Syslog file rotations number is configurable.drivers/rptun: replace the notification mech from signal to semaphore  
 * [#3808#4132](https://github.com/apache/incubator-nuttx/pull/#38084132) Ramlogserial: recover lastadd ctrl+@ to force crash logsystem fromfor ramdebugging buffer.  
 * [#4614#4156](https://github.com/apache/incubator-nuttx/pull/#46144156) input/touch: add io command for touch firmware version Fakesensor: support gps by read nema csv and delete fakesensor init.  
 * [#4632#4225](https://github.com/apache/incubator-nuttx/pull/#46324225) featsensor: driver: support double buffer for displaydirectly return -ENOTSUP without the set_interval or batch  
 * [#4650#4228](https://github.com/apache/incubator-nuttx/pull/#46504228) driver/powerdrivers: wireless: using upper-half structure directly in the lower-half structure.Fix to set the address family for recvfrom() in gs2200m  
 * [#4370#4288](https://github.com/apache/incubator-nuttx/pull/#43704288) drivers/sensors/bmp280.c: Correct bmp280 driveradc: add IOCTL commands ANIOC_RESET_FIFO and ANIOC_SAMPLES_ON_READ  
 * [#4243#4312](https://github.com/apache/incubator-nuttx/pull/#42434312) drivers/mmcsd:Send cmd0 just once for Increased compatibilityqencoder: add command to set the maximum encoder position  
 * [#4231#4652](https://github.com/apache/incubator-nuttx/pull/#42314652) adcdriver/sensor: add ioctl command to get the number of configured channels  support sensor_ops: selftest  
 * [#4007#3633](https://github.com/apache/incubator-nuttx/pull/#40073633) driverdrivers/fakesensorserial: fix bugs. Rx interrupt enable for cdcacm  
 * [#4177#4504](https://github.com/apache/incubator-nuttx/pull/#41774504) serial: use Ctrl+? composite key to force panic"add new interface for fb driver and lcd dev driver  
 * [#3851#4554](https://github.com/apache/incubator-nuttx/pull/#38514554) spidrivers/lcd: RefactorAdd SPIGC9A01 Slavedriver interfaceand prefix to sync with I2C Slave  refine ST7735  
 * [#4095#3658](https://github.com/apache/incubator-nuttx/pull/#40953658) drivers/syslog: Avoidmove prependingthe processgeneric nameupper-half whenmotor nodriver TCB is available 
 * [#3990#4397](https://github.com/apache/incubator-nuttx/pull/#39904397) drivers:Update wireless:lm3s6965 Fix error handling in gs2200m_ioctl_send()  
 * [#3860#4489](https://github.com/apache/incubator-nuttx/pull/#38604489) drivers/mmcsd: serial:Pass Removethe anright unnecessarybuffer criticalsize section (cs) for SMPto SDIO_DMAPREFLIGHT  
 * [#3910#4479](https://github.com/apache/incubator-nuttx/pull/#39104479) serialdrivers/ptysdmmc: InitializeRemove therwbuffer terminal setting as a consoleto avoid panic  
 * [#4110#4476](https://github.com/apache/incubator-nuttx/pull/#41104476) bcm43xxxdrivers/mmcsd: supportedChange IW_AUTH_CIPHER_NONE modeup_udelay to nxsig_usleep if delay >= 1ms  
 * [#4131#4474](https://github.com/apache/incubator-nuttx/pull/#41314474) drivers/rptunmmcsd: replaceHandle the notificationfailure mechcorrectly fromin signalmmcsd_slotinitialize to semaphore  
 * [#4132#4473](https://github.com/apache/incubator-nuttx/pull/#41324473) serialdrivers/mmcsd: addFix ctrl+@the towrong forceformat crashargument systemin formmcsd_dmpcsd debugging  
 * [#4156#3720](https://github.com/apache/incubator-nuttx/pull/#41563720) Fakesensordriver/syslog: support gps by read nema csv and delete fakesensor init.  add CONFIG_SYSLOG_RPMSG_SERVER_NAME  
 * [#4225#3864](https://github.com/apache/incubator-nuttx/pull/#42253864) sensor:Fix directlyht16k33 returndriver -ENOTSUPto without the set_interval or batch  support multi-modules  
 * [#4228#3828](https://github.com/apache/incubator-nuttx/pull/#42283828) driverssyslog/emerg: wireless:fix Fixbug toabout set the address family for recvfrom() in gs2200mprinting LOG_EMERG log from iob buffer  
 * [#4288#3806](https://github.com/apache/incubator-nuttx/pull/#42883806) adcsyslog: addfix IOCTLbug commandsabout ANIOCsyslog_RESETdefault_FIFOwrite and ANIOC_SAMPLES_ON_READ  
 * [#4312#3936](https://github.com/apache/incubator-nuttx/pull/#43123936) driverssyslog/qencoderramlog: addRemove commandthe toduplication set the maximum encoder position  of \n->\r\n conversion  
 * [#4652#3907](https://github.com/apache/incubator-nuttx/pull/#46523907) driverserial/sensor: support sensor_ops: selftestpty: Don't return -NOSYS if pollfd::events equals 0  
 * [#3633#3742](https://github.com/apache/incubator-nuttx/pull/#36333742) drivers/serialmodem/altair: fix Rx interrupt enable for cdcacm Fix behavior when a reset packet conflicts with a send packet  
 * [#4504#3741](https://github.com/apache/incubator-nuttx/pull/#45043741) add new interface for fb driver and lcd dev driver  drivers/mtd/smart.c: Recover the missing link of directory entry  
 * [#4554#3736](https://github.com/apache/incubator-nuttx/pull/#45543736) drivers/lcdsyslog: AddRemove GC9A01emergstream driverimplementation and refinecaller ST7735  
 * [#3658#3726](https://github.com/apache/incubator-nuttx/pull/#36583726) driversrtc: moveadd the generic upper-half motor driverconfig RTC_RPMSG_SERVER, RTC_RPMSG_SERVER_NAME  
 * [#4397#4113](https://github.com/apache/incubator-nuttx/pull/#43974113) Update lm3s6965syslog/ramlog: optimize code and fix init issue  
 * [#4489#4111](https://github.com/apache/incubator-nuttx/pull/#44894111) driverssyslog/mmcsdintbuf: Pass the rightforce output log when syslog interrupt buffer size to SDIO_DMAPREFLIGHTis full  
 * [#4479#4042](https://github.com/apache/incubator-nuttx/pull/#44794042) drivers/sdmmcserial: Removeadd rwbufferioctl toTIOCNOTTY avoid panic  
 * [#4476#4034](https://github.com/apache/incubator-nuttx/pull/#44764034) drivers/mmcsdsyslog: Change up_udelayadd CPU id to nxsig_usleepsystem ifwhen delay >= 1ms  open CONFIG_SMP  
 * [#4474#4032](https://github.com/apache/incubator-nuttx/pull/#44744032) drivers/mmcsdsyslog: Handlefix crash thewhen failureprint correctlylocaltime inby mmcsd_slotinitializesyslog  
 * [#4473#3979](https://github.com/apache/incubator-nuttx/pull/#4473) drivers/mmcsd3979) note: Fix the wrong format argument in mmcsd_dmpcsd  Move up_schednote.c to drivers/note folder  
 * [#3720#4475](https://github.com/apache/incubator-nuttx/pull/#37204475) driverdrivers/syslogmmcsd: addChange CONFIG_SYSLOG_RPMSG_SERVER_NAMEmmsd_ prefix to mmcsd_ prefix  
 * [#3864#4415](https://github.com/apache/incubator-nuttx/pull/#38644415) FixAdds ht16k33driver driverfor tomsa301 supportsensore multi-modulesmodule  
 * [#3828#4420](https://github.com/apache/incubator-nuttx/pull/#38284420) syslog/emergsensor: fix the bug aboutthat printinglsm6dsl LOG_EMERGselftest logis frominvalid iobin buffernuttx.  
 * [#3806#3787](https://github.com/apache/incubator-nuttx/pull/#38063787) syslogdrivers/spi: fix bug about syslog_default_writeAdd SPI Slave character device driver  
 * [#3936#4566](https://github.com/apache/incubator-nuttx/pull/#39364566) drivers/syslog/ramlog: RemoveCall theup_puts duplication of \n->\r\n conversionin syslog_default_write instad up_putc  
 * [#3907#4580](https://github.com/apache/incubator-nuttx/pull/#3907) serial/pty: Don't return -NOSYS if pollfd::events equals 0 4580) drivers/syslog: Ensure the buffer zero terminate 
 * [#3742#4302](https://github.com/apache/incubator-nuttx/pull/#37424302) drivers/modem/altair: Fix behavior when a reset packet conflicts with a send packet  Compile fixes in MCP23X17 driver.  
 * [#3741#4299](https://github.com/apache/incubator-nuttx/pull/#37414299) drivers/mtd/smart.cbchlib: RecoverImprove theerror missinghandling link of directory entry  
 * [#3736#4345](https://github.com/apache/incubator-nuttx/pull/#37364345) drivers/syslogmtd: RemoveImplement emergstreamBIOC_PARTINFO implementationfor andall callerdrivers  
 * [#3726#4248](https://github.com/apache/incubator-nuttx/pull/#37264248) rtcmtd: addReturn config RTC_RPMSG_SERVER, RTC_RPMSG_SERVER_NAME  MTD Partition Information 
 * [#4113#4166](https://github.com/apache/incubator-nuttx/pull/#41134166) syslog/ramlogmtd: optimize code and fix init issue Add MTDIOC_ERASESTATE command for retrieving erase state value 
 * [#4111#3885](https://github.com/apache/incubator-nuttx/pull/#41113885) syslog/intbufmtd: force output log when syslog interrupt buffer is fullAdd MTDIOC_FLUSH IOCTL like MTDIOC_XIPBASE  
 * [#4042#3722](https://github.com/apache/incubator-nuttx/pull/#40423722) seriallirc: add ioctl TIOCNOTTYfix bug about lirc_raw_event   
 * [#4034#4515](https://github.com/apache/incubator-nuttx/pull/#40344515) syslogrptun: add CPU id CONFIG_RPTUN_LOADER to systemoptimize whencode opensize CONFIG_SMP  
 * [#4032#4223](https://github.com/apache/incubator-nuttx/pull/#40324223) syslogrptun: fixoptimize crashmulti-core whenstartup print localtime by syslog  
 * [#3979#4552](https://github.com/apache/incubator-nuttx/pull/#39794552) note: Move up_schednote.c to drivers/note folderbcm43xxx: abrupt stall of receiving new credits from sdpcm header  
 * [#4475#4565](https://github.com/apache/incubator-nuttx/pull/#44754565) drivers/mmcsdbcm43xxx: Changeadded mmsd_SDPCM prefixframe topool mmcsd_size prefixparameter  
 * [#4415#4236](https://github.com/apache/incubator-nuttx/pull/#44154236) Adds driverbcm43xxx: fixed issues with unaligned buffers for msa301 sensore moduleDMA transfers.  
 * [#4420#4567](https://github.com/apache/incubator-nuttx/pull/#44204567) sensorlcd/st77xx: fix the bug that lsm6dsl selftest is invalid in nuttx. change 16 bit cmd send to 8 bit 
 * [#3787#4137](https://github.com/apache/incubator-nuttx/pull/#37874137) drivers/spibluetooth: Addadd SPImore SlaveOGF characterdefinition device driver  
 * [#4566#4039](https://github.com/apache/incubator-nuttx/pull/#45664039) drivers/syslog: Call up_puts in syslog_default_write instad up_putc  Add putarea() method for st7789  
 * [#4580#3754](https://github.com/apache/incubator-nuttx/pull/#45803754) driverswireless/syslogbluetooth: Ensure the buffer zero terminatedecoupling bt_driver_s and bt_buf_s  

### New Driver Support 
 * [#3727](https://github.com/apache/incubator-nuttx/pull/#37273727) Add basic support for MCP23017 I/O Expander 
 * [#3859](https://github.com/apache/incubator-nuttx/pull/#38593859) Add Holtek HT16K33 14-segment display driver  
 * [#4641](https://github.com/apache/incubator-nuttx/pull/#46414641) drivers/mtd/m25px.c: add support for MT25Q256 SPI NOR  
 * [#4606](https://github.com/apache/incubator-nuttx/pull/#46064606) Add support for MT25Q1G SPI NOR  
 * [#4373](https://github.com/apache/incubator-nuttx/pull/4373) Add support for MT25Q1G SPI NOR  

 3-phase Hall effect sensor driver  
 * [#4490](https://github.com/apache/incubator-nuttx/pull/4490) add support for power management ic axp202 #4490



    ## ## Board Support

### New Board Support

### Boards With Significant Improvements

#### ARM 
 
#### CXD56
 * [#3833](https://github.com/apache/incubator-nuttx/pull/#38333833) Spresense new memorymap
 * [#4526](https://github.com/apache/incubator-nuttx/pull/#45264526) Rearch video  
 * [#3973](https://github.com/apache/incubator-nuttx/pull/#39733973) boards: spresense: Update rndis and rndis_smp for workaround  
 * [#3744](https://github.com/apache/incubator-nuttx/pull/#37443744) boards: cxd56xx: Update drivers on spresense board  

#### IMX6 
 * [#3733](https://github.com/apache/incubator-nuttx/pull/#37333733) imx6 elf support #3733  

#### IMXRT  
 * [#3982](https://github.com/apache/incubator-nuttx/pull/#39823982) boards/arm/imxrt/teensy-4.x: added board level support for GPIO driver
 * [#3929](https://github.com/apache/incubator-nuttx/pull/#39293929) Added encoder support for Teensy 4.x
 * [#3980](https://github.com/apache/incubator-nuttx/pull/#39803980) FlexPWM support for iMXRT MCU   
 * [#4581](https://github.com/apache/incubator-nuttx/pull/#45814581) Fixed imxrt flexcan driver compilation error (incorrect variable scope)  

#### LPC17XX_40XX

#### NRF52

#### RP2040  (incorrect variable scope)  

#### LPC17XX_40XX

#### NRF52

#### RP2040 
 * [#3917](https://github.com/apache/incubator-nuttx/pull/3917) arm/rp2040:USB device controller support   
 * [#3857](https://github.com/apache/incubator-nuttx/pull/3857) boards: rp2040: Add user gpio driver 
 * [#3996](https://github.com/apache/incubator-nuttx/pull/3996) Support for Waveshare Pico-LCD-1.x module
 * [#3917#4086](https://github.com/apache/incubator-nuttx/pull/#39174086) arm/rp2040:USB device controllerAdded PCF8574 backpack support  to Raspberry Pi Pico  
 * [#3857#4204](https://github.com/apache/incubator-nuttx/pull/#38574204) boards:added rp2040:st7735 AddLCD userbased gpiosupport driver 
 * [#3996#4289](https://github.com/apache/incubator-nuttx/pull/#39964289) SupportFixing BMP180 forand Waveshare Pico-LCD-1.x module
INA219 in RP2040  

#### S32K1XX
 * [#4643](https://github.com/apache/incubator-nuttx/pull/#46434643) S32K1xx arch: Add (optional) support for SPI native/hardware chip select  
 * [#4634](https://github.com/apache/incubator-nuttx/pull/#46344634) S32K1XX arch: gpioread may also be used for output pins   
 * [#4592](https://github.com/apache/incubator-nuttx/pull/#45924592) S32K1XX: Add LPI2C slave support  
 * [#4541](https://github.com/apache/incubator-nuttx/pull/#45414541) S32K1XX EVB boards cleanup & update  
 * [#4578](https://github.com/apache/incubator-nuttx/pull/#45784578) S32K1XXEVB boards: Fix RGB LED output and add comments  
 * [#4533](https://github.com/apache/incubator-nuttx/pull/#45334533) S32k1xx: added PM support  
 * [#4596](https://github.com/apache/incubator-nuttx/pull/#45964596) S32K1XX: Add FlexIO registersAdd FlexIO registers  
 * [#4508](https://github.com/apache/incubator-nuttx/pull/4508) s32k1xx: added way to get the reset cause in a proc fs  
 * [#4508#4560](https://github.com/apache/incubator-nuttx/pull/#45084560) s32k1xx: added way to get the reset cause in a proc fs  RDDRONE-UAVCAN / UCANS32K146 boards cleanup & update  

#### SAM34
 * [#3732](https://github.com/apache/incubator-nuttx/pull/#37323732) board: Add support for Adafruit Circuit Express  
 * [#3840](https://github.com/apache/incubator-nuttx/pull/#38403840) Add ST7789 LCD controller support for SAMV71 XPlained Ultra board

#### STM32  
 * [#3944](https://github.com/apache/incubator-nuttx/pull/#39443944) boards/arm/stm32/nucleo-f446re: added support for DAC driver
 * [#3880](https://github.com/apache/incubator-nuttx/pull/#38803880) boards/arm/stm32/nucleo-f446re: added support for GPIO driver
 * [#3909](https://github.com/apache/incubator-nuttx/pull/#39093909) Added basic support for nucleo-g431kb board.
 * [#3922](https://github.com/apache/incubator-nuttx/pull/#39223922) Adds PWM example to nucleo-g431kb board.  
 * [#3914](https://github.com/apache/incubator-nuttx/pull/#39143914) boards: added support for EMW3162 Wi-Fi board
 * [#3878](https://github.com/apache/incubator-nuttx/pull/#38783878) Add FOC support for B-G431-ESC1 board   
 * [#3637](https://github.com/apache/incubator-nuttx/pull/#36373637) boards/arm/stm32/nucleo-f446re: added support for PWM  
 * [#3660](https://github.com/apache/incubator-nuttx/pull/#36603660) stm32_pwm: improvements for PULSECOUNT support  
 * [#4505](https://github.com/apache/incubator-nuttx/pull/#45054505) STM32 F4, F7, H7 USB OTG Device Ensure EP initialized to proper state on usb reset and configure  
 * [#4589](https://github.com/apache/incubator-nuttx/pull/#45894589) Fix stm32xx GPIO glitches from configuration bad order of operations  
 * [#4085](https://github.com/apache/incubator-nuttx/pull/#40854085) stm32,stm32f7,stm32h7: supported ETH MAC promiscuous mode  
 * [#4255](https://github.com/apache/incubator-nuttx/pull/#42554255) STM32 DAC Driver - Add support to DAC3  
 * [#3796](https://github.com/apache/incubator-nuttx/pull/#37963796) boards/arm/stm32/nucleo-f412zg/scripts/Make.defs: Replace EXTRADEFINES by EXTRAFLAGS  
 * [#4284](https://github.com/apache/incubator-nuttx/pull/#42844284) stm32_pmw: fix pwm_stop() function to enable multiple PWM start and stop  
 * [#4353](https://github.com/apache/incubator-nuttx/pull/#43534353) stm32/stm32_serial.c fix issue  
 * [#4244](https://github.com/apache/incubator-nuttx/pull/#42444244) STM32G4: add support for CORDIC math accelerator  
 * [#4437](https://github.com/apache/incubator-nuttx/pull/#44374437) stm32_serial.c: Don't fake a TX interrupt when interrupts are not suppressed a TX interrupt when interrupts are not suppressed
 * [#3863](https://github.com/apache/incubator-nuttx/pull/3863) boards/arm/stm32/nucleo-f446re: fixed wrong qetimer config name  
 * [#3952](https://github.com/apache/incubator-nuttx/pull/3952) SDIO IO_RW_EXTENDED command (CMD53) related fixes  
 * [#3863#4597](https://github.com/apache/incubator-nuttx/pull/#38634597) boards/arm/stm32/nucleo-f446re: fixed wrong qetimer config nameAdd LCD backpack support for ESP32 (devkit-c).  

#### STM32L4  
 * [#4534](https://github.com/apache/incubator-nuttx/pull/#45344534) STM32L4 LPUART support  

#### STM32F4

#### STM32F7 / STM32H7 
 * [#3646](https://github.com/apache/incubator-nuttx/pull/#36463646) boards/stm32f7: Add i2c and mpu60x0 support to nucleo-144 and fix bitmask bug in mpu60x0  
 * [#3650](https://github.com/apache/incubator-nuttx/pull/#36503650) stm32{H7|F7} Disables/Enabled the use of GPIO_OTG_ID pin  
 * [#3669](https://github.com/apache/incubator-nuttx/pull/#36693669) STM32 {F7|H7} Use 250 Ms Data path timeout, regardless of Card Clock frequency 
 * [#3651](https://github.com/apache/incubator-nuttx/pull/#36513651) Use inttypes in stm32{f7|h7}, Kinetis, s32k drivers.  
 * [#4524](https://github.com/apache/incubator-nuttx/pull/#45244524) stm32*7/stm32_serial.c: Don't fake a TX interrupt when interrupts are not suppressed 
 * [#4598](https://github.com/apache/incubator-nuttx/pull/#45984598) stm32h7:DMA_TRBUFF is DMA_SCR_TRBUFF  

#### KINETIS
 * [#4190](https://github.com/apache/incubator-nuttx/pull/4190) kinetis lpserial add RX DMA 
  
#### ARM
#### AVR32
 * [#3684](https://github.com/apache/incubator-nuttx/pull/#4190) kinetis lpserial add RX DMA) avr32dev1: USART1 RX: Reassign pin  

#### MIPS
#### PIC32
 * [#4264](https://github.com/apache/incubator-nuttx/pull/) boards: added a basic support for chipKIT Wi-FIRE board  

#### RISC-V 
 * [#3846](https://github.com/apache/incubator-nuttx/pull/#38463846) risc-v/rv32m1: Basic port to rv32m1 ri5cy
 * [#4146](https://github.com/apache/incubator-nuttx/pull/#41464146) risc-v/bl602: add boardctl support
 * [#3911](https://github.com/apache/incubator-nuttx/pull/#39113911) Add i2c driver to PolarFire SoC and Icicle board
 * [#3905](https://github.com/apache/incubator-nuttx/pull/#39053905) Add SPI driver to PolarFire SoC and Icicle board
 * [#3933](https://github.com/apache/incubator-nuttx/pull/#39333933) riscv/mpfs: add i2c reset handler
 * [#3920](https://github.com/apache/incubator-nuttx/pull/#39203920) add dma support for PolarFire SoC
 * [#4569](https://github.com/apache/incubator-nuttx/pull/4569)  MPFS emmcsd   

#### BL602
 * [#4010](https://github.com/apache/incubator-nuttx/pull/#40104010) boards/bl602: Fix uart_nx.c:419: undefined reference to `uart_bth4_register  

#### C906

#### ESP32C3ESP32-C3
 * [#3794](https://github.com/apache/incubator-nuttx/pull/#37943794) risc-v/esp32c3: Support ESP32-C3 RTC driver  
 * [#3883](https://github.com/apache/incubator-nuttx/pull/#38833883) risc-v/esp32c3: Support ESP32-C3 RSA accelerator  
 * [#3881](https://github.com/apache/incubator-nuttx/pull/#38813881) risc-v/esp32c3: Support ESP32-C3 efuse   
 * [#3935](https://github.com/apache/incubator-nuttx/pull/#39353935) risc-v/esp32c3: Support ESP32-C3 SHA accelerator
 * [#3882](https://github.com/apache/incubator-nuttx/pull/#38823882) riscv/esp32c3: Use the RTC memory as another heap.
 * [#3945](https://github.com/apache/incubator-nuttx/pull/#39453945) boards/esp32c3: Add romfs configuration
 * [#3925](https://github.com/apache/incubator-nuttx/pull/#39253925) risc-v/esp32-c3: Adds I2C polled support
 * [#3823](https://github.com/apache/incubator-nuttx/pull/#38233823) risc-v/esp32-c3: Add support for HW flow control. 
 * [#3822](https://github.com/apache/incubator-nuttx/pull/#38223822) ESP32-C3: Add DMA support for SPI Slave
 * [#3543](https://github.com/apache/incubator-nuttx/pull/#35433543) feat(esp32c3): Support esp32c3 ble function 
 * [#3667](https://github.com/apache/incubator-nuttx/pull/#36673667) risc-v/esp32c3: Add ESP32-C3 (G)DMA driver and testing  
 * [#4605](https://github.com/apache/incubator-nuttx/pull/#46054605) risc-v/esp32-c3: improvements and fix to esp32c3_rt_timer.c  
 * [#4611](https://github.com/apache/incubator-nuttx/pull/#46114611) ESP32-C3: Add support for booting NuttX from MCUboot  
 * [#3656](https://github.com/apache/incubator-nuttx/pull/#36563656) risc-v/esp32-c3: Adds freerun wrapper 
 * [#4574](https://github.com/apache/incubator-nuttx/pull/#45744574) esp32c3-devkit: Add board profile to use LVGL on GC9A01 display  
 * [#3810](https://github.com/apache/incubator-nuttx/pull/#38103810) risc-v/esp32c3: Fix overwriting of registered-but-disabled interrupts  
 * [#3797](https://github.com/apache/incubator-nuttx/pull/#37973797) ESP32-C3: Add SPI Slave peripheral driver  
 * [#4568](https://github.com/apache/incubator-nuttx/pull/#45684568) boards/esp32c3: add ESP32C3 LCD drivers  
 * [#4553](https://github.com/apache/incubator-nuttx/pull/#45534553) risc-v/esp32c3: fix pwm driver bug  
 * [#4500](https://github.com/apache/incubator-nuttx/pull/#45004500) risc-v/esp32-c3: refactor the Wi-Fi board logic.   
 * [#3679](https://github.com/apache/incubator-nuttx/pull/#36793679) risc-v/esp32c3: Support ESP32-C3 PM standby and sleep  
 * [#3766](https://github.com/apache/incubator-nuttx/pull/#37663766) riscv/esp32c3: Add ESP32-C3 AES driver  
 * [#3750](https://github.com/apache/incubator-nuttx/pull/#37503750) riscv/esp32c3: Support SPI Flash encryption read/write  
 * [#3735](https://github.com/apache/incubator-nuttx/pull/#37353735) riscv/esp32c3: Add ESP32-C3 ADC driver  
 * [#3715](https://github.com/apache/incubator-nuttx/pull/#37153715) risc-v/esp32c3: Support ESP32-C3 auto-sleep  
 * [#4239](https://github.com/apache/incubator-nuttx/pull/#42394239) risc-v/esp32-c3: Adds systimer support and make rt_timer rely on it  
 * [#3694](https://github.com/apache/incubator-nuttx/pull/#36943694) risc-v/esp32c3: Add support for DMA transfers on SPI driver  
 * [#3697](https://github.com/apache/incubator-nuttx/pull/#36973697) riscv/esp32c3: Fix RT timer issues  
 * [#3906](https://github.com/apache/incubator-nuttx/pull/#39063906) risc-v/esp32c3_wifi_adapter.c: Remove a config that's only used in Xtensa chips.   
 * [#3701](https://github.com/apache/incubator-nuttx/pull/#37013701) riscv/esp32c3: Add ESP32C3 LEDC(PWM) driver  
 * [#3854](https://github.com/apache/incubator-nuttx/pull/#38543854) ESP32-C3: Small clean up on IRQ functions  
 * [#4006](https://github.com/apache/incubator-nuttx/pull/#40064006) risc-v/esp32c3: Notifies networking layer whether the carrier is available  
 * [#3788](https://github.com/apache/incubator-nuttx/pull/#37883788) ESP32-C3: Fix configuration of TX Burst support for GDMA  
 * [#4040](https://github.com/apache/incubator-nuttx/pull/#40404040) risc-v/esp32c3: Fix some ESP32-C3 BLE driver issues 
 * [#4082](https://github.com/apache/incubator-nuttx/pull/#40824082) boards/esp32c3-devkit: Support mounting SPI Flash MTD to littleFS  
 * [#4075](https://github.com/apache/incubator-nuttx/pull/#40754075) risc-v/esp32c3: Add board_ioctl and board_uniqueid  
 * [#4092](https://github.com/apache/incubator-nuttx/pull/#40924092) risc-v/esp32c3: Use onexit to free thread private semaphore  
 * [#3971](https://github.com/apache/incubator-nuttx/pull/#39713971) boards/riscv/esp32c3: Rename the iram_0_2 segment to irom_0_0 to avoid confusions.  
 * [#4141](https://github.com/apache/incubator-nuttx/pull/#41414141) risc-v/esp32-c3: Use systimer 0 to RTOS TICK  
 * [#3793](https://github.com/apache/incubator-nuttx/pull/#37933793) esp32&esp32c3/wifi: Support specific channel and bssid scan  
 * [#4162](https://github.com/apache/incubator-nuttx/pull/#41624162) risc-v/esp32c3: Fix some ESP32-C3 Wi-Fi driver issues 
 * [#4169](https://github.com/apache/incubator-nuttx/pull/#41694169) risc-v/esp32-c3: Makes output readable and rmv unnecessary var.  
 * [#4314](https://github.com/apache/incubator-nuttx/pull/#43144314) risc-v/esp32-c3: Complete the support for RWDT  

#### XTENSA 
 * [#4590](https://github.com/apache/incubator-nuttx/pull/#45904590) [Xtensa/RISC-V] Remove FAR and CODE qualifiers from arch-specific files  
 * [#4187](https://github.com/apache/incubator-nuttx/pull/#41874187) Fix xtensa_btdump() to look at the exception frame  
 * [#4556](https://github.com/apache/incubator-nuttx/pull/#45564556) xtensa:backtrace: flush to stack when in interrupt  
 * [#3939](https://github.com/apache/incubator-nuttx/pull/#39393939) Fix xtensa  
 * [#4531](https://github.com/apache/incubator-nuttx/pull/#45314531) xtensa/irq.h: Fixes the routine that clears the processor interrupt  
 * [#4278](https://github.com/apache/incubator-nuttx/pull/#42784278) xtensa/common: save sp before overwriting in level2/3/4 handler and typo fix  
 * [#4311](https://github.com/apache/incubator-nuttx/pull/#43114311) xtensa:coproc: fix XTENSA_CP_ALLSET error in some case  
 * [#3768](https://github.com/apache/incubator-nuttx/pull/#37683768) xtensa: Fixes names of architecture serial functions  

#### ESP32
 * [#3940](https://github.com/apache/incubator-nuttx/pull/#39403940) xtensa/esp32: Support ESP32 RTC driver
 * [#4003](https://github.com/apache/incubator-nuttx/pull/#40034003) xtensa/esp32: Adds support for SERIAL_TXDMA.
 * [#3912](https://github.com/apache/incubator-nuttx/pull/#39123912) xtensa/esp32: Adds I2C polled support.
 * [#3803](https://github.com/apache/incubator-nuttx/pull/#38033803) Add support to ESP32-S2 and ESP32S2-SAOLA-1 Board
 * [#3824](https://github.com/apache/incubator-nuttx/pull/#38243824) xtensa/esp32-s2: Add support for serial HW flow control.
 * [#4604](https://github.com/apache/incubator-nuttx/pull/#46044604) xtensa/esp32: Enable build system to download or build binaries from source  
 * [#3642](https://github.com/apache/incubator-nuttx/pull/#36423642) xtensa/esp32: several uart fixes
 * [#3648](https://github.com/apache/incubator-nuttx/pull/#36483648) tools/esp32/mk_qemu_img.sh: Refactor the dd commands.  
 * [#4625](https://github.com/apache/incubator-nuttx/pull/#46254625) esp32-c3/esp32-s2: Fix the sequence of commands to set the alarm value on rt timer.  
 * [#4610](https://github.com/apache/incubator-nuttx/pull/#46104610) ESP32-S2: Add support for booting NuttX from MCUboot  
 * [#3678](https://github.com/apache/incubator-nuttx/pull/#36783678) xtensa/esp32: Support auto-sleep  
 * [#4532](https://github.com/apache/incubator-nuttx/pull/#45324532) boards/esp32s2-saola-1: Add implementation for BOARDIOC_RESET interface  
 * [#4275](https://github.com/apache/incubator-nuttx/pull/#42754275) xtensa/esp32: Keep track of the CPU where the interrupt was attached.  
 * [#4295](https://github.com/apache/incubator-nuttx/pull/#42954295) xtensa/esp32: Enable boot from Espressif's port of MCUboot  
 * [#4315](https://github.com/apache/incubator-nuttx/pull/#43154315) xtensa/esp32: Fix issues on RWDT  
 * [#4366](https://github.com/apache/incubator-nuttx/pull/#43664366) xtensa/esp32: Use IRQ to enable/disable interrupts 
 * [#4427](https://github.com/apache/incubator-nuttx/pull/#44274427) esp32/ttgo_lora_esp32: Add support to SSD1306 OLED display  
 * [#4388](https://github.com/apache/incubator-nuttx/pull/#43884388) esp32: Re-organize the interrupt handling process to correctly handle the SMP case  
 * [#4401](https://github.com/apache/incubator-nuttx/pull/#44014401) xtensa/esp32-s2: Adds support to the timer driver  
 * [#4545](https://github.com/apache/incubator-nuttx/pull/#45454545) esp32-wrover: Add support to LCD1602 with I2C Backpack  
 * [#4587](https://github.com/apache/incubator-nuttx/pull/#45874587) xtensa/esp32-s2: Adds freerun timer wrapper  
 * [#4139](https://github.com/apache/incubator-nuttx/pull/#41394139) xtensa/esp32: Fixes termios issue.  
 * [#4586](https://github.com/apache/incubator-nuttx/pull/#45864586) xtensa/esp32-s2: Adds oneshot device driver support  
 * [#4570](https://github.com/apache/incubator-nuttx/pull/#45704570) esp32_spiflash.c: Correctly disable APP's CPU cache. 
 * [#4509](https://github.com/apache/incubator-nuttx/pull/#45094509) esp32: Add initial support to Bluetooth Low Energy  
 * [#4411](https://github.com/apache/incubator-nuttx/pull/#44114411) esp32/softap: Enable the WPA2 by default to ask user password  
 * [#4412](https://github.com/apache/incubator-nuttx/pull/#44124412) boards/esp32: Add basic support to TTGO-LoRa-SX1276-ESP32  
 * [#4585](https://github.com/apache/incubator-nuttx/pull/#45854585) xtensa/esp32-s2: Adds support to rt_timer and systimer to ESP32-S2.  
 * [#4170](https://github.com/apache/incubator-nuttx/pull/#41704170) xtensa/esp32: Make output readable and rmv unnecessary var.  
 * [#4195](https://github.com/apache/incubator-nuttx/pull/#41954195) esp32_allocateheap.c: Remove the amount reserved to himem from the heap.  
 * [#4232](https://github.com/apache/incubator-nuttx/pull/#42324232) xtensa/esp32: Enable configuration of GPIO pad's drive strength  
 * [#4240](https://github.com/apache/incubator-nuttx/pull/#42404240) xtensa/esp32: expose SPI2 as a char driver  
 * [#4253](https://github.com/apache/incubator-nuttx/pull/#42534253) xtensa/esp32: Enable the allocation of multiple SPI Flash partitions  
 * [#4338](https://github.com/apache/incubator-nuttx/pull/#43384338) tools/esp32/Config.mk: Allow ESPTOOL_BINDIR to be omitted when flashing the board 
 * [#3938](https://github.com/apache/incubator-nuttx/pull/#39383938) esp32&esp32c3/wifi: Fix the issues of Wi-Fi configuration being overwritten  
 * [#3969](https://github.com/apache/incubator-nuttx/pull/#39693969) boards/esp32: Refactor the different linker scripts and delete old OpenOCD config files.  
 * [#3975](https://github.com/apache/incubator-nuttx/pull/#39753975) xtensa/esp32: Fix RTC WDT deinitialization on start routine  
 * [#3987](https://github.com/apache/incubator-nuttx/pull/#39873987) tools/esp32/backtrace.gdbscript: don't modify registers  
 * [#4001](https://github.com/apache/incubator-nuttx/pull/#40014001) xtensa/esp32: Support to select different clock source for RTC controller and close TODOs.  
 * [#4073](https://github.com/apache/incubator-nuttx/pull/#40734073) xtensa/esp32: Fix uart 2 issue.  
 * [#3800](https://github.com/apache/incubator-nuttx/pull/#38003800) arch/xtensa/esp32_emac.c: Call phy_enable_interrupt correctly.  
 * [#4157](https://github.com/apache/incubator-nuttx/pull/#41574157) boards/esp32: Refactor the linker scripts into the common directory.  
 * [#4249](https://github.com/apache/incubator-nuttx/pull/#42494249) xtensa/esp32-s2: Adds GPIO board logic to esp32s2-saola-1.  
 * [#4471](https://github.com/apache/incubator-nuttx/pull/#44714471) xtensa/esp32: Wi-Fi board logic refactoring.  
 * [#4497](https://github.com/apache/incubator-nuttx/pull/#44974497) esp32_serial.c: Don't fake an interrupt when interrupts are not suppressed.  
 * [#3829](https://github.com/apache/incubator-nuttx/pull/#38293829) xtensa/esp32: Fixes support for UART HW flow control  
 * [#3943](https://github.com/apache/incubator-nuttx/pull/#39433943) xtensa/esp32: Adds I2C Bit banging reset  
 * [#3960](https://github.com/apache/incubator-nuttx/pull/#39603960) xtensa/esp32: Refactor the text heap and add RTC memory to it  

#### TIVA

### **Minor Board Changes**

#### ARM  

#### CXD56  

#### Xtensa  
 * [#4646](https://github.com/apache/incubator-nuttx/pull/4646) Add example to use BLE and WiFi at same time  

## File System

### Bug Fixes 
 * [#3653](https://github.com/apache/incubator-nuttx/pull/#36533653) fs:cromf Use inttypes in printing macros  
 * [#4573](https://github.com/apache/incubator-nuttx/pull/#45734573) fs:procfs: add waiting_paging_fill state names  
 * [#3745](https://github.com/apache/incubator-nuttx/pull/#37453745) fs/vfs/fs_select.c: Fix select() to return EINVAL when nfds is negative  
 * [#3740](https://github.com/apache/incubator-nuttx/pull/#37403740) fs/fat/fat32util.c: Fix calculation of current sector with invalid cl…  
 * [#3724](https://github.com/apache/incubator-nuttx/pull/#37243724) fs/hostfs: fix bug about getting error file size by fstat  
 * [#3785](https://github.com/apache/incubator-nuttx/pull/#37853785) FAT32 fix skipping sectors at computing the number of free clusters  
 * [#4171](https://github.com/apache/incubator-nuttx/pull/#41714171) fs/tmpfs: Handle the tail '/' correctly  
 * [#4539](https://github.com/apache/incubator-nuttx/pull/#45394539) vfs/poll: correct the return event if inode has closed  
 * [#3760](https://github.com/apache/incubator-nuttx/pull/#37603760) Fix calculation of free clusters at mounting a fat partition  
 * [#4012](https://github.com/apache/incubator-nuttx/pull/#40124012) fs: move out nx_close from filelock  
 * [#3974](https://github.com/apache/incubator-nuttx/pull/#39743974) fs/tmpfs: Fix the memory corruption when reallocate tmpfs_directory_s  
 * [#3986](https://github.com/apache/incubator-nuttx/pull/#39863986) fs: nfs: Reconnect to the NFS server in TCP mode  
 * [#4031](https://github.com/apache/incubator-nuttx/pull/#40314031) fs/fs_dup2: (sanity check )correct check before calling dup  
 * [#4033](https://github.com/apache/incubator-nuttx/pull/#40334033) fs/procfs: add StackAlloc field for task stack info  
 * [#4061](https://github.com/apache/incubator-nuttx/pull/#40614061) FAT32 kconfig entry to enforce computation of free clusters at mount  
 * [#4079](https://github.com/apache/incubator-nuttx/pull/#40794079) fs/procfs: layout the output of meminfo correctly  
 * [#4093](https://github.com/apache/incubator-nuttx/pull/#40934093) fs: Move the default ioctl handle from nx_vioctl to file_vioctl  
 * [#4097](https://github.com/apache/incubator-nuttx/pull/#40974097) fs: Remove the inernal st_count field from struct stat  
 * [#4101](https://github.com/apache/incubator-nuttx/pull/#41014101) fs: pseudorename should call inode_release in the error path  
 * [#4118](https://github.com/apache/incubator-nuttx/pull/#41184118) fs: Support the root file system attributes(mode, uid, gid and time)  
 * [#4119](https://github.com/apache/incubator-nuttx/pull/#41194119) fs: fstat shouldn't follow the symbol link  
 * [#4121](https://github.com/apache/incubator-nuttx/pull/#41214121) vfs: stat_recursive should return -ENOSYS if stat callback is NULL  
 * [#4123](https://github.com/apache/incubator-nuttx/pull/#41234123) nuttx: littlefs_close should return value bugfix  
 * [#4153](https://github.com/apache/incubator-nuttx/pull/#41534153) fs: Add fchstat and chstat callback into mountpt_operations  
 * [#4165](https://github.com/apache/incubator-nuttx/pull/#41654165) fs: should only apply umask to the userspace caller  
 * [#4174](https://github.com/apache/incubator-nuttx/pull/#41744174) Fix nfs and statfs  
 * [#4193](https://github.com/apache/incubator-nuttx/pull/#41934193) fs: Change off_t and related types to int64_t if long long is supported  
 * [#4224](https://github.com/apache/incubator-nuttx/pull/#42244224) fs/inode: add sanity check for inode to avoid nullpointer  
 * [#4263](https://github.com/apache/incubator-nuttx/pull/#42634263) fs: Save umask to tls_task_s for non kernel mode only  
 * [#4300](https://github.com/apache/incubator-nuttx/pull/#43004300) fs: Add utimens and lutimens  
 * [#4307](https://github.com/apache/incubator-nuttx/pull/4307) fs/userfs: Support fchstat and chstat callback  
 * [#4308](https://github.com/apache/incubator-nuttx/pull/4308) fs/unionfs: Support fchstat and chstat callback  
 * [#4309](https://github.com/apache/incubator-nuttx/pull/4309) fs/nfs: Support fchstat and chstat lutimenscallback  
 * [#4307#4330](https://github.com/apache/incubator-nuttx/pull/#43074330) fs/userfslittlefs: improve littlefs Supportflash fchstatblock anderase chstatbalance callbackperformance  
 * [#4308#4332](https://github.com/apache/incubator-nuttx/pull/#43084332) fs/unionfs: Support fchstat64bit and chstat callback  in register_[block|mtd]partition  
 * [#4309#4333](https://github.com/apache/incubator-nuttx/pull/#43094333) fs/nfspartition: Support fchstat and chstat callbackBIOC_PARTINFO  
 * [#4330#4321](https://github.com/apache/incubator-nuttx/pull/#43304321) fs/littlefs: improveRemove littlefsendsector flash block erase balance performancefrom partition_info_s  
 * [#4332#3680](https://github.com/apache/incubator-nuttx/pull/#43323680) fs/eventfd: Support 64bit in register_[block|mtd]partition add EVENT_FD_POLL as a Kconfig dependency for EVENT_FD_NPOLLWAITERS  
 * [#4333#4514](https://github.com/apache/incubator-nuttx/pull/#43334514) fs/partitionioctl: Support BIOC_PARTINFOusing FIOC_FILEPATH instead of FIOC_FILENAME  
 * [#4321#4511](https://github.com/apache/incubator-nuttx/pull/#43214511) fs: Remove endsector from partition_info_s inode_getpath: correct get path whether path buffer is clean or not.   
 * [#3680#4276](https://github.com/apache/incubator-nuttx/pull/#36804276) fs/eventfd: add EVENT_FD_POLL as a Kconfig dependency for EVENT_FD_NPOLLWAITERSFix status register reading in ramtron_read()  
 * [#4514#4290](https://github.com/apache/incubator-nuttx/pull/#45144290) fscmd/ioctldf: using FIOC_FILEPATH instead of FIOC_FILENAMEFix the abnormal output after off_t change  
 * [#4511#4133](https://github.com/apache/incubator-nuttx/pull/#45114133) inode_getpathprofs: correctPrint getStackAlloc path whether path buffer is clean or not.by procfs_snprintf  

### Significant Improvements

## Networking

### Improvements 
 * [#4538](https://github.com/apache/incubator-nuttx/pull/#45384538) sys/socket/scm: add more socket message control helper 
 * [#4080](https://github.com/apache/incubator-nuttx/pull/#40804080) net/socket: add SO_SNDBUF support 
 * [#4116](https://github.com/apache/incubator-nuttx/pull/#41164116) net: Add file_socket function 
 * [#4135](https://github.com/apache/incubator-nuttx/pull/#41354135) net/rpmsg: add multi-iov support  
 * [#4179](https://github.com/apache/incubator-nuttx/pull/#41794179) Update socket rpmsg  
 * [#4355](https://github.com/apache/incubator-nuttx/pull/#43554355) net/rpmsg: add nonblock connect(2) support  
 * [#4356](https://github.com/apache/incubator-nuttx/pull/#43564356) net/local: add nonblock connect(2) support  
 * [#4357](https://github.com/apache/incubator-nuttx/pull/#43574357) net/tcp: add nonblock connect(2) support  
 * [#4070](https://github.com/apache/incubator-nuttx/pull/#40704070) net/tcp: add window scale support  
 * [#3926](https://github.com/apache/incubator-nuttx/pull/#39263926) net/inet: add support of FIONREAD  
 * [#3896](https://github.com/apache/incubator-nuttx/pull/#38963896) net/local: add local_nextconn() helper  
 * [#3961](https://github.com/apache/incubator-nuttx/pull/#39613961) net: Add if_nameindex and if_freenameindex API  
 * [#4069](https://github.com/apache/incubator-nuttx/pull/#40694069) net/socket: add SO_RCVBUF support  
 * [#4071](https://github.com/apache/incubator-nuttx/pull/#40714071) net/local: add AF_[UNIX|LOCAL] socketpair support  
 * [#4540](https://github.com/apache/incubator-nuttx/pull/#45404540) net/local: add FIONSPACE support  
 * [#4593](https://github.com/apache/incubator-nuttx/pull/#45934593) net/local: add socket message control support  

### Bug Fixes
 * [#4602](https://github.com/apache/incubator-nuttx/pull/#46024602) net/dup: only start tcp monitor on INET domain  
 * [#4649](https://github.com/apache/incubator-nuttx/pull/#46494649) net: always compile listen.c and accept.c when enable CONFIG_NET  
 * [#4603](https://github.com/apache/incubator-nuttx/pull/#46034603) [SECURITY]net/tcp: sanity check for the listen address  
 * [#4579](https://github.com/apache/incubator-nuttx/pull/#45794579) net/devif/devif_callback.c: made the connection event list doubly linked  
 * [#4433](https://github.com/apache/incubator-nuttx/pull/#44334433) net/devif/devif_callback.c: corrected the connection event list to work as FIFO instead of LIFO  
 * [#3776](https://github.com/apache/incubator-nuttx/pull/#37763776) net/dev: link the net device as order of registration  
 * [#3758](https://github.com/apache/incubator-nuttx/pull/#37583758) net/tcp/retransmit: recounter the ack counter during obtain newdata  
 * [#3723](https://github.com/apache/incubator-nuttx/pull/#37233723) net: Forward socket option only when the socket type is usrsock  
 * [#4480](https://github.com/apache/incubator-nuttx/pull/#44804480) net: utils: Remove critical section for SMP in net_lock.c  
 * [#3707](https://github.com/apache/incubator-nuttx/pull/#37073707) Fix NFS over TCP  
 * [#3818](https://github.com/apache/incubator-nuttx/pull/#38183818) tcp: recv window update improvement  
 * [#3655](https://github.com/apache/incubator-nuttx/pull/#36553655) Attempt to fix race condition reported in issue #3647  
 * [#3865](https://github.com/apache/incubator-nuttx/pull/#38653865) Fix tcp seq wrap around issues  
 * [#3889](https://github.com/apache/incubator-nuttx/pull/#38893889) net/dns:fix unaligned access in dns query  
 * [#3894](https://github.com/apache/incubator-nuttx/pull/#38943894) net/telnet: fix a potential busyloop if rxbuffer writes faster than read  
 * [#3934](https://github.com/apache/incubator-nuttx/pull/#39343934) net/local: Remove all HAVE_LOCAL_POLL reference  
 * [#3755](https://github.com/apache/incubator-nuttx/pull/#37553755) net/icmp: icmp bug fix and enhancement  
 * [#3993](https://github.com/apache/incubator-nuttx/pull/#39933993) tcp_reset: Don't copy the peer window  
 * [#3994](https://github.com/apache/incubator-nuttx/pull/#39943994) tcp: always responds to keep-alive segments  
 * [#3995](https://github.com/apache/incubator-nuttx/pull/#39953995) fix active close for CONFIG_NET_TCP_WRITE_BUFFERS  
 * [#3999](https://github.com/apache/incubator-nuttx/pull/#39993999) some follow-up patches for the recent tcp readahead  
 * [#4017](https://github.com/apache/incubator-nuttx/pull/#40174017) rpmsg_socket: fix rpmsg_socket_device_destroy() multi-access  
 * [#4022](https://github.com/apache/incubator-nuttx/pull/#40224022) tcp_close: Fix a race with passive close  
 * [#3966](https://github.com/apache/incubator-nuttx/pull/#39663966) net: Fix: left shift of 1 by 31 places cannot be represented in type long int  
 * [#3948](https://github.com/apache/incubator-nuttx/pull/#39483948) TCP: simplify readahead  
 * [#3114](https://github.com/apache/incubator-nuttx/pull/#31143114) usrsock/recv: guarantee all data is received before close  
 * [#3756](https://github.com/apache/incubator-nuttx/pull/#37563756) net/tcp: set/get TCP_KEEPINTVL/IDLE value as BSD style  
 * [#3895](https://github.com/apache/incubator-nuttx/pull/#38953895) net/accept: alloc the accept fd after accept success  
 * [#3937](https://github.com/apache/incubator-nuttx/pull/#39373937) dns_recv_response: Fix IPv6 address in an ninfo()  
 * [#4408](https://github.com/apache/incubator-nuttx/pull/#44084408) Fix up that local socket will be endless loop when write data size more than the fifo size.  
 * [#4517](https://github.com/apache/incubator-nuttx/pull/#45174517) rpmsg_socket: add prefix "rpmsg-socket" for the name of rpmsg endpoint  
 * [#4537](https://github.com/apache/incubator-nuttx/pull/#45374537) net/udp: fix buffer release handling on failed buffer alloc  
 * [#4120](https://github.com/apache/incubator-nuttx/pull/#41204120) net/tcp: tcp_sendfile need restore the file location at the end  
 * [#4134](https://github.com/apache/incubator-nuttx/pull/#41344134) net/tcp: only print the error when disable the TCP_NODELAY  
 * [#4142](https://github.com/apache/incubator-nuttx/pull/#41424142) tcp_send_buffered: throttle IOB allocations for send  
 * [#4159](https://github.com/apache/incubator-nuttx/pull/#41594159) tcp_send_buffered.c: Fix broken retransmit  
 * [#4126](https://github.com/apache/incubator-nuttx/pull/#41264126) include/netinet: Add missing IP_TTL definition  
 * [#4197](https://github.com/apache/incubator-nuttx/pull/#41974197) local/stream: remove preamble header in stream mode  
 * [#4273](https://github.com/apache/incubator-nuttx/pull/#42734273) tcp: some fixes in snd_wnd processing  
 * [#4293](https://github.com/apache/incubator-nuttx/pull/#42934293) tcp: make our sequence number a bit more monotonic  
 * [#4257](https://github.com/apache/incubator-nuttx/pull/4257) Fix a few deadlock in tcp/iob  
 * [#4480](https://github.com/apache/incubator-nuttx/pull/4480) net: utils: Remove critical section for SMP in net_lock.c  
 * [#3919](https://github.com/apache/incubator-nuttx/pull/3919)         tcp iob throttling related fixes  
 
# Security Issues Fixed In This Release

# Compatibility Concerns

## Changes to Kconfig

The names of some Kconfig settings have been changed to improve the naming consistency. Here is the list:

| Old                | New                 |
|:------------------:| -----------------:  |
|LIB_BOARDCTL        |BOARDCTL             |
|LIB_CRC64_FAST      |LIBC_CRC64_FAST      |
|LIB_ENVPATH         |LIBC_ENVPATH         |
|LIB_HEX2BIN         |LIBC_HEX2BIN         |
|LIB_HOMEDIR         |LIBC_HOMEDIR         |
|LIB_HOSTNAME        |LIBC_HOSTNAME        |
|LIB_KBDCODEC        |LIBC_KBDCODEC        |
|LIB_RAND_ORDER      |LIBC_RAND_ORDER      |
|LIB_SLCDCODEC       |LIBC_SLCDCODEC       |
|LIB_USRWORK         |LIBC_USRWORK         |
|LIB_USRWORKPRIORITY |LIBC_USRWORKPRIORITY |
|LIB_USRWORKSTACKSIZE|LIBC_USRWORKSTACKSIZE|
|LIB_ZONEINFO        |LIBC_ZONEINFO        |
|LIB_ZONEINFO_ROMFS  |LIBC_ZONEINFO_ROMFS  |

When they appear in code, these identifiers begin with a `CONFIG_*` prefix (e.g., `CONFIG_LIB_BOARDCTL` is renamed to `CONFIG_BOARDCTL`).

All in-tree boards have been updated, but users who maintain their own out-of-tree boards will have to update all instances of these identifiers.

See PR-4266 https://github.com/apache/incubator-nuttx/pull/4266 and PR-4267 https://github.com/apache/incubator-nuttx/pull/4267 in the main NuttX repository.

See also PR-820 https://github.com/apache/incubator-nuttx-apps/pull/820 and PR-821 https://github.com/apache/incubator-nuttx-apps/pull/821 in the NuttX apps repository.

## Changes to MTD subsystem

MTDIOC_XIPBASE, MTDIOC_FLUSH and MTDIOC_PARTINFO is removed and replace with BIOC_XIPBASE, BIOC_FLUSH and BIOC_PARTINFO:

* Simplify the general driver(e.g. partition, flt) implementation
* Reduce the confusion with the same IOCTL in the different layer

See PR-4325 https://github.com/apache/incubator-nuttx/pull/4325

## Changes to Build System

### LD Now Called Through GCC

When building NuttX with GCC toolchains, the linker is now called through $(CROSSDEV)gcc rather than $(CROSSDEV)ld. This requires all linker options to be prefixed with `-Wl,` (dash, capital W, lower-case L, comma). All boards in the NuttX tree have been updated, but any custom out-of-tree boards will need to apply this change in the relevant parts of their build scripts.

The reason for this change is that GNU Binutils 2.36.x has added new error checking on command line arguments. This has had the effect that the NuttX build suddenly broke on host OS distributions that updated to the 2.36.x release line. Reports included Arch, Manjaro, and Ubuntu. Other host OSes are likely to be affected as well.

#### Symptoms

Your toolchain and board are affected if you see errors from LD like:

```
arm-none-eabi-ld: Error: unable to disambiguate: -nostartfiles (did you mean --nostartfiles ?)
```

or (following this change in NuttX) errors from GCC like:

```
arm-none-eabi-gcc: error: unrecognized command line option '--gc-sections'; did you mean '--data-sections'?
```

#### What to change

The most common change expected to affect most boards:

Change:

```
NXFLATLDFLAGS1 = -r -d -warn-common
NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) -T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat-pcrel.ld -no-check-sections
```

to:

```
NXFLATLDFLAGS1 = -r -Wl,-d -Wl,-warn-common
NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) -T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat-pcrel.ld -Wl,-no-check-sections
```

If doing a kernel build, you may need changes in your board's `kernel/Makefile` like:

Change:

```
USER_LDFLAGS = --undefined=$(ENTRYPT) --entry=$(ENTRYPT) $(USER_LDSCRIPT)
```

to:

```
USER_LDFLAGS = -Wl,--undefined=$(ENTRYPT) -Wl,--entry=$(ENTRYPT) $(USER_LDSCRIPT) -nostartfiles -nodefaultlibs
```

Change:
 
```
$(Q) $(LD) -o $@ $(USER_LDFLAGS) $(USER_LIBPATHS) $(OBJS) --start-group $(USER_LDLIBS) --end-group $(USER_LIBGCC)
```

to:

```
$(Q) $(LD) -o $@ $(USER_LDFLAGS) $(USER_LIBPATHS) $(OBJS) -Wl,--start-group $(USER_LDLIBS) -Wl,--end-group $(USER_LIBGCC)
```

Depending on your board's customized build scripts, you may need to look out for other `make` variables in your board's `Makefile` or `Make.defs`.

Some variables to look for:

- `ARCHSCRIPT`
- `ARCH_LIBS`
- `CCLINKFLAGS`
- `EXTRALINKCMDS`
- `LDELFFLAGS`
- `LDENDGROUP`
- `LDFLAGS`
- `LDLINKFLAGS`
- `LDMODULEFLAGS`
- `LDSTARTGROUP`
- `NXFLATLDFLAGS1`
- `NXFLATLDFLAGS2`
- `USER_LDFLAGS`

Anything that executes LD, such as:

```
$(Q) $(LD) --entry=__start $(LDFLAGS) $(LIBPATHS) $(EXTRA_LIBPATHS) \
```

Anything that processes LD flags, such as:

```
$(LIBPATHS) "-(" $(LDLIBS) "-)" $(LDFLAGS) -Map="$(TOPDIR)$(DELIM)nuttx.map"
```

In general, any command line options destined for LD must be prefixed with `-Wl,` (dash, capital W, lower-case L, comma) since they are now being passed through GCC.

#### Examples

Change:

```
EXTRALINKCMDS += @$(TOPDIR)/syscall/syscall_wraps.ldcmd
```

to:

```
EXTRALINKCMDS += -Wl,@$(TOPDIR)/syscall/syscall_wraps.ldcmd
```

Change:

```
LDFLAGS += -gc-sections
```

to:

```
LDFLAGS += -Wl,-gc-sections
```

Change:

```
$(LIBPATHS) "-(" $(LDLIBS) "-)" $(LDFLAGS) -Map="$(TOPDIR)$(DELIM)nuttx.map"
```

to:

```
$(LIBPATHS) "-(" $(LDLIBS) "-)" $(LDFLAGS) -Wl,-Map="$(TOPDIR)$(DELIM)nuttx.map"
```

Change:

```
NXFLATLDFLAGS1 = -r -d -warn-common
```

to:

```
NXFLATLDFLAGS1 = -r -Wl,-d -Wl,-warn-common
```

Change:

```
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
  LDFLAGS += -Map="${shell cygpath -w $(TOPDIR)/nuttx.map}" --cref
else
  LDFLAGS += -Map=$(TOPDIR)/nuttx.map --cref
endif
```

to:

```
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
  LDFLAGS += -Wl,-Map="${shell cygpath -w $(TOPDIR)/nuttx.map}" -Wl,--cref
else
  LDFLAGS += -Wl,-Map=$(TOPDIR)/nuttx.map -Wl,--cref
endif
```

Also, if you have assigned the LD variable, it would need to change as well:

Change:

```
LD = $(CROSSDEV)ld
```

to:

```
LD = $(CROSSDEV)gcc
```

#### References

* Git commit # 45672c269db13f59bdaa417e564837e8bbb6c8c1 in the NuttX main repository:
  - https://github.com/apache/incubator-nuttx/commit/45672c269db13f59bdaa417e564837e8bbb6c8c1
* PR-3836 in the NuttX main repository:
  - https://github.com/apache/incubator-nuttx/pull/3836
* Issues 3209 and 3826 in the NuttX issue tracker:
  - https://github.com/apache/incubator-nuttx/issues/3209
  - https://github.com/apache/incubator-nuttx/issues/3826
* Description of the change on Binutils mailing list:
  - https://sourceware.org/pipermail/binutils/2021-June/116826.html
* Description of -Wl,option in the GCC manual:
  - https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html


...