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 nsec Correctrange killcheck within cancellationclock_settime  
 * [#4619#4518](https://github.com/apache/incubator-nuttx/pull/#46194518) schedgetaddrinfo: Fixsupport CPUAF_LOCAL affinity issues in SMPand AF_RPMSG  
 * [#3626#4595](https://github.com/apache/incubator-nuttx/pull/#36264595) libc/misc: Move pthread stuff to userspace  add 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 align  mm: 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 atcancellation the 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_INTERRUPTSTACKlibs/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: HandleInitialize thepath consecutive '/' correctlyfield when creating mofile struct.  
 * [#4018#4466](https://github.com/apache/incubator-nuttx/pull/#40184466) libssched/libc/spawn: fix posix_spawn_file_actions_adddup2 alloc size errorwdog/wd_start.c: prevent 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 whenof idle call nx_bringup  entries  
 * [#4035#4020](https://github.com/apache/incubator-nuttx/pull/#40354020) work_queue: schedule the work queue using the timer mechanism  
 * [#4048SMP should depends on ARCH_INTERRUPTSTACK 
 * [#3957](https://github.com/apache/incubator-nuttx/pull/#40483957) libcsched/wdog: Move pthread_key_destructor to task_info_s Remove 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'/' ofcorrectly generated fonts data  
 * [#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: Add MONOTONIC_CLOCK for consistencydisable sched when idle call nx_bringup  
 * [#4127#4035](https://github.com/apache/incubator-nuttx/pull/#41274035) libcwork_queue: Increaseschedule the functionwork ofqueue crc8using tothe usetimer custom polynomialsmechanism  
 * [#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 readyand 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 caused error in wd_start()for consistency  
 * [#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 selectablegroup inchild_status protected mode  
 * [#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 thetaking assign ofsemaphore tcb 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 toolprocess name 
 

### Bug Fixes 
 * [#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 ofduring syscallcontext. instrumentation wrapper   
 * [#4461#4382](https://github.com/apache/incubator-nuttx/pull/#44614382) toolssched/ci: Minor improvements to CI build scriptbacktrace: simplify the assign of tcb in case of negative pid  
 * [#4492#4377](https://github.com/apache/incubator-nuttx/pull/#44924377) tools/nxstyletask_spawn: Fix the check tool incorrectly reported no alignment.  release g_spawn_parmsem and sched_unlock at the ending   
 * [#3710#4068](https://github.com/apache/incubator-nuttx/pull/#37104068) tools/cimm: Rename sim0x.dat to sim-0x.dat to align with arm-xx.dat  
 * [#4455]Remove mm_heap_impl_s struct  
 * [#4247](https://github.com/apache/incubator-nuttx/pull/#44554247) makefile:Redirect let clean_contextl infunction distcleanto command  

## Architectural Support

### New Architecture

### Architectures with significant improvements

#### ARM
 * [#4522non-locale version  
 * [#4380](https://github.com/apache/incubator-nuttx/pull/#45224380) arch/arm: Add ARCH_CORTEXM55 Kconfig for cortex-m55  som byteorder modification  
 * [#3759#4283](https://github.com/apache/incubator-nuttx/pull/#37594283) arm/v7-a/fpulibc/gettext: add VFP-v3 D32 support    Change g_domain to array  
 * [#4536#4512](https://github.com/apache/incubator-nuttx/pull/#45364512) arch/armlib_vsprintf: correctAdd the%pV function name from arm_getsp() to up_getsp()format support  
 * [#4410#4513](https://github.com/apache/incubator-nuttx/pull/#44104513) archlibc/armrexec/assertrexec_af: enhancesupport theremote assertcommand dumpexecution  
 * [#4409#4516](https://github.com/apache/incubator-nuttx/pull/#44094516) arch/arm/cortex-m: add up_backtrace supportlib_fread: return the number of bytes actually read when error occurs.  
 * [#4405#4520](https://github.com/apache/incubator-nuttx/pull/#44054520) arch/armv7debug: addallow customize upEXTRA_backtrace supportFMT based on frame pointer  
 * [#4385#3978](https://github.com/apache/incubator-nuttx/pull/#43853978) arch/armv8-m: Update perDecouple the initialization of the latest architecture reference manualseparate heaps from the TEXT_HEAP option.  
 * [#4354#4029](https://github.com/apache/incubator-nuttx/pull/#43544029) arch/arm: correct the frame pointer register declaremm: fix memory corruption when loop create/exit thread in SMP mode  
 * [#4205#4055](https://github.com/apache/incubator-nuttx/pull/#42054055) arm: add up_secure_irq supportmm: Move the real implementation of mm_sbrk to sbrk  
 * [#4176#4030](https://github.com/apache/incubator-nuttx/pull/#41764030) ARM:Fix fixprocfs CPSRmemory corruption after exception handling when meet long string, add thread run time to procfs  
 * [#4094#4043](https://github.com/apache/incubator-nuttx/pull/#40944043) arch/armv7-aselect: Removefix theasan special SMP SGI processreport error  
 * [#4451#4519](https://github.com/apache/incubator-nuttx/pull/#44514519) archerrno: Replaceuse ar,staic nmerrno andto ldreplace with gcc-ar, gcc-nm and gcctl_errno before tls initialization  
 * [#4343#3992](https://github.com/apache/incubator-nuttx/pull/#43433992) arch/armv8-m: Add SAU supportRefine tls_info_s and task_info_s  
 * [#4341#4019](https://github.com/apache/incubator-nuttx/pull/#43414019) arch/arm: Add NVIC_FPCCR_XXX macro to avoid the hard code value  Fix asan report error  
 * [#4279#4053](https://github.com/apache/incubator-nuttx/pull/#42794053) arch/cortex-mmm: replaceMove arm_switchcontext to c-styleprocfs_register_meminfo into common place  
 * [#4106#4054](https://github.com/apache/incubator-nuttx/pull/#41064054) arm/setjmp.h:add c++ supportmm: Call memalign in malloc if ARCH_ADDRENV and BUILD_KERNEL are defined  
 * [#4013#4454](https://github.com/apache/incubator-nuttx/pull/#40134454) armuser/trap: fixSet enableMQ_MAXMSGSIZE interruptto too64 earlierto causedget systemNX crashworking  
 * [#4483#3725](https://github.com/apache/incubator-nuttx/pull/#44833725) cmd/free: Fixadd compilationnused/nfree offield armin protectedcommand buildfree  
 * [#3879#3753](https://github.com/apache/incubator-nuttx/pull/#38793753) archlibelf: Rename xxx_getsp to up_getsp  

#### CXD56XXfix "nsh: nsh_session: readline failed: 13" error  
 * [#4557#3767](https://github.com/apache/incubator-nuttx/pull/#45573767) archbinfmt: cxd56xx:Move Replaceargv thecopy critical section with spinlock in cxd56_serial.cinto exec_module  
 * [#3743#3764](https://github.com/apache/incubator-nuttx/pull/#37433764) archbinfmt: arm: cxd56xx: Update cxd56xx driversRename dump_module to binfmt_dumpmodule  
 * [#3845#4064](https://github.com/apache/incubator-nuttx/pull/#38454064) Fix spresensebinfmt: Replace all nx_ API with elffile_ API 

#### LPC17XX_40XX
 * [#4072#3928](https://github.com/apache/incubator-nuttx/pull/#40723928) lpc17xx: Added WDT driver.binfmt: Handle argv/argv[0] == NULL correctly in exec_module  
 * [#4316#3867](https://github.com/apache/incubator-nuttx/pull/#43163867) lpc17_40TLS: FixedCorrect handling I2Cof portreturned sanityerror checkvalues.  
 * [#4148#4185](https://github.com/apache/incubator-nuttx/pull/#41484185) lpc17iob_40trimhead: style fix inan WDTinteger definitions.truncation  
 * [#4107#4117](https://github.com/apache/incubator-nuttx/pull/#41074117) lpc17_40: Fixed progmem driver.  

#### STM32Dynamically extend Pidhash table  
 * [#3761#4186](https://github.com/apache/incubator-nuttx/pull/#37614186) ET-STM32 Stamplibc: AnImplement STM32F103RET6times targetfunction for NuttX 
 * [#4350#3908](https://github.com/apache/incubator-nuttx/pull/#43503908) arch/arm/src/stm32l4/Kconfig: add new STM32L4+ chip typescrypto/random_pool.c: Correct indexing on void pointer  
 * [#4310#3817](https://github.com/apache/incubator-nuttx/pull/#43103817) arch/stm32: improvements for qencoder  audio: various fixes  

## Major Changes to the Build System

### New Features 
 * [#3752#4525](https://github.com/apache/incubator-nuttx/pull/#37524525) mkromfsimg: Add Useoptional inttypesrcS stm32fxfile i2cpath  
 * [#4090#4491](https://github.com/apache/incubator-nuttx/pull/#40904491) STM32G43XX Analog Comparatorcheckpatch.sh: add check gerrit Change-Id support  
 * [#3942#3716](https://github.com/apache/incubator-nuttx/pull/#39423716) Changedtools: Add a bash completion script for the STM32configure Analogtool Comparator  driver.  
 * [#3729#3819](https://github.com/apache/incubator-nuttx/pull/#37293819) stm32 timersdocker/linux: PreferAdd GTIMESP32-S2 macrostoolchain and make this use more uniform.  

#### STM32L4binaries.
 * [#3668#4203](https://github.com/apache/incubator-nuttx/pull/#36684203) arch/arm/src/stm32l4/hardware/stm32l4xrxxtools: pinmapAdd alternativearmv7-a function for SPI2  support to nuttx-gdbinit  
 * [#4468#3705](https://github.com/apache/incubator-nuttx/pull/#44683705) arch/arm/src/stm32l4docker: fix STM32L4+ option bytes memory address add ninja-build    

### Bug Fixes 
 * [#4501#4418](https://github.com/apache/incubator-nuttx/pull/#45014418) arch/arm/src/stm32l4compiler.h: add control for Vddio2 independent I/Os supply valid __builtin_offsetof instead of offsetof 
 * [#4469#3815](https://github.com/apache/incubator-nuttx/pull/#44693815) arch/arm/src/stm32l4/stm32l4_flash.ctools/mksyscall: fix FLASH_CONFIG_I to use dual-bank access  

#### STM32L5

#### S32K1XXFix build break of syscall instrumentation wrapper   
 * [#3850#4461](https://github.com/apache/incubator-nuttx/pull/#38504461) UCANS32K146 add support for B revisiontools/ci: Minor improvements to CI build script  
 * [#4493#4492](https://github.com/apache/incubator-nuttx/pull/#44934492) tools/nxstyle: Fix errorthe in s32k118_pinmux.h  
 * [#3795check tool incorrectly reported no alignment.  
 * [#3710](https://github.com/apache/incubator-nuttx/pull/#37953710) S32K1XX LSPI Double word uptools/ci: Rename sim0x.dat to sim-0x.dat to 64align bits support  

#### IMX6with arm-xx.dat  
 * [#3777#4455](https://github.com/apache/incubator-nuttx/pull/#37774455) archmakefile: imx6: Add termios support to imx6  

#### IMXRTlet clean_context in distclean command  
 * [#3988#4423](https://github.com/apache/incubator-nuttx/pull/#39884423) arch/arm/src/imxrt/imxrt_flexpwm.cboard: fixEnable mistakeCONFIG_LIBCXXABI inwhen submodulesCONFIG_LIBCXX addressis offsetenabled  
 * [#4431#4196](https://github.com/apache/incubator-nuttx/pull/#44314196) i.MX RTtools: ChangesFix tonuttx-gdbinit FlexCAN driver

## and Teensy 4.x CAN configuration  Architectural Support

### New Architecture 

#### MIPS

##### PIC32
 * [#4285#4252](https://github.com/apache/incubator-nuttx/pull/#42854252) arch/arm/src/imxrt/imxrt_flexpwm.c: Set LDOK bits after all channels are set   pic32mz: added support for PIC32MZ2048EFG MCU 

### Architectures with significant improvements

#### ARM
 * [#4138#4522](https://github.com/apache/incubator-nuttx/pull/#41384522) i.MX RT: added supportarch/arm: Add ARCH_CORTEXM55 Kconfig for Ticklesscortex-m55 OS  

#### RP2040 
 * [#4049#3759](https://github.com/apache/incubator-nuttx/pull/#4049) Raspipico smp3759) arm/v7-a/fpu: add VFP-v3 D32 support    
 * [#4251#4536](https://github.com/apache/incubator-nuttx/pull/#42514536) raspberrypi-picoarch/arm: add support for lcd_dev  

#### RTL8720Ccorrect the function name from arm_getsp() to up_getsp()  
 * [#4076#4410](https://github.com/apache/incubator-nuttx/pull/#40764410) AmebaZ2arch/arm/assert: Addenhance socthe src code 

#### NRF52

#### STM32H7/STM32F7assert dump  
 * [#4331#4409](https://github.com/apache/incubator-nuttx/pull/#43314409) arch/arm/stm32h7cortex-m: dmaadd and serial: add TRBUFF flag.up_backtrace support  
 * [#4441#4405](https://github.com/apache/incubator-nuttx/pull/#44414405) arch/arm/stm32f7/stm32_irq: Fix format stringsarmv7: add up_backtrace support based on frame pointer  
 * [#4098#4385](https://github.com/apache/incubator-nuttx/pull/#40984385) stm32h7 Ethernet add yield and timeout to not hog CPU  arch/armv8-m: Update per the latest architecture reference manual  
 * [#3730#4354](https://github.com/apache/incubator-nuttx/pull/#37304354) stm32h7 rccarch/arm: Synccorrect h7x7xxthe andframe h7x3xx.pointer Changesregister are relevant to both  declare 
 * [#3892#4205](https://github.com/apache/incubator-nuttx/pull/#38924205) arch/arm/src/stm32h7: qspi use indirect write instead of indirect readadd up_secure_irq support  
 * [#3728#4176](https://github.com/apache/incubator-nuttx/pull/#37284176) stm32f7ARM: fix CPSR Removecorruption referencesafter to BOARD_ENABLE_USBOTG_HSULPI.exception handling  
 * [#3731#4094](https://github.com/apache/incubator-nuttx/pull/#37314094) stm32/stm32f7 ticklessarch/armv7-a: Fix up_timer_getmask to be correct for the width of the timer.Remove the special SMP SGI process  
 * [#3976#4451](https://github.com/apache/incubator-nuttx/pull/#3976) STM32F7 SDMMC fixes4451) arch: Replace ar, nm and ld with gcc-ar, gcc-nm and gcc  
 * [#3924#4343](https://github.com/apache/incubator-nuttx/pull/#39244343) stm32h7 fix for adc to handle overrun and the DR's fifo  

#### Renesas 
 * [#4230arch/armv8-m: Add SAU support  
 * [#4341](https://github.com/apache/incubator-nuttx/pull/#42304341) renesasarch/rx65narm: add long type for all PRI*PTR  

#### RX65N

#### Risc-VAdd NVIC_FPCCR_XXX macro to avoid the hard code value  
 * [#3770#4279](https://github.com/apache/incubator-nuttx/pull/#37704279) Add support for PolarFire SoC and icicle boardarch/cortex-m: replace arm_switchcontext to c-style  
 * [#3997#4106](https://github.com/apache/incubator-nuttx/pull/#39974106) risc-v/bl602: update wifi firmware versionarm/setjmp.h:add c++ support  
 * [#4381#4013](https://github.com/apache/incubator-nuttx/pull/#43814013) arch/riscv/assert: enhance the assert dumparm: fix enable interrupt too earlier caused system crash  
 * [#4367#4483](https://github.com/apache/incubator-nuttx/pull/#43674483) riscv/backtrace: add up_backtrace support Fix compilation of arm protected build  
 * [#4365#3879](https://github.com/apache/incubator-nuttx/pull/#43653879) riscv/commonarch: addRename CURRENTxxx_REGSgetsp declareto inup_getsp RV32  
 * [#4342#4227](https://github.com/apache/incubator-nuttx/pull/#43424227) riscv/bl602pwm: Fixadd thatoption APto cannotbreak bethe startloops when STAusing havemultiple beenPWM started.channels  
 * [#4335#4261](https://github.com/apache/incubator-nuttx/pull/#43354261) arch/bl602:Add bl602 os adapter layer  
 * [#4145 EXC_SECURE and SECURE_STACK just can clear at TRUSTZONE_NONSECURE  

#### CXD56XX
 * [#4557](https://github.com/apache/incubator-nuttx/pull/#41454557) risc-v/bl602: update wifi firmware and some fixup.  arch: cxd56xx: Replace the critical section with spinlock in cxd56_serial.c 
 * [#3849#3743](https://github.com/apache/incubator-nuttx/pull/#38493743) risc-v/mpfsarch: irq fixes, more register defines and up_systemreset()arm: cxd56xx: Update cxd56xx drivers  
 * [#3984#3845](https://github.com/apache/incubator-nuttx/pull/#39843845) risc-v/bl602: Support AP and STA as independent network interface device  Fix spresense with elf  

#### LPC17XX_40XX
 * [#3913#4072](https://github.com/apache/incubator-nuttx/pull/#39134072) archlpc17xx: k210:Added FixWDT stackdriver. coloring for the idle thread stack  
 * [#3757#4316](https://github.com/apache/incubator-nuttx/pull/#37574316) riscvlpc17_40: AddFixed inlineI2C IRQport processsanity functionscheck.  
 * [#4041#4148](https://github.com/apache/incubator-nuttx/pull/#40414148) risc-v/bl602lpc17_40: addstyle efusefix driverin WDT 

#### RV64

#### ESP32C3definitions.  
 * [#3853#4107](https://github.com/apache/incubator-nuttx/pull/#38534107) arch/risc-v/esp32c3lpc17_40: addFixed esp32c3_modtext to allow ELF loadingprogmem driver.  
 
#### BL602 STM32
 * [#3784#3761](https://github.com/apache/incubator-nuttx/pull/#37843761) risc-v/bl602ET-STM32 Stamp: AddAn STM32F103RET6 RTCtarget driverfor NuttX 
 * [#4607#4350](https://github.com/apache/incubator-nuttx/pull/#46074350) Open ble controller adaptation code  

#### Xtensaarch/arm/src/stm32l4/Kconfig: add new STM32L4+ chip types  
 * [#4280#4310](https://github.com/apache/incubator-nuttx/pull/#42804310) arch/stm32:xtensa: addimprovements newfor GNU toolchain for xtensa.qencoder   
 * [#4478#3752](https://github.com/apache/incubator-nuttx/pull/#44783752) arch:Use xtensa:inttypes add xtensa cache support stm32fx i2c  
 * [#4547#4090](https://github.com/apache/incubator-nuttx/pull/#45474090) arch:xtensa: add full bactrace supportSTM32G43XX Analog Comparator  
 * [#4407#3942](https://github.com/apache/incubator-nuttx/pull/#44073942) arch/xtensa/src/common: Use irq_spin APIs in modifyregXX   Changed the STM32 Analog Comparator driver. 
 * [#4403#3729](https://github.com/apache/incubator-nuttx/pull/#4403) Use driver-specific spinlock for ESP32 serial driver3729) stm32 timers: Prefer GTIM macros and make this use more uniform.  
 * [#4458#4163](https://github.com/apache/incubator-nuttx/pull/#44584163) arch:xtensa: add xtensa mpu support  Files for pysimCoder 
 * [#3762#4151](https://github.com/apache/incubator-nuttx/pull/#37624151) xtensa:Change #ifdefDAC SYMBOLdriver isto alwayssupport trueSTM32G4 ifDAC SYMBOL defined as 0  

#### ESP32STM32L4
 * [#4638#3668](https://github.com/apache/incubator-nuttx/pull/#4638) esp32xx_rom.ld: Strongly declare some of the libgcc.a functions that are ROM resident  3668) arch/arm/src/stm32l4/hardware/stm32l4xrxx: pinmap alternative function for SPI2  
 * [#4417#4468](https://github.com/apache/incubator-nuttx/pull/#44174468) arch/arm/src/esp32stm32l4: Properlyfix handleSTM32L4+ GPIOoption interruptbytes inmemory SMP.address  
 * [#4234#4501](https://github.com/apache/incubator-nuttx/pull/#42344501) espressifarch/esp32arm/esp32s2src/esp32c3stm32l4: Disableadd wdtcontrol onfor initialization.Vddio2  

### Minor changes

## Simulatorindependent I/Os supply valid  
 * [#3921#4469](https://github.com/apache/incubator-nuttx/pull/#39214469) simarch/arm/src/stm32l4/stm32l4_flash.c: Use cc as linker, which usually aliases to either GCC or Clang  fix FLASH_CONFIG_I to use dual-bank access  

#### STM32L5

#### S32K1XX
 * [#4108#3850](https://github.com/apache/incubator-nuttx/pull/#41083850) boards/sim: enable nxlooperUCANS32K146 add support for alsaB configrevision  
 * [#4222#4493](https://github.com/apache/incubator-nuttx/pull/#42224493) sim/cmdline: save boot cmdlineFix error in s32k118_pinmux.h  
 * [#4209#3795](https://github.com/apache/incubator-nuttx/pull/#4209) Fix sim smp 3795) S32K1XX LSPI Double word up to 64 bits support  

#### IMX6 
 * [#4207#3777](https://github.com/apache/incubator-nuttx/pull/#42073777) arch: simimx6: WorkaroundAdd totermios makesupport theto IPIimx6 work on

#### macOSIMXRT  
 * [#4167#3988](https://github.com/apache/incubator-nuttx/pull/#41673988) arch/sim/arm/src/imxrt/imxrt_flexpwm.c: Thefix secondmistake CPUin shouldn'tsubmodules calladdress up_irqinitializeoffset  
 * [#3904#4431](https://github.com/apache/incubator-nuttx/pull/#39044431) boards/sim/sim/sim: correct LDLINKFLAGS after migrating from ld to gcc i.MX RT: Changes to FlexCAN driver and Teensy 4.x CAN configuration  
 * [#4056#4285](https://github.com/apache/incubator-nuttx/pull/#40564285) arch/simarm/src/imxrt/imxrt_flexpwm.c: FixSet btLDOK andbits audioafter simulationall stopchannels workare inset SMP mode  
 * [#4045#4138](https://github.com/apache/incubator-nuttx/pull/#40454138) sim/smpi.MX RT: fixadded smpsupport can't start, caused by signal too busy for Tickless OS  

#### RP2040 
 * [#4015#4049](https://github.com/apache/incubator-nuttx/pull/#40154049) modifyRaspipico sim clock to PC abs time  smp 
 * [#3983#4251](https://github.com/apache/incubator-nuttx/pull/#39834251) arch/simraspberrypi-pico: Implementadd mm_mallinfosupport andfor malloc_size for the custom heaplcd_dev  
 * [#4459#4002](https://github.com/apache/incubator-nuttx/pull/#44594002) sim: Inhibit stack protectorKinetis Replace DMA with a proper eDMA driver and use it on stackSPI colorationand functionSerial  

#### RTL8720C
 * [#3721#4076](https://github.com/apache/incubator-nuttx/pull/#37214076) sim/rptunAmebaZ2: support multi(>2) core interactive by share memory  Add soc src code 

#### NRF52

#### STM32H7/STM32F7
 * [#4306#4331](https://github.com/apache/incubator-nuttx/pull/#43064331) boardsarch/arm/simstm32h7: Adddma smartfsand profileserial: exampleadd  

### New Features

### Bug Fixes

## Documentation

### New Features  

### Improvements

### Driver SupportTRBUFF flag. 
 * [#4441](https://github.com/apache/incubator-nuttx/pull/4441) arch/arm/stm32f7/stm32_irq: Fix format strings  
 * [#3842#4098](https://github.com/apache/incubator-nuttx/pull/#38424098) Added automatic log rotation, when log file is opened.stm32h7 Ethernet add yield and timeout to not hog CPU  
 * [#3837#3730](https://github.com/apache/incubator-nuttx/pull/#38373730) SYSLOG channel add functions return handle to the channel. stm32h7 rcc: Sync h7x7xx and h7x3xx. Changes are relevant to both  
 * [#3848#3892](https://github.com/apache/incubator-nuttx/pull/#38483892) Syslog file rotations number is configurable.arch/arm/src/stm32h7: qspi use indirect write instead of indirect read 
 * [#3808#3728](https://github.com/apache/incubator-nuttx/pull/#38083728) Ramlogstm32f7: recoverRemove lastreferences crash log from ram bufferto BOARD_ENABLE_USBOTG_HSULPI.  
 * [#4614#3731](https://github.com/apache/incubator-nuttx/pull/#46143731) inputstm32/touchstm32f7 tickless: add io command for touch firmware version  

### Bug Fixes

### New Driver Support Fix up_timer_getmask to be correct for the width of the timer. 
 * [#3727#3976](https://github.com/apache/incubator-nuttx/pull/#37273976) AddSTM32F7 basicSDMMC supportfixes for MCP23017 I/O Expander 
 * [#3859#3924](https://github.com/apache/incubator-nuttx/pull/#3859) Add Holtek HT16K33 14-segment display driver 3924) stm32h7 fix for adc to handle overrun and the DR's fifo  

#### Renesas 
 * [#4641#4230](https://github.com/apache/incubator-nuttx/pull/#46414230) drivers/mtd/m25px.crenesas/rx65n: add long supporttype for MT25Q256 SPI NORall PRI*PTR  
 * [#4606#3989](https://github.com/apache/incubator-nuttx/pull/#46063989) AddRenesas/RX supportadded forsetjmp MT25Q1Gand SPIplaceholder NOR ioctl 
 

## Board Support

### New Board Support

### Boards With Significant Improvements

#### ARM 
 
#### CXD56#### Risc-V
 * [#3770](https://github.com/apache/incubator-nuttx/pull/3770) Add support for PolarFire SoC and icicle board
 * [#3997](https://github.com/apache/incubator-nuttx/pull/3997) risc-v/bl602: update wifi firmware version  
 * [#3833#4381](https://github.com/apache/incubator-nuttx/pull/#38334381) Spresense new memorymaparch/riscv/assert: enhance the assert dump  
 * [#4526#4367](https://github.com/apache/incubator-nuttx/pull/#45264367) Rearch videoriscv/backtrace: add up_backtrace support  
 * [#3973#4365](https://github.com/apache/incubator-nuttx/pull/#39734365) boardsriscv/common: spresense: Update rndis and rndis_smp for workaround  
 * [#3744add CURRENT_REGS declare in RV32  
 * [#4342](https://github.com/apache/incubator-nuttx/pull/4342) riscv/bl602: Fix that AP cannot be start when STA have been started.  
 * [#4335](https://github.com/apache/incubator-nuttx/pull/4335) arch/bl602:Add bl602 os adapter layer  
 * [#4145](https://github.com/apache/incubator-nuttx/pull/4145) risc-v/bl602: update wifi firmware and some fixup.  
 * [#3849](https://github.com/apache/incubator-nuttx/pull/3849) risc-v/mpfs: irq fixes, more register defines and up_systemreset()  
 * [#3984](https://github.com/apache/incubator-nuttx/pull/3984) risc-v/bl602: Support AP and STA as independent network interface device  
 * [#3913](https://github.com/apache/incubator-nuttx/pull/3913) arch: k210: Fix stack coloring for the idle thread stack  
 * [#3757](https://github.com/apache/incubator-nuttx/pull/3757) riscv: Add inline IRQ process functions  
 * [#4041](https://github.com/apache/incubator-nuttx/pull/4041) risc-v/bl602: add efuse driver  
 * [#4384](https://github.com/apache/incubator-nuttx/pull/4384) Mpfs core pwm  
 * [#4507](https://github.com/apache/incubator-nuttx/pull/4507) various MPFS fixes  

#### ESP32-C3
 * [#3853](https://github.com/apache/incubator-nuttx/pull/3853) arch/risc-v/esp32c3: add esp32c3_modtext to allow ELF loading  
 
#### BL602 
 * [#3784](https://github.com/apache/incubator-nuttx/pull/3784) risc-v/bl602: Add RTC driver  
 * [#4607](https://github.com/apache/incubator-nuttx/pull/4607) Open ble controller adaptation code  

#### Xtensa
 * [#4280](https://github.com/apache/incubator-nuttx/pull/4280) arch:xtensa: add new GNU toolchain for xtensa.  
 * [#4478](https://github.com/apache/incubator-nuttx/pull/4478) arch: xtensa: add xtensa cache support   
 * [#4547](https://github.com/apache/incubator-nuttx/pull/4547) arch:xtensa: add full bactrace support 
 * [#4407](https://github.com/apache/incubator-nuttx/pull/4407) arch/xtensa/src/common: Use irq_spin APIs in modifyregXX  
 * [#4403](https://github.com/apache/incubator-nuttx/pull/4403) Use driver-specific spinlock for ESP32 serial driver.  
 * [#4458](https://github.com/apache/incubator-nuttx/pull/4458) arch:xtensa: add xtensa mpu support  
 * [#3762](https://github.com/apache/incubator-nuttx/pull/3762) xtensa: #ifdef SYMBOL is always true if SYMBOL defined as 0  

#### ESP32
 * [#4638](https://github.com/apache/incubator-nuttx/pull/4638) esp32xx_rom.ld: Strongly declare some of the libgcc.a functions that are ROM resident  
 * [#4417](https://github.com/apache/incubator-nuttx/pull/4417) arch/esp32: Properly handle GPIO interrupt in SMP. 
 * [#4234](https://github.com/apache/incubator-nuttx/pull/4234) espressif/esp32/esp32s2/esp32c3: Disable wdt on initialization.  

#### X86_64
 * [#4447](https://github.com/apache/incubator-nuttx/pull/4447) Fix x86_64  

### General changes
 * [#4233](https://github.com/apache/incubator-nuttx/pull/4233) board/ctrl: Add BOARDIOC_BOOT_IMAGE for booting a new application image  
 * [#4191](https://github.com/apache/incubator-nuttx/pull/4191) Add BOARDCTL_SWITCH_BOOT to support switch boot system 
 * [#4089](https://github.com/apache/incubator-nuttx/pull/4089) board/ctrl: add BOARDCTL_UNIQUEKEY support  
 
 ## Simulator 
 * [#3921](https://github.com/apache/incubator-nuttx/pull/3921) sim: Use cc as linker, which usually aliases to either GCC or Clang  
 * [#4108](https://github.com/apache/incubator-nuttx/pull/4108) boards/sim: enable nxlooper for alsa config  
 * [#4222](https://github.com/apache/incubator-nuttx/pull/4222) sim/cmdline: save boot cmdline  
 * [#4209](https://github.com/apache/incubator-nuttx/pull/4209) Fix sim smp  
 * [#4207](https://github.com/apache/incubator-nuttx/pull/4207) arch: sim: Workaround to make the IPI work on macOS  
 * [#4167](https://github.com/apache/incubator-nuttx/pull/4167) arch/sim: The second CPU shouldn't call up_irqinitialize  
 * [#3904](https://github.com/apache/incubator-nuttx/pull/3904) boards/sim/sim/sim: correct LDLINKFLAGS after migrating from ld to gcc  
 * [#4056](https://github.com/apache/incubator-nuttx/pull/4056) arch/sim: Fix bt and audio simulation stop work in SMP mode  
 * [#4045](https://github.com/apache/incubator-nuttx/pull/4045) sim/smp: fix smp can't start, caused by signal too busy  
 * [#4015](https://github.com/apache/incubator-nuttx/pull/4015) modify sim clock to PC abs time  
 * [#3983](https://github.com/apache/incubator-nuttx/pull/3983) arch/sim: Implement mm_mallinfo and malloc_size for the custom heap  
 * [#4459](https://github.com/apache/incubator-nuttx/pull/4459) sim: Inhibit stack protector on stack coloration function  
 * [#3721](https://github.com/apache/incubator-nuttx/pull/3721) sim/rptun: support multi(>2) core interactive by share memory  
 * [#4306](https://github.com/apache/incubator-nuttx/pull/4306) boards/sim: Add smartfs profile example 
 * [#4258](https://github.com/apache/incubator-nuttx/pull/4258) Use exit func iml host_abort.  
 * [#3689](https://github.com/apache/incubator-nuttx/pull/3689) Apps Issue #246: Replace romdisk_register() with boardctl(BOARDIOC_ROMDISK)  
 * [#4465](https://github.com/apache/incubator-nuttx/pull/4465) feature: driver: Add a Linux SPI into simulator.  

## Documentation

### New Features   
 * [#3634](https://github.com/apache/incubator-nuttx/pull/3634) Documentation/platforms: added documentation for imxrt10xx boards  
 * [#4470](https://github.com/apache/incubator-nuttx/pull/4470) Doc: Add initial documentation to the simulator  
 * [#4419](https://github.com/apache/incubator-nuttx/pull/4419) doc/esp32: Add instructions to use softap  
 
 ### Improvements 
 * [#3782](https://github.com/apache/incubator-nuttx/pull/3782) spi: Improve SPI Slave interface documentation  
 * [#4390](https://github.com/apache/incubator-nuttx/pull/4390) Documentation: Update ESP32-C3 supported peripheral list.  
 * [#3702](https://github.com/apache/incubator-nuttx/pull/3702) Documentation/esp32c3: Fix a couple of issues from #3700 
 * [#4242](https://github.com/apache/incubator-nuttx/pull/4242) Documentation/bl602: Update some imformation  
 * [#3662](https://github.com/apache/incubator-nuttx/pull/3662) Fix some issues on SPI documentation  
 * [#4375](https://github.com/apache/incubator-nuttx/pull/4375) Documentation/esp32-wrover-kit: update the name of the GPIO interrupt device.  
 * [#4298](https://github.com/apache/incubator-nuttx/pull/4298) Doc/FAQ: Add more entries about board initialization  
 * [#3899](https://github.com/apache/incubator-nuttx/pull/3899) Documentation: Update kconfig-frontends install instructions  
 * [#4235](https://github.com/apache/incubator-nuttx/pull/4235) Documentation/: Update ESP32 doc.  
 * [#3802](https://github.com/apache/incubator-nuttx/pull/3802) Doc: Improve documentation to make clear about the priorities  
 * [#4564](https://github.com/apache/incubator-nuttx/pull/4564) Doc: Update download version to 10.1 and fix tar command  
 * [#3700](https://github.com/apache/incubator-nuttx/pull/3700) Convert ESP32-C3 README to the new Documentation  
 * [#4298](https://github.com/apache/incubator-nuttx/pull/4298) Doc/FAQ: Add more entries about board initialization  
 * [#4297](https://github.com/apache/incubator-nuttx/pull/4297) Documentation/FAQ: Why /dev/ttySx is not created 

### Driver Support

### Bug Fixes  
 * [#3842](https://github.com/apache/incubator-nuttx/pull/3842) 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.
 * [#3848](https://github.com/apache/incubator-nuttx/pull/3848) Syslog file rotations number is configurable.
 * [#3808](https://github.com/apache/incubator-nuttx/pull/3808) Ramlog: recover last crash log from ram buffer.  
 * [#4614](https://github.com/apache/incubator-nuttx/pull/4614) input/touch: add io command for touch firmware version   
 * [#4632](https://github.com/apache/incubator-nuttx/pull/4632) feat: driver: support double buffer for display  
 * [#4650](https://github.com/apache/incubator-nuttx/pull/4650) driver/power: using upper-half structure directly in the lower-half structure.  
 * [#4370](https://github.com/apache/incubator-nuttx/pull/4370) drivers/sensors/bmp280.c: Correct bmp280 driver  
 * [#4243](https://github.com/apache/incubator-nuttx/pull/4243) drivers/mmcsd:Send cmd0 just once for Increased compatibility  
 * [#4231](https://github.com/apache/incubator-nuttx/pull/4231) adc: add ioctl command to get the number of configured channels  
 * [#4007](https://github.com/apache/incubator-nuttx/pull/4007) driver/fakesensor: fix bugs.  
 * [#4177](https://github.com/apache/incubator-nuttx/pull/4177) serial: use Ctrl+? composite key to force panic"  
 * [#3851](https://github.com/apache/incubator-nuttx/pull/3851) spi: Refactor SPI Slave interface prefix to sync with I2C Slave  
 * [#4095](https://github.com/apache/incubator-nuttx/pull/4095) drivers/syslog: Avoid prepending process name when no TCB is available 
 * [#3990](https://github.com/apache/incubator-nuttx/pull/3990) drivers: wireless: Fix error handling in gs2200m_ioctl_send()  
 * [#3860](https://github.com/apache/incubator-nuttx/pull/3860) drivers: serial: Remove an unnecessary critical section (cs) for SMP  
 * [#3910](https://github.com/apache/incubator-nuttx/pull/3910) serial/pty: Initialize the terminal setting as a console  
 * [#4110](https://github.com/apache/incubator-nuttx/pull/4110) bcm43xxx: supported IW_AUTH_CIPHER_NONE mode  
 * [#4131](https://github.com/apache/incubator-nuttx/pull/4131) drivers/rptun: replace the notification mech from signal to semaphore  
 * [#4132](https://github.com/apache/incubator-nuttx/pull/4132) serial: add ctrl+@ to force crash system for debugging  
 * [#4156](https://github.com/apache/incubator-nuttx/pull/4156) Fakesensor: support gps by read nema csv and delete fakesensor init.  
 * [#4225](https://github.com/apache/incubator-nuttx/pull/4225) sensor: directly return -ENOTSUP without the set_interval or batch  
 * [#4228](https://github.com/apache/incubator-nuttx/pull/4228) drivers: wireless: Fix to set the address family for recvfrom() in gs2200m  
 * [#4288](https://github.com/apache/incubator-nuttx/pull/4288) adc: add IOCTL commands ANIOC_RESET_FIFO and ANIOC_SAMPLES_ON_READ  
 * [#4312](https://github.com/apache/incubator-nuttx/pull/4312) drivers/qencoder: add command to set the maximum encoder position  
 * [#4652](https://github.com/apache/incubator-nuttx/pull/4652) driver/sensor: support sensor_ops: selftest  
 * [#3633](https://github.com/apache/incubator-nuttx/pull/3633) drivers/serial: fix Rx interrupt enable for cdcacm  
 * [#4504](https://github.com/apache/incubator-nuttx/pull/4504) add new interface for fb driver and lcd dev driver  
 * [#4554](https://github.com/apache/incubator-nuttx/pull/4554) drivers/lcd: Add GC9A01 driver and refine ST7735  
 * [#3658](https://github.com/apache/incubator-nuttx/pull/3658) drivers: move the generic upper-half motor driver  
 * [#4397](https://github.com/apache/incubator-nuttx/pull/4397) Update lm3s6965  
 * [#4489](https://github.com/apache/incubator-nuttx/pull/4489) drivers/mmcsd: Pass the right buffer size to SDIO_DMAPREFLIGHT  
 * [#4479](https://github.com/apache/incubator-nuttx/pull/4479) drivers/sdmmc: Remove rwbuffer to avoid panic  
 * [#4476](https://github.com/apache/incubator-nuttx/pull/4476) drivers/mmcsd: Change up_udelay to nxsig_usleep if delay >= 1ms  
 * [#4474](https://github.com/apache/incubator-nuttx/pull/4474) drivers/mmcsd: Handle the failure correctly in mmcsd_slotinitialize  
 * [#4473](https://github.com/apache/incubator-nuttx/pull/4473) drivers/mmcsd: Fix the wrong format argument in mmcsd_dmpcsd  
 * [#3720](https://github.com/apache/incubator-nuttx/pull/3720) driver/syslog: add CONFIG_SYSLOG_RPMSG_SERVER_NAME  
 * [#3864](https://github.com/apache/incubator-nuttx/pull/3864) Fix ht16k33 driver to support multi-modules  
 * [#3828](https://github.com/apache/incubator-nuttx/pull/3828) syslog/emerg: fix bug about printing LOG_EMERG log from iob buffer  
 * [#3806](https://github.com/apache/incubator-nuttx/pull/3806) syslog: fix bug about syslog_default_write  
 * [#3936](https://github.com/apache/incubator-nuttx/pull/3936) syslog/ramlog: Remove the duplication of \n->\r\n conversion  
 * [#3907](https://github.com/apache/incubator-nuttx/pull/3907) serial/pty: Don't return -NOSYS if pollfd::events equals 0  
 * [#3742](https://github.com/apache/incubator-nuttx/pull/3742) drivers/modem/altair: Fix behavior when a reset packet conflicts with a send packet  
 * [#3741](https://github.com/apache/incubator-nuttx/pull/3741) drivers/mtd/smart.c: Recover the missing link of directory entry  
 * [#3736](https://github.com/apache/incubator-nuttx/pull/3736) drivers/syslog: Remove emergstream implementation and caller  
 * [#3726](https://github.com/apache/incubator-nuttx/pull/3726) rtc: add config RTC_RPMSG_SERVER, RTC_RPMSG_SERVER_NAME  
 * [#4113](https://github.com/apache/incubator-nuttx/pull/4113) syslog/ramlog: optimize code and fix init issue  
 * [#4111](https://github.com/apache/incubator-nuttx/pull/4111) syslog/intbuf: force output log when syslog interrupt buffer is full  
 * [#4042](https://github.com/apache/incubator-nuttx/pull/4042) serial: add ioctl TIOCNOTTY  
 * [#4034](https://github.com/apache/incubator-nuttx/pull/4034) syslog: add CPU id to system when open CONFIG_SMP  
 * [#4032](https://github.com/apache/incubator-nuttx/pull/4032) syslog: fix crash when print localtime by syslog  
 * [#3979](https://github.com/apache/incubator-nuttx/pull/3979) note: Move up_schednote.c to drivers/note folder  
 * [#4475](https://github.com/apache/incubator-nuttx/pull/4475) drivers/mmcsd: Change mmsd_ prefix to mmcsd_ prefix  
 * [#4415](https://github.com/apache/incubator-nuttx/pull/4415) Adds driver for msa301 sensore module  
 * [#4420](https://github.com/apache/incubator-nuttx/pull/4420) sensor: fix the bug that lsm6dsl selftest is invalid in nuttx.  
 * [#3787](https://github.com/apache/incubator-nuttx/pull/3787) drivers/spi: Add SPI Slave character device driver  
 * [#4566](https://github.com/apache/incubator-nuttx/pull/4566) drivers/syslog: Call up_puts in syslog_default_write instad up_putc  
 * [#4580](https://github.com/apache/incubator-nuttx/pull/4580) drivers/syslog: Ensure the buffer zero terminate 
 * [#4302](https://github.com/apache/incubator-nuttx/pull/4302) Compile fixes in MCP23X17 driver.  
 * [#4299](https://github.com/apache/incubator-nuttx/pull/4299) bchlib: Improve error handling  
 * [#4345](https://github.com/apache/incubator-nuttx/pull/4345) mtd: Implement BIOC_PARTINFO for all drivers  
 * [#4248](https://github.com/apache/incubator-nuttx/pull/4248) mtd: Return MTD Partition Information 
 * [#4166](https://github.com/apache/incubator-nuttx/pull/4166) mtd: Add MTDIOC_ERASESTATE command for retrieving erase state value 
 * [#3885](https://github.com/apache/incubator-nuttx/pull/3885) mtd: Add MTDIOC_FLUSH IOCTL like MTDIOC_XIPBASE  
 * [#3722](https://github.com/apache/incubator-nuttx/pull/3722) lirc: fix bug about lirc_raw_event   
 * [#4515](https://github.com/apache/incubator-nuttx/pull/4515) rptun: add CONFIG_RPTUN_LOADER to optimize code size  
 * [#4223](https://github.com/apache/incubator-nuttx/pull/4223) rptun: optimize multi-core startup  
 * [#4552](https://github.com/apache/incubator-nuttx/pull/4552) bcm43xxx: abrupt stall of receiving new credits from sdpcm header  
 * [#4565](https://github.com/apache/incubator-nuttx/pull/4565) bcm43xxx: added SDPCM frame pool size parameter  
 * [#4236](https://github.com/apache/incubator-nuttx/pull/4236) bcm43xxx: fixed issues with unaligned buffers for DMA transfers.  
 * [#4567](https://github.com/apache/incubator-nuttx/pull/4567) lcd/st77xx: change 16 bit cmd send to 8 bit 
 * [#4137](https://github.com/apache/incubator-nuttx/pull/4137) bluetooth: add more OGF definition  
 * [#4039](https://github.com/apache/incubator-nuttx/pull/4039) Add putarea() method for st7789  
 * [#3754](https://github.com/apache/incubator-nuttx/pull/3754) wireless/bluetooth: decoupling bt_driver_s and bt_buf_s  

### New Driver Support 
 * [#3727](https://github.com/apache/incubator-nuttx/pull/3727) Add basic support for MCP23017 I/O Expander 
 * [#3859](https://github.com/apache/incubator-nuttx/pull/3859) Add Holtek HT16K33 14-segment display driver  
 * [#4641](https://github.com/apache/incubator-nuttx/pull/4641) drivers/mtd/m25px.c: add support for MT25Q256 SPI NOR  
 * [#4606](https://github.com/apache/incubator-nuttx/pull/4606) Add support for MT25Q1G SPI NOR  
 * [#4373](https://github.com/apache/incubator-nuttx/pull/4373) Add support for 3-phase Hall effect sensor driver  
 * [#4490](https://github.com/apache/incubator-nuttx/pull/4490) add support for power management ic axp202 

## Board Support

### New Board Support

### Boards With Significant Improvements

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

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

#### IMXRT  
 * [#3982](https://github.com/apache/incubator-nuttx/pull/3982) boards/arm/imxrt/teensy-4.x: added board level support for GPIO driver
 * [#3929](https://github.com/apache/incubator-nuttx/pull/3929) Added encoder support for Teensy 4.x
 * [#3980](https://github.com/apache/incubator-nuttx/pull/3980) FlexPWM support for iMXRT MCU   
 * [#4581](https://github.com/apache/incubator-nuttx/pull/4581) Fixed imxrt flexcan driver compilation error (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
 * [#4086](https://github.com/apache/incubator-nuttx/pull/4086) Added PCF8574 backpack support to Raspberry Pi Pico  
 * [#4204](https://github.com/apache/incubator-nuttx/pull/4204) added st7735 LCD based support  
 * [#4289](https://github.com/apache/incubator-nuttx/pull/4289) Fixing BMP180 and INA219 in RP2040  

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

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

#### STM32  
 * [#3944](https://github.com/apache/incubator-nuttx/pull/3944) boards/arm/stm32/nucleo-f446re: added support for DAC driver
 * [#3880](https://github.com/apache/incubator-nuttx/pull/3880) boards/arm/stm32/nucleo-f446re: added support for GPIO driver
 * [#3909](https://github.com/apache/incubator-nuttx/pull/3909) Added basic support for nucleo-g431kb board.
 * [#3922](https://github.com/apache/incubator-nuttx/pull/3922) Adds PWM example to nucleo-g431kb board.  
 * [#3914](https://github.com/apache/incubator-nuttx/pull/3914) boards: added support for EMW3162 Wi-Fi board
 * [#3878](https://github.com/apache/incubator-nuttx/pull/3878) Add FOC support for B-G431-ESC1 board   
 * [#3637](https://github.com/apache/incubator-nuttx/pull/3637) boards/arm/stm32/nucleo-f446re: added support for PWM  
 * [#3660](https://github.com/apache/incubator-nuttx/pull/3660) stm32_pwm: improvements for PULSECOUNT support  
 * [#4505](https://github.com/apache/incubator-nuttx/pull/4505) 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/4589) Fix stm32xx GPIO glitches from configuration bad order of operations  
 * [#4085](https://github.com/apache/incubator-nuttx/pull/4085) stm32,stm32f7,stm32h7: supported ETH MAC promiscuous mode  
 * [#4255](https://github.com/apache/incubator-nuttx/pull/4255) STM32 DAC Driver - Add support to DAC3  
 * [#3796](https://github.com/apache/incubator-nuttx/pull/3796) boards/arm/stm32/nucleo-f412zg/scripts/Make.defs: Replace EXTRADEFINES by EXTRAFLAGS  
 * [#4284](https://github.com/apache/incubator-nuttx/pull/4284) stm32_pmw: fix pwm_stop() function to enable multiple PWM start and stop  
 * [#4353](https://github.com/apache/incubator-nuttx/pull/4353) stm32/stm32_serial.c fix issue  
 * [#4244](https://github.com/apache/incubator-nuttx/pull/4244) STM32G4: add support for CORDIC math accelerator  
 * [#4437](https://github.com/apache/incubator-nuttx/pull/4437) stm32_serial.c: Don't fake 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  
 * [#4597](https://github.com/apache/incubator-nuttx/pull/4597) Add LCD backpack support for ESP32 (devkit-c).  

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

#### STM32F4

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

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

#### IMX6RISC-V 
 * [#3733#3846](https://github.com/apache/incubator-nuttx/pull/#37333846) imx6 elf support #3733  

#### IMXRT  risc-v/rv32m1: Basic port to rv32m1 ri5cy
 * [#4146](https://github.com/apache/incubator-nuttx/pull/4146) risc-v/bl602: add boardctl support
 * [#3982#3911](https://github.com/apache/incubator-nuttx/pull/#39823911) boards/arm/imxrt/teensy-4.x: added board level support for GPIO driverAdd i2c driver to PolarFire SoC and Icicle board
 * [#3929#3905](https://github.com/apache/incubator-nuttx/pull/#39293905) Added encoder support for Teensy 4.xAdd SPI driver to PolarFire SoC and Icicle board
 * [#3980#3933](https://github.com/apache/incubator-nuttx/pull/#39803933) FlexPWM support for iMXRT MCU   riscv/mpfs: add i2c reset handler
 * [#4581#3920](https://github.com/apache/incubator-nuttx/pull/#45813920) Fixedadd imxrtdma flexcansupport driverfor compilation error (incorrect variable scope)  

#### LPC17XX_40XX

#### NRF52

#### RP2040 PolarFire SoC
 * [#3917#4569](https://github.com/apache/incubator-nuttx/pull/#39174569) arm/rp2040:USB device controller support    MPFS emmcsd   

#### BL602
 * [#3857#4010](https://github.com/apache/incubator-nuttx/pull/#38574010) boards/bl602: rp2040: Add user gpio driver Fix uart_nx.c:419: undefined reference to `uart_bth4_register  

#### C906

#### ESP32-C3
 * [#3996#3794](https://github.com/apache/incubator-nuttx/pull/#3996)3794) risc-v/esp32c3: Support for Waveshare Pico-LCD-1.x module
  
#### S32K1XXESP32-C3 RTC driver  
 * [#4643#3883](https://github.com/apache/incubator-nuttx/pull/#46433883) S32K1xx archrisc-v/esp32c3: Add (optional) support for SPI native/hardware chip selectSupport ESP32-C3 RSA accelerator  
 * [#4634#3881](https://github.com/apache/incubator-nuttx/pull/#46343881) S32K1XX archrisc-v/esp32c3: gpioreadSupport may also be used for output pins  ESP32-C3 efuse   
 * [#4592#3935](https://github.com/apache/incubator-nuttx/pull/#45923935) S32K1XXrisc-v/esp32c3: AddSupport LPI2CESP32-C3 slaveSHA support  accelerator
 * [#4541#3882](https://github.com/apache/incubator-nuttx/pull/#45413882) S32K1XX EVB boards cleanup & update  riscv/esp32c3: Use the RTC memory as another heap.
 * [#4578#3945](https://github.com/apache/incubator-nuttx/pull/#45783945) S32K1XXEVB boards/esp32c3: FixAdd RGB LED output and add comments  romfs configuration
 * [#4533#3925](https://github.com/apache/incubator-nuttx/pull/#45333925) S32k1xxrisc-v/esp32-c3: addedAdds I2C PMpolled support  
 * [#4596#3823](https://github.com/apache/incubator-nuttx/pull/#45963823) S32K1XXrisc-v/esp32-c3: Add support for FlexIOHW registersflow control. 
 * [#4508#3822](https://github.com/apache/incubator-nuttx/pull/#4508) s32k1xx: added way to get the reset cause in a proc fs  

#### SAM34/pull/3822) ESP32-C3: Add DMA support for SPI Slave
 * [#3732#3543](https://github.com/apache/incubator-nuttx/pull/#37323543) boardfeat(esp32c3): AddSupport supportesp32c3 forble Adafruitfunction Circuit Express  
 * [#3840#3667](https://github.com/apache/incubator-nuttx/pull/#3840)3667) risc-v/esp32c3: Add ST7789 LCD controller support for SAMV71 XPlained Ultra board

#### STM32  
 * [#3944ESP32-C3 (G)DMA driver and testing  
 * [#4605](https://github.com/apache/incubator-nuttx/pull/#39444605) boards/arm/stm32/nucleo-f446re: added support for DAC driverrisc-v/esp32-c3: improvements and fix to esp32c3_rt_timer.c  
 * [#3880#4611](https://github.com/apache/incubator-nuttx/pull/#38804611) boards/arm/stm32/nucleo-f446reESP32-C3: addedAdd support for GPIO driver booting NuttX from MCUboot  
 * [#3909#3656](https://github.com/apache/incubator-nuttx/pull/#39093656) Added basic support for nucleo-g431kb board.risc-v/esp32-c3: Adds freerun wrapper 
 * [#3922#4574](https://github.com/apache/incubator-nuttx/pull/#39224574) esp32c3-devkit: AddsAdd PWMboard exampleprofile to nucleo-g431kb board. use LVGL on GC9A01 display  
 * [#3914#3810](https://github.com/apache/incubator-nuttx/pull/#39143810) boardsrisc-v/esp32c3: addedFix overwriting support for EMW3162 Wi-Fi boardof registered-but-disabled interrupts  
 * [#3878#3797](https://github.com/apache/incubator-nuttx/pull/#38783797) ESP32-C3: Add FOCSPI supportSlave for B-G431-ESC1 board   peripheral driver  
 * [#3637#4568](https://github.com/apache/incubator-nuttx/pull/#36374568) boards/arm/stm32/nucleo-f446reesp32c3: addedadd supportESP32C3 forLCD PWMdrivers  
 * [#3660#4553](https://github.com/apache/incubator-nuttx/pull/#36604553) stm32_pwmrisc-v/esp32c3: improvementsfix forpwm PULSECOUNTdriver supportbug  
 * [#4505#4500](https://github.com/apache/incubator-nuttx/pull/#4505) STM32 F4, F7, H7 USB OTG Device Ensure EP initialized to proper state on usb reset and configure  4500) risc-v/esp32-c3: refactor the Wi-Fi board logic.   
 * [#4589#3679](https://github.com/apache/incubator-nuttx/pull/#45893679) Fix stm32xx GPIO glitches from configuration bad order of operations  risc-v/esp32c3: Support ESP32-C3 PM standby and sleep  
 * [#4085#3766](https://github.com/apache/incubator-nuttx/pull/#40853766) stm32,stm32f7,stm32h7riscv/esp32c3: supportedAdd ETHESP32-C3 MACAES promiscuous modedriver  
 * [#4255#3750](https://github.com/apache/incubator-nuttx/pull/#42553750) STM32 DAC Driver - Add support to DAC3riscv/esp32c3: Support SPI Flash encryption read/write  
 * [#3796#3735](https://github.com/apache/incubator-nuttx/pull/#37963735) boards/arm/stm32/nucleo-f412zg/scripts/Make.defs: Replace EXTRADEFINES by EXTRAFLAGSriscv/esp32c3: Add ESP32-C3 ADC driver  
 * [#4284#3715](https://github.com/apache/incubator-nuttx/pull/#42843715) stm32_pmwrisc-v/esp32c3: fix pwm_stop() function to enable multiple PWM start and stopSupport ESP32-C3 auto-sleep  
 * [#4353#4239](https://github.com/apache/incubator-nuttx/pull/#43534239) stm32/stm32_serial.c fix issuerisc-v/esp32-c3: Adds systimer support and make rt_timer rely on it  
 * [#4244#3694](https://github.com/apache/incubator-nuttx/pull/#42443694) STM32G4risc-v/esp32c3: addAdd support for DMA transfers CORDICon mathSPI acceleratordriver  
 * [#4437#3697](https://github.com/apache/incubator-nuttx/pull/#44373697) stm32_serial.criscv/esp32c3: Don'tFix fakeRT atimer TXissues interrupt when interrupts are not suppressed
 * [#3863#3906](https://github.com/apache/incubator-nuttx/pull/#38633906) boards/arm/stm32/nucleo-f446re: fixed wrong qetimer config name  

#### STM32L4risc-v/esp32c3_wifi_adapter.c: Remove a config that's only used in Xtensa chips.   
 * [#4534#3701](https://github.com/apache/incubator-nuttx/pull/#45343701) STM32L4 LPUART support  

#### STM32F4

#### STM32F7 / STM32H7 
 * [#3646riscv/esp32c3: Add ESP32C3 LEDC(PWM) driver  
 * [#3854](https://github.com/apache/incubator-nuttx/pull/#36463854) boards/stm32f7ESP32-C3: AddSmall i2cclean andup mpu60x0on support to nucleo-144 and fix bitmask bug in mpu60x0  IRQ functions  
 * [#3650#4006](https://github.com/apache/incubator-nuttx/pull/#3650) stm32{H7|F7} Disables/Enabled4006) risc-v/esp32c3: Notifies networking layer whether the usecarrier of GPIO_OTG_ID pinis available  
 * [#3669#3788](https://github.com/apache/incubator-nuttx/pull/#36693788) STM32 {F7|H7} Use 250 Ms Data path timeout, regardless of Card Clock frequency ESP32-C3: Fix configuration of TX Burst support for GDMA  
 * [#3651#4040](https://github.com/apache/incubator-nuttx/pull/#36514040) Use inttypes in stm32{f7|h7}, Kinetis, s32k drivers.  risc-v/esp32c3: Fix some ESP32-C3 BLE driver issues 
 * [#4524#4082](https://github.com/apache/incubator-nuttx/pull/#45244082) stm32*7/stm32_serial.c: Don't fake a TX interrupt when interrupts are not suppressedboards/esp32c3-devkit: Support mounting SPI Flash MTD to littleFS  
 * [#4598#4075](https://github.com/apache/incubator-nuttx/pull/#45984075) stm32h7:DMA_TRBUFF is DMA_SCR_TRBUFF  

#### KINETISrisc-v/esp32c3: Add board_ioctl and board_uniqueid  
 * [#4190#4092](https://github.com/apache/incubator-nuttx/pull/#41904092) kinetis lpserial add RX DMA  

#### RISC-Vrisc-v/esp32c3: Use onexit to free thread private semaphore  
 * [#3846#3971](https://github.com/apache/incubator-nuttx/pull/#38463971) risc-v/rv32m1: Basic port to rv32m1 ri5cyboards/riscv/esp32c3: Rename the iram_0_2 segment to irom_0_0 to avoid confusions.  
 * [#4146#4141](https://github.com/apache/incubator-nuttx/pull/#41464141) risc-v/bl602: add boardctl supportesp32-c3: Use systimer 0 to RTOS TICK  
 * [#3911#3793](https://github.com/apache/incubator-nuttx/pull/#39113793) Add i2c driver to PolarFire SoC and Icicle boardesp32&esp32c3/wifi: Support specific channel and bssid scan  
 * [#3905#4162](https://github.com/apache/incubator-nuttx/pull/#39054162) Add SPI driver to PolarFire SoC and Icicle boardrisc-v/esp32c3: Fix some ESP32-C3 Wi-Fi driver issues 
 * [#3933#4169](https://github.com/apache/incubator-nuttx/pull/#39334169) riscv/mpfs: add i2c reset handlerrisc-v/esp32-c3: Makes output readable and rmv unnecessary var.  
 * [#3920#4314](https://github.com/apache/incubator-nuttx/pull/#39204314) add dmarisc-v/esp32-c3: Complete the support for PolarFireRWDT  SoC

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

#### C906

#### ESP32C3[Xtensa/RISC-V] Remove FAR and CODE qualifiers from arch-specific files  
 * [#3794#4187](https://github.com/apache/incubator-nuttx/pull/#3794) risc-v/esp32c3: Support ESP32-C3 RTC driver4187) Fix xtensa_btdump() to look at the exception frame  
 * [#3883#4556](https://github.com/apache/incubator-nuttx/pull/#38834556) risc-v/esp32c3: Support ESP32-C3 RSA acceleratorxtensa:backtrace: flush to stack when in interrupt  
 * [#3881#3939](https://github.com/apache/incubator-nuttx/pull/#38813939) risc-v/esp32c3: Support ESP32-C3 efuse  Fix xtensa  
 * [#3935#4531](https://github.com/apache/incubator-nuttx/pull/#39354531) risc-v/esp32c3: Support ESP32-C3 SHA acceleratorxtensa/irq.h: Fixes the routine that clears the processor interrupt  
 * [#3882#4278](https://github.com/apache/incubator-nuttx/pull/#38824278) riscvxtensa/esp32c3common: Use the RTC memory as another heap. save sp before overwriting in level2/3/4 handler and typo fix  
 * [#3945#4311](https://github.com/apache/incubator-nuttx/pull/#39454311) boards/esp32c3: Add romfs configurationxtensa:coproc: fix XTENSA_CP_ALLSET error in some case  
 * [#3925#3768](https://github.com/apache/incubator-nuttx/pull/#3925) risc-v/esp32-c3: Adds I2C polled support3768) xtensa: Fixes names of architecture serial functions  

#### ESP32
 * [#3823#3940](https://github.com/apache/incubator-nuttx/pull/#38233940) risc-vxtensa/esp32-c3: AddSupport supportESP32 for HW flow control. RTC driver
 * [#3822#4003](https://github.com/apache/incubator-nuttx/pull/#38224003) ESP32-C3xtensa/esp32: AddAdds DMA support for SPI SlaveSERIAL_TXDMA.
 * [#3543#3912](https://github.com/apache/incubator-nuttx/pull/#35433912) feat(esp32c3)xtensa/esp32: SupportAdds esp32c3I2C blepolled function support.
 * [#3667#3803](https://github.com/apache/incubator-nuttx/pull/#36673803) risc-v/esp32c3: AddAdd support to ESP32-C3 (G)DMA driverS2 and testing  ESP32S2-SAOLA-1 Board
 * [#4605#3824](https://github.com/apache/incubator-nuttx/pull/#46053824) risc-vxtensa/esp32-c3s2: improvementsAdd andsupport fixfor to esp32c3_rt_timer.c  serial HW flow control.
 * [#4611#4604](https://github.com/apache/incubator-nuttx/pull/#4611) ESP32-C3: Add support for booting NuttX from MCUboot4604) xtensa/esp32: Enable build system to download or build binaries from source  
 * [#3656#3642](https://github.com/apache/incubator-nuttx/pull/#36563642) risc-vxtensa/esp32-c3: Addsseveral freerunuart wrapper fixes
 * [#4574#3648](https://github.com/apache/incubator-nuttx/pull/#45743648) esp32c3-devkittools/esp32/mk_qemu_img.sh: AddRefactor boardthe profiledd tocommands. use LVGL on GC9A01 display  
 * [#3810#4625](https://github.com/apache/incubator-nuttx/pull/#38104625) riscesp32-vc3/esp32c3esp32-s2: Fix the overwritingsequence of registered-but-disabled interruptscommands to set the alarm value on rt timer.  
 * [#3797#4610](https://github.com/apache/incubator-nuttx/pull/#37974610) ESP32-C3S2: Add support for SPIbooting SlaveNuttX peripheralfrom driverMCUboot  
 * [#4568#3678](https://github.com/apache/incubator-nuttx/pull/#45683678) boardsxtensa/esp32c3esp32: add ESP32C3 LCD drivers  Support auto-sleep  
 * [#4553#4532](https://github.com/apache/incubator-nuttx/pull/#45534532) risc-v/esp32c3: fix pwm driver bugboards/esp32s2-saola-1: Add implementation for BOARDIOC_RESET interface  
 * [#4500#4275](https://github.com/apache/incubator-nuttx/pull/#45004275) risc-vxtensa/esp32-c3: refactorKeep track of the CPU where the Wi-Fiinterrupt boardwas logicattached.   
 * [#3679#4295](https://github.com/apache/incubator-nuttx/pull/#36794295) risc-vxtensa/esp32c3esp32: Support ESP32-C3 PM standby and sleepEnable boot from Espressif's port of MCUboot  
 * [#3766#4315](https://github.com/apache/incubator-nuttx/pull/#37664315) riscvxtensa/esp32c3esp32: AddFix ESP32-C3issues AESon driverRWDT  
 * [#3750#4366](https://github.com/apache/incubator-nuttx/pull/#37504366) riscvxtensa/esp32c3esp32: SupportUse SPIIRQ Flashto encryption readenable/writedisable interrupts 
 * [#3735#4427](https://github.com/apache/incubator-nuttx/pull/#37354427) riscv/esp32c3esp32/ttgo_lora_esp32: Add ESP32-C3 ADC driversupport to SSD1306 OLED display  
 * [#3715#4388](https://github.com/apache/incubator-nuttx/pull/#37154388) esp32: risc-v/esp32c3: Support ESP32-C3 auto-sleepRe-organize the interrupt handling process to correctly handle the SMP case  
 * [#4239#4401](https://github.com/apache/incubator-nuttx/pull/#42394401) risc-vxtensa/esp32-c3s2: Adds systimer support andto makethe rt_timer relydriver on it  
 * [#3694#4545](https://github.com/apache/incubator-nuttx/pull/#36944545) riscesp32-v/esp32c3wrover: Add support forto DMALCD1602 transferswith onI2C SPIBackpack driver  
 * [#3697#4587](https://github.com/apache/incubator-nuttx/pull/#36974587) riscvxtensa/esp32c3esp32-s2: FixAdds RTfreerun timer issueswrapper  
 * [#3906#4139](https://github.com/apache/incubator-nuttx/pull/#39064139) risc-v/esp32c3_wifi_adapter.cxtensa/esp32: RemoveFixes a config that's only used in Xtensa chipstermios issue.   
 * [#3701#4586](https://github.com/apache/incubator-nuttx/pull/#37014586) riscvxtensa/esp32c3esp32-s2: AddAdds ESP32C3 LEDC(PWM)oneshot device driver support  
 * [#3854#4570](https://github.com/apache/incubator-nuttx/pull/#38544570) ESP32-C3esp32_spiflash.c: SmallCorrectly cleandisable upAPP's on IRQ functions CPU cache. 
 * [#4006#4509](https://github.com/apache/incubator-nuttx/pull/#4006) risc-v/esp32c34509) esp32: NotifiesAdd networkinginitial layersupport whetherto theBluetooth carrierLow isEnergy available  
 * [#3788#4411](https://github.com/apache/incubator-nuttx/pull/#37884411) ESP32-C3: Fix configuration of TX Burst support for GDMAesp32/softap: Enable the WPA2 by default to ask user password  
 * [#4040#4412](https://github.com/apache/incubator-nuttx/pull/#40404412) risc-vboards/esp32c3esp32: FixAdd somebasic ESP32-C3support BLE driver issuesto TTGO-LoRa-SX1276-ESP32  
 * [#4082#4585](https://github.com/apache/incubator-nuttx/pull/#40824585) boardsxtensa/esp32c3esp32-devkits2: SupportAdds support mountingto SPIrt_timer Flashand MTDsystimer to littleFSESP32-S2.  
 * [#4075#4170](https://github.com/apache/incubator-nuttx/pull/#40754170) risc-vxtensa/esp32c3esp32: Add board_ioctlMake output readable and board_uniqueidrmv unnecessary var.  
 * [#4092#4195](https://github.com/apache/incubator-nuttx/pull/#40924195) risc-v/esp32c3: Use onexitesp32_allocateheap.c: Remove the amount reserved to freehimem threadfrom privatethe semaphoreheap.  
 * [#3971#4232](https://github.com/apache/incubator-nuttx/pull/#39714232) boardsxtensa/riscv/esp32c3esp32: RenameEnable the iram_0_2 segment to irom_0_0 to avoid confusions.  configuration of GPIO pad's drive strength  
 * [#4141#4240](https://github.com/apache/incubator-nuttx/pull/#41414240) risc-vxtensa/esp32-c3: Useexpose systimerSPI2 0as toa RTOSchar TICKdriver  
 * [#3793#4253](https://github.com/apache/incubator-nuttx/pull/#37934253) xtensa/esp32&esp32c3/wifi: Enable Supportthe allocation specificof channelmultiple andSPI bssidFlash scanpartitions  
 * [#4162#4338](https://github.com/apache/incubator-nuttx/pull/#41624338) risc-v/esp32c3: Fix some ESP32-C3 Wi-Fi driver issuestools/esp32/Config.mk: Allow ESPTOOL_BINDIR to be omitted when flashing the board 
 * [#4169#3938](https://github.com/apache/incubator-nuttx/pull/#41693938) risc-v/esp32-c3: Makes output readable and rmv unnecessary var.esp32&esp32c3/wifi: Fix the issues of Wi-Fi configuration being overwritten  
 * [#4314#3969](https://github.com/apache/incubator-nuttx/pull/#43143969) risc-vboards/esp32-c3: CompleteRefactor the support for RWDT  

#### XTENSAdifferent linker scripts and delete old OpenOCD config files.  
 * [#4590#3975](https://github.com/apache/incubator-nuttx/pull/#45903975) [Xtensa/RISC-V] Remove FAR and CODE qualifiers from arch-specific filesxtensa/esp32: Fix RTC WDT deinitialization on start routine  
 * [#4187#3987](https://github.com/apache/incubator-nuttx/pull/#41873987) Fix xtensa_btdump() to look at the exception frame  tools/esp32/backtrace.gdbscript: don't modify registers  
 * [#4556#4001](https://github.com/apache/incubator-nuttx/pull/#45564001) xtensa:backtrace/esp32: flushSupport to stack when in interruptselect different clock source for RTC controller and close TODOs.  
 * [#3939#4073](https://github.com/apache/incubator-nuttx/pull/#39394073) xtensa/esp32: Fix xtensa uart 2 issue.  
 * [#4531#3800](https://github.com/apache/incubator-nuttx/pull/#45313800) arch/xtensa/irq.h: Fixes the routine that clears the processor interrupt  esp32_emac.c: Call phy_enable_interrupt correctly.  
 * [#4278#4157](https://github.com/apache/incubator-nuttx/pull/#42784157) xtensaboards/commonesp32: saveRefactor spthe beforelinker overwritingscripts in level2/3/4 handler and typo fixinto the common directory.  
 * [#4311#4249](https://github.com/apache/incubator-nuttx/pull/#43114249) xtensa/esp32-s2:coproc: fix XTENSA_CP_ALLSET error in some caseAdds GPIO board logic to esp32s2-saola-1.  
 * [#3768#4471](https://github.com/apache/incubator-nuttx/pull/#37684471) xtensa/esp32: FixesWi-Fi namesboard oflogic architecturerefactoring. serial functions  

#### ESP32
 * [#3940#4497](https://github.com/apache/incubator-nuttx/pull/#39404497) xtensa/esp32_serial.c: Support ESP32 RTC driver Don't fake an interrupt when interrupts are not suppressed.  
 * [#4003#3829](https://github.com/apache/incubator-nuttx/pull/#40033829) xtensa/esp32: AddsFixes support for SERIAL_TXDMA. UART HW flow control  
 * [#3912#3943](https://github.com/apache/incubator-nuttx/pull/#39123943) xtensa/esp32: Adds I2C polled support. I2C Bit banging reset  
 * [#3803#3960](https://github.com/apache/incubator-nuttx/pull/#38033960) Add support to ESP32-S2 and ESP32S2-SAOLA-1 Boardxtensa/esp32: Refactor the text heap and add RTC memory to it   
 * [#3824#4646](https://github.com/apache/incubator-nuttx/pull/#3824) xtensa/esp32-s2: Add support for serial HW flow control.4646) Add example to use BLE and WiFi at same time  

## File System

### Bug Fixes 
 * [#4604#3653](https://github.com/apache/incubator-nuttx/pull/#46043653) xtensa/esp32fs:cromf EnableUse buildinttypes systemin to download or build binaries from source  printing macros  
 * [#3642#4573](https://github.com/apache/incubator-nuttx/pull/#36424573) xtensa/esp32: several uart fixesfs:procfs: add waiting_paging_fill state names  
 * [#3648#3745](https://github.com/apache/incubator-nuttx/pull/#36483745) toolsfs/esp32vfs/mk_qemu_img.sh: Refactor the dd commands.fs_select.c: Fix select() to return EINVAL when nfds is negative  
 * [#4625#3740](https://github.com/apache/incubator-nuttx/pull/#46253740) esp32-c3/esp32-s2fs/fat/fat32util.c: Fix thecalculation sequence of commandscurrent tosector setwith theinvalid alarmcl… value on rt timer.  
 * [#4610#3724](https://github.com/apache/incubator-nuttx/pull/#46103724) ESP32-S2: Add support for booting NuttX from MCUbootfs/hostfs: fix bug about getting error file size by fstat  
 * [#3678#3785](https://github.com/apache/incubator-nuttx/pull/#3678) xtensa/esp32: Support auto-sleep3785) FAT32 fix skipping sectors at computing the number of free clusters  
 * [#4532#4171](https://github.com/apache/incubator-nuttx/pull/#45324171) boards/esp32s2-saola-1fs/tmpfs: AddHandle implementationthe for BOARDIOC_RESET interfacetail '/' correctly  
 * [#4275#4539](https://github.com/apache/incubator-nuttx/pull/#42754539) xtensavfs/esp32poll: Keep trackcorrect of the CPUreturn whereevent theif interruptinode washas attached.closed  
 * [#4295#3760](https://github.com/apache/incubator-nuttx/pull/#42953760) xtensa/esp32: Enable boot from Espressif's port of MCUbootFix calculation of free clusters at mounting a fat partition  
 * [#4315#4012](https://github.com/apache/incubator-nuttx/pull/#43154012) xtensa/esp32fs: move Fixout issuesnx_close onfrom RWDTfilelock  
 * [#4366#3974](https://github.com/apache/incubator-nuttx/pull/#43663974) xtensafs/esp32tmpfs: Use IRQ to enable/disable interrupts Fix the memory corruption when reallocate tmpfs_directory_s  
 * [#4427#3986](https://github.com/apache/incubator-nuttx/pull/#44273986) esp32/ttgo_lora_esp32fs: Addnfs: supportReconnect to SSD1306 OLED displaythe NFS server in TCP mode  
 * [#4388#4031](https://github.com/apache/incubator-nuttx/pull/#43884031) esp32fs/fs_dup2: Re-organize the interrupt handling process to correctly handle the SMP case(sanity check )correct check before calling dup  
 * [#4401#4033](https://github.com/apache/incubator-nuttx/pull/#44014033) xtensafs/esp32-s2procfs: Addsadd StackAlloc supportfield tofor thetask timerstack driverinfo  
 * [#4545#4061](https://github.com/apache/incubator-nuttx/pull/#45454061) esp32-wrover: Add support to LCD1602 with I2C BackpackFAT32 kconfig entry to enforce computation of free clusters at mount  
 * [#4587#4079](https://github.com/apache/incubator-nuttx/pull/#45874079) xtensafs/esp32-s2procfs: Adds freerun timer wrapperlayout the output of meminfo correctly  
 * [#4139#4093](https://github.com/apache/incubator-nuttx/pull/#41394093) xtensa/esp32: Fixes termios issue.fs: Move the default ioctl handle from nx_vioctl to file_vioctl  
 * [#4586#4097](https://github.com/apache/incubator-nuttx/pull/#45864097) xtensa/esp32-s2fs: Adds oneshot device driver supportRemove the inernal st_count field from struct stat  
 * [#4570#4101](https://github.com/apache/incubator-nuttx/pull/#45704101) esp32_spiflash.c: Correctly disable APP's CPU cache.fs: pseudorename should call inode_release in the error path  
 * [#4509#4118](https://github.com/apache/incubator-nuttx/pull/#45094118) esp32: Add initial support to Bluetooth Low Energyfs: Support the root file system attributes(mode, uid, gid and time)  
 * [#4411#4119](https://github.com/apache/incubator-nuttx/pull/#44114119) esp32/softapfs: Enablefstat theshouldn't WPA2follow bythe default to ask user password  symbol link  
 * [#4412#4121](https://github.com/apache/incubator-nuttx/pull/#44124121) boards/esp32: Add basic support to TTGO-LoRa-SX1276-ESP32vfs: stat_recursive should return -ENOSYS if stat callback is NULL  
 * [#4585#4123](https://github.com/apache/incubator-nuttx/pull/#45854123) xtensa/esp32-s2nuttx: Adds support to rt_timer and systimer to ESP32-S2.littlefs_close should return value bugfix  
 * [#4170#4153](https://github.com/apache/incubator-nuttx/pull/#41704153) xtensa/esp32fs: MakeAdd outputfchstat readableand andchstat rmvcallback unnecessary var.into mountpt_operations  
 * [#4195#4165](https://github.com/apache/incubator-nuttx/pull/#41954165) esp32_allocateheap.cfs: Removeshould theonly amountapply reservedumask to himemthe from the heap.userspace caller  
 * [#4232#4174](https://github.com/apache/incubator-nuttx/pull/#42324174) xtensa/esp32: Enable configuration of GPIO pad's drive strength  Fix nfs and statfs  
 * [#4240#4193](https://github.com/apache/incubator-nuttx/pull/#42404193) xtensa/esp32: expose SPI2 as a char driverfs: Change off_t and related types to int64_t if long long is supported  
 * [#4253#4224](https://github.com/apache/incubator-nuttx/pull/#42534224) xtensafs/esp32inode: Enableadd thesanity allocationcheck offor multipleinode SPIto Flashavoid partitionsnullpointer  
 * [#4338#4263](https://github.com/apache/incubator-nuttx/pull/#43384263) tools/esp32/Config.mkfs: AllowSave ESPTOOL_BINDIRumask to be omitted when flashing the board tls_task_s for non kernel mode only  
 * [#3938#4300](https://github.com/apache/incubator-nuttx/pull/#39384300) esp32&esp32c3/wififs: FixAdd theutimens issues of Wi-Fi configuration being overwrittenand lutimens  
 * [#3969#4307](https://github.com/apache/incubator-nuttx/pull/#3969) boards/esp32: Refactor the different linker scripts4307) fs/userfs: Support fchstat and delete old OpenOCD config files.  chstat callback  
 * [#3975#4308](https://github.com/apache/incubator-nuttx/pull/#39754308) xtensafs/esp32unionfs: FixSupport RTCfchstat WDTand deinitialization on start routinechstat callback  
 * [#3987#4309](https://github.com/apache/incubator-nuttx/pull/#39874309) tools/esp32/backtrace.gdbscript: don't modify registersfs/nfs: Support fchstat and chstat callback  
 * [#4001#4330](https://github.com/apache/incubator-nuttx/pull/#40014330) xtensafs/esp32littlefs: Supportimprove tolittlefs selectflash differentblock clockerase sourcebalance forperformance RTC controller and close TODOs.  
 * [#4073#4332](https://github.com/apache/incubator-nuttx/pull/#40734332) xtensa/esp32fs: FixSupport uart64bit 2 issue.in register_[block|mtd]partition  
 * [#3800#4333](https://github.com/apache/incubator-nuttx/pull/#38004333) arch/xtensa/esp32_emac.cfs/partition: CallSupport phy_enable_interrupt correctly.BIOC_PARTINFO  
 * [#4157#4321](https://github.com/apache/incubator-nuttx/pull/#4157) boards/esp32: Refactor the linker scripts into the common directory.4321) fs: Remove endsector from partition_info_s  
 * [#4249#3680](https://github.com/apache/incubator-nuttx/pull/#42493680) xtensafs/esp32-s2: Adds GPIO board logic to esp32s2-saola-1.eventfd: add EVENT_FD_POLL as a Kconfig dependency for EVENT_FD_NPOLLWAITERS  
 * [#4471#4514](https://github.com/apache/incubator-nuttx/pull/#44714514) xtensafs/esp32ioctl: Wi-Fi board logic refactoring.using FIOC_FILEPATH instead of FIOC_FILENAME  
 * [#4497#4511](https://github.com/apache/incubator-nuttx/pull/#44974511) esp32inode_serial.cgetpath: Don't fake an interrupt when interrupts are not suppressed. correct get path whether path buffer is clean or not.   
 * [#3829#4276](https://github.com/apache/incubator-nuttx/pull/#38294276) xtensa/esp32: Fixes support for UART HW flow controlFix status register reading in ramtron_read()  
 * [#3943#4290](https://github.com/apache/incubator-nuttx/pull/#39434290) xtensacmd/esp32df: Fix Addsthe abnormal I2Coutput Bitafter bangingoff_t resetchange  
 * [#3960#4133](https://github.com/apache/incubator-nuttx/pull/#39604133) xtensa/esp32profs: RefactorPrint theStackAlloc text heap and add RTC memory to it  

#### TIVA

### **Minor Board Changes**

#### ARM  

#### CXD56  

#### Xtensa

## File System

### Bug Fixes

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


...