Versions Compared

Key

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

...

Boards With Improvements

Markdown

File System

improvements

Markdown
* [#11841#11765](https://github.com/apache/nuttx/pull/1184111765) fsboards: enhance file_allocate_from_tcb() mulit-threads saftey & remove memcpy when close the fdEnhance board/board.mk compilation capabilities
* [#11896#11499](https://github.com/apache/nuttx/pull/1189611499) fsboards: revise commentsAdd CONFIG_LIBC_EXECFUNCS and CONFIG_PSEUDOTERM hardento nx_mount logicadb config

* [#11892#11626](https://github.com/apache/nuttx/pull/1189211626) fsboards/arm/drivercxd56xx: usingAdd nx_unlinkgeoid to callcxd5610 unlink ops to release some resourcegnss driver
* [#11723#11652](https://github.com/apache/nuttx/pull/1172311652) fsboards/arm/fatcxd56xx: fs_fat32: fix default return value of fat_ioctl().Fix the modem reset sequence
* [#11850#11793](https://github.com/apache/nuttx/pull/1185011793) fsboards/arm/inodespresense: addAdd pre-allocatedreset taskcontrol fileson toBLE1507 avoid allocator accessAdd-on board

* [#11958#11531](https://github.com/apache/nuttx/pull/1195811531) fs/inodeboards/arm/sama5d3-xplained: replaceAdd someUSB global variables to macromouse initialization.

* [#11729#11614](https://github.com/apache/nuttx/pull/1172911614) fs/littlefs: Add to get the full pathboards/arm/{nrf52840-dk| nrf52840-dk}: use TIMER1 as hardware timer
* [#11680#11704](https://github.com/apache/nuttx/pull/1168011704) fs/mountboards/arm/nrf{52|53|91}/common: add FS_RPMSGFS as cause of NODFS_SUPPORTreset logic

* [#11540#11658](https://github.com/apache/nuttx/pull/1154011658) fs/partition: fs_mbr: fix for MBR block count calculation.boards/arm/qemu-armv8a: Add nxrecorder to defconfigs

* [#11927](https://github.com/apache/nuttx/pull/11927) boards/arm/rp2040: Implement board_uniqueid()
* [#11776#11717](https://github.com/apache/nuttx/pull/1177611717) fs/procfsboards/arm/rp2040/raspberrypi-pico: addAdd buildautoleds configand to /proc/versionuserleds support
* [#11550#11978](https://github.com/apache/nuttx/pull/1155011978) fs/romfsboards/arm/rp2040/raspberrypi-pico: Move rn_child/rn_count before rn_namesizeAdd buttons support example

* [#11629#11623](https://github.com/apache/nuttx/pull/1162911623) fsboards/arm/shmfs: Fix CONFIG_FS_SHM -> CONFIG_FS_SHMFSg32f4: modified the execution logic of the board_late_initialize(),bringup().
* [#11634#11642](https://github.com/apache/nuttx/pull/1163411642) fs/shmfsboards/arm/stm32_bbsram.c: Fixfix stat()some systembuild callerror forwhen shmfsenable objectBBSRAM
* [#11635#11926](https://github.com/apache/nuttx/pull/1163511926) fs/shmfs: Fix shmfs_truncateboards/arm/stm32/stm32f429i-disco add CAN driver support
* [#11647#11500](https://github.com/apache/nuttx/pull/1164711500) fs/vfatboards/arm/stm32f40/stm32f401rc-rs485: FixAdd typo in the macro DIRSEC_BYTENDXrs-485 support
* [#11724#11828](https://github.com/apache/nuttx/pull/1172411828) fs/vfs: Implement Filelock

Networking

Improvements

Markdown
boards/arm/stm32f40/stm32f401rc-rs485: Add support to ADC
* [#11495#11882](https://github.com/apache/nuttx/pull/1149511882) netboards/arm/stm32f40/stm32f401rc-rs485: addAdd support for multi PHY and optionally use it on imxrtto PWM/DAC
* [#11759#11929](https://github.com/apache/nuttx/pull/1175911929) net: Fix minor coding problemsboards/arm/stm32f40/stm32f401rc-rs485: Add support to Quadrature Encoder
* [#11492#11708](https://github.com/apache/nuttx/pull/1149211708) netboards/arm/stm32f40/stm32f401rc-rs485: OnlyAdd callUSB arp_send for PF_INET and icmpv6_neighbor for PF_INET6console support
* [#11491#11766](https://github.com/apache/nuttx/pull/1149111766) net/canboards/arm/stm32f40/stm32f401rc-rs485: Release IOB when failedAdd support to queueLM75 in datahandlersensor
* [#11856#11682](https://github.com/apache/nuttx/pull/1185611682) net/localboards/arm/stm32f40/stm32f401rc-rs485: FixAdd thers-485 minormaster issuemode foundconfiguration
* [#11480#11784](https://github.com/apache/nuttx/pull/1148011784) net/local: local_sendmsg: fix peer->lc_cfps[] array out-of-range writeboards/arm/stm32f40/stm32f411-minimum: remove non existing include in Kconfig
* [#11804#11698](https://github.com/apache/nuttx/pull/1180411698) net/local: Minor local socket improvementboards/arm/stm32h7/linum-stm32h753bi: add modbus master using uart6
* [#11653#11768](https://github.com/apache/nuttx/pull/1165311768) net/natboards/arm/stm32h7/linum-stm32h753bi: FixAdd ICMPUSB Errorconsole MSG Processingsupport
* [#11744#11505](https://github.com/apache/nuttx/pull/1174411505) net/pkt: Support binding to devices other than ETHboards/arm/stm32h7/nucleo-h745zi/stm32_bringup.c: the cpuname should be the remote cpu name
* [#11509#11669](https://github.com/apache/nuttx/pull/1150911669) net/routeboards/arm/stm32h7/nucleo-h743zi2: Supportpysim longest prefix match for routingModified CONFIG_INIT_STACKSIZE to 2048
* [#11649#11501](https://github.com/apache/nuttx/pull/1164911501) net/rpmsgsockboards/arm/stm32h7/nucleo-l432kc: Rename rpmsg_socket_getconnname to rpmsg_socket_getpeernameFix board configuration for USART2
* [#11578#11681](https://github.com/apache/nuttx/pull/1157811681) net/support to ARP Address Conflict Detectionboards/arm/stm32h7/STM32-H745 files for pysimCoder

* [#11909#11679](https://github.com/apache/nuttx/pull/1190911679) net/tcpboards/arm/xmc4/xmc4800-relax: returnbuild truexmc4800-relax only when send window updatesusing CMake
* [#11910#11659](https://github.com/apache/nuttx/pull/11659) boards/arm/xmc4/11910) net/tun: in tun_write, try to release iob before iob_prepare
* [#11639](https://github.com/apache/nuttx/pull/11639) net/udp: Fix source address selection under IPv6

Security Issues Fixed In This Release

Compatibility Concerns

Changes to Build System

...

xmc4800-relax: Add EtherCAT support on xmc4800-relax

* [#11797](https://github.com/apache/nuttx/pull/11797) boards/arm64: SMP: fix crash when switch to new task which is still running
* [#11479](https://github.com/apache/nuttx/pull/11479) boards/arm64/qemu/qemu_bringup: add tmp fs mount for qemu-armv8a

* [#11668](https://github.com/apache/nuttx/pull/11668) boards/avr/avr32dev1: Fix compilation and nsh boot-up

* [#11867](https://github.com/apache/nuttx/pull/11867) boards/intel64: move PCI initialization back to board logic
* [#11781](https://github.com/apache/nuttx/pull/11781) boards/intel64: qemu-intel64: add .note.gnu.* to linker script

* [#11465](https://github.com/apache/nuttx/pull/11465) boards/risc-v/k230: adding kernel build for CanMV-K230 device
* [#11851](https://github.com/apache/nuttx/pull/11851) boards/risc-v/k230: remove unnecessary ARCH_LAZYFPU from defconfigs
* [#11489](https://github.com/apache/nuttx/pull/11489) boards/risc-v/k230: revise CanMV230 kernel build support
* [#11631](https://github.com/apache/nuttx/pull/11631) boarsd/risc-v/qemu: Use ROMFS image to load user applications in kernel mode and update rv-virt board documentation
* [#11660](https://github.com/apache/nuttx/pull/11660) boards/risc-v/rv-virt: Add nxrecorder to defconfigs
* [#11587](https://github.com/apache/nuttx/pull/11587) boards/risc-v/rv-virt: Fix the hello app crash with nsh64
* [#11633](https://github.com/apache/nuttx/pull/11633) boarsd/risc-v/rv-virt: Guard mount point for procfs/tmpfs
* [#11576](https://github.com/apache/nuttx/pull/11576) boards/risc-v/rv-virt/configs: avoid build errors with cmake or stock gcc 10.2

* [#11842](https://github.com/apache/nuttx/pull/11842) boards/xtensa/esp32: Increase init task stack size to 3072
* [#11895](https://github.com/apache/nuttx/pull/11895) boards/xtensa/esp32: ESP32 opencores network driver for QEMU
* [#11725](https://github.com/apache/nuttx/pull/11725) boards/xtensa/esp32-sparrow-kit: Add I2S support for the board's microphone
* [#11636](https://github.com/apache/nuttx/pull/11636) boards/xtensa/esp32/dac-one-shot: lower-half driver for ESP32 internal DAC
* [#11844](https://github.com/apache/nuttx/pull/11844) boards/xtensa/esp32c6: Remove sotest config for esp32c6

File System

improvements

Markdown
* [#11841](https://github.com/apache/nuttx/pull/11841) fs: enhance file_allocate_from_tcb() mulit-threads saftey & remove memcpy when close the fd
* [#11896](https://github.com/apache/nuttx/pull/11896) fs: revise comments and harden nx_mount logic
* [#11892](https://github.com/apache/nuttx/pull/11892) fs/driver: using nx_unlink to call unlink ops to release some resource
* [#11723](https://github.com/apache/nuttx/pull/11723) fs/fat: fs_fat32: fix default return value of fat_ioctl().
* [#11850](https://github.com/apache/nuttx/pull/11850) fs/inode: add pre-allocated task files to avoid allocator access
* [#11958](https://github.com/apache/nuttx/pull/11958) fs/inode: replace some global variables to macro
* [#11729](https://github.com/apache/nuttx/pull/11729) fs/littlefs: Add to get the full path
* [#11680](https://github.com/apache/nuttx/pull/11680) fs/mount: add FS_RPMSGFS as cause of NODFS_SUPPORT
* [#11540](https://github.com/apache/nuttx/pull/11540) fs/partition: fs_mbr: fix for MBR block count calculation.
* [#11776](https://github.com/apache/nuttx/pull/11776) fs/procfs: add build config to /proc/version
* [#11550](https://github.com/apache/nuttx/pull/11550) fs/romfs: Move rn_child/rn_count before rn_namesize
* [#11629](https://github.com/apache/nuttx/pull/11629) fs/shmfs: Fix CONFIG_FS_SHM -> CONFIG_FS_SHMFS
* [#11634](https://github.com/apache/nuttx/pull/11634) fs/shmfs: Fix stat() system call for shmfs object
* [#11635](https://github.com/apache/nuttx/pull/11635) fs/shmfs: Fix shmfs_truncate
* [#11647](https://github.com/apache/nuttx/pull/11647) fs/vfat: Fix typo in the macro DIRSEC_BYTENDX
* [#11724](https://github.com/apache/nuttx/pull/11724) fs/vfs: Implement Filelock

Networking

Improvements

Markdown
* [#11495](https://github.com/apache/nuttx/pull/11495) net: add support for multi PHY and optionally use it on imxrt
* [#11759](https://github.com/apache/nuttx/pull/11759) net: Fix minor coding problems
* [#11492](https://github.com/apache/nuttx/pull/11492) net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6
* [#11491](https://github.com/apache/nuttx/pull/11491) net/can: Release IOB when failed to queue in datahandler
* [#11856](https://github.com/apache/nuttx/pull/11856) net/local: Fix the minor issue found
* [#11480](https://github.com/apache/nuttx/pull/11480) net/local: local_sendmsg: fix peer->lc_cfps[] array out-of-range write
* [#11804](https://github.com/apache/nuttx/pull/11804) net/local: Minor local socket improvement
* [#11653](https://github.com/apache/nuttx/pull/11653) net/nat: Fix ICMP Error MSG Processing
* [#11744](https://github.com/apache/nuttx/pull/11744) net/pkt: Support binding to devices other than ETH
* [#11509](https://github.com/apache/nuttx/pull/11509) net/route: Support longest prefix match for routing
* [#11649](https://github.com/apache/nuttx/pull/11649) net/rpmsgsock: Rename rpmsg_socket_getconnname to rpmsg_socket_getpeername
* [#11578](https://github.com/apache/nuttx/pull/11578) net/support to ARP Address Conflict Detection
* [#11909](https://github.com/apache/nuttx/pull/11909) net/tcp: return true only when send window updates
* [#11910](https://github.com/apache/nuttx/pull/11910) net/tun: in tun_write, try to release iob before iob_prepare
* [#11639](https://github.com/apache/nuttx/pull/11639) net/udp: Fix source address selection under IPv6

Security Issues Fixed In This Release

Compatibility Concerns


Markdown
* [#11498](https://github.com/apache/nuttx/pull/11498) sched: move etc romfs mount from nsh to sched/init


Usually the startup script is placed under /etc. The contents of the etc directory are compiled and linked with Nuttx binary in the form of romfs. After startup, it will be mounted by Nsh.

etc is generated by the different boards, that use genromfs and xxd tools to generate and compile it into the Nuttx, for example: boards/arm/at32/at32f437-mini/tool/mkromfs.sh
The more common method is etc image generated from the content in the corresponding board/arch/board/board/src/etc directory, and added by Makefile for example: boards/sim/sim/sim/src/etc.

But in kernel/protected mode, Nuttx kernel and apps are run in different privileged/non-privileged mode or the isolated binarys, so as that nsh should use syscall to access Nuttx kernel by exported API. In this scenario, nsh can not mount the etc image content, because that is generated in board and as a part of Nuttx kernel.

changes:

move etc romfs mount from nsh to Nuttx, but keep the script to parse and execute.
move and rename the related CONFIG, move customized nsh_romfsimg.h to etc_romfs.c in boards, and no need declaration for romfs_img/romfs_img_len.

This commit changes and updates all configurations in Nuttx arch/board as much as possible,
but if any missing, please refer to the following simple guide:

rename CONFIG_NSH_ROMFSETC to CONFIG_ETC_ROMFS, and delete CONFIG_NSH_ARCHROMFS in defconfig
rename the etc romfs mount configs, for example CONFIG_NSH_FATDEVNO to CONFIG_ETC_FATDEVNO
move customized nsh_romfsimg.h to etc_romfs.c in board/arch/board/board/src and no need declaration for romfs_img/romfs_img_len.
delete default nsh_romfsimg.h, if ROMFSETC is enabled, should generate and compile etc_romfs.c in board/arch/board/board/src.

Known Problems In This Release

...

The main "Single Source of Truth" repositories are hosted by the ASF:

These are synchronized with repositories hosted at GitHub:

...