Re: NuttX for a critical system

2025-06-01 Thread Matteo Golin
Here's some new footage from yesterday's test, hoping to do one with real fire soon! https://www.linkedin.com/posts/matteo-golin-94118021b_im-very-proud-to-have-been-part-of-cu-inspaces-activity-7335063937069023232-eOEz?utm_source=social_share_send&utm_medium=android_app&rcm=ACoAADdgSUEBv1IgpgwHkj

RFC: fix race conditions in drivers/serial/serial.c

2025-06-01 Thread kr . git
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 is if the CPU made two non-atomic 8-bit accesses to obtain the 16-bit head index. This is what happens for (at least)