nuttx
nuttx copied to clipboard
Apache NuttX is a mature, real-time embedded operating system (RTOS)
## Summary Check if all iov_base are inside accessible address space. e.g. ret = write(fd, NULL, 3); The iov.iov_base is NULL but iov.iov_len is NOT zero. [nuttx/fs/vfs/fs_write.c](https://github.com/apache/nuttx/blob/dd07367f4eeb5ebe785c601e84143cfaf6ad411a/fs/vfs/fs_write.c#L425-L432) Lines 425 to...
## Summary This PR fixes a couple of issues with the i.MX93 ethernet MAC driver preventing transmission in (at least) the EVK board. Prior configuration would allow receiving packets, but...
## Summary Silence format string warning by adding missing '%' sign. ## Impact RELEASE ## Testing CI
### Description / Steps to reproduce the issue I was getting this error after enabling CAN example on Bluepill (stm32f103-minimum board): LD: nuttx arm-none-eabi-ld: /home/alan/nuttxspace/nuttx/staging/libapps.a(can_main.c.home.alan.nuttxspace.apps.examples.can_1.o): in function `show_usage': can_main.c:(.text.show_usage+0x6): undefined...
## Summary While going through the code in drivers/serial/serial.c, I noticed this comment: The head and tail pointers are 16-bit values. The only time that the following could be unsafe...
## Summary mtd/mtd_rwbuffer.c:42: mtd/mtd_rwbuffer.c: In function 'mtd_erase': mtd/mtd_rwbuffer.c:189:9: warning: format '%zx' expects argument of type 'size_t', but argument 3 has type 'long long int' [-Wformat=] 189 | finfo("block: %08zx nsectors:...
## Summary if rpmsg triggers force flushing when the master core provides lower putc, characters will be duplicated caused by SYSLOG_DEFAULT also send the char to lower half. in this...
## Summary audio/audio_comp.c:958:14: warning: returning ‘int’ from a function with return type ‘struct audio_lowerhalf_s *’ makes pointer from integer without a cast [-Wint-conversion] 958 | return -EINVAL; | ^ ##...
## Summary This commit provided a better recursive spinlock implementation with less memory-overhead and better performance. E.g. **Memory-overhead**: 32 + 32(padding) + 64 + 32 = 160 bits decrease to...
This commit adds the lowerhalf driver support for the I2C Slave. While not currently ideal, it is compatible with the upperhalf i2c slave driver. A workqueue can be used to...