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
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)