Hi everyone, I am working on a NuttX application that will run on a board that has a user-accessible SD card.
The user may insert or remove the card during runtime, so I am using the NuttX automounter. The automounter works nicely, mounting and unmounting the card when it is inserted/removed. However, I am looking for a way to inform the rest of the system about the (un)mount event. This is needed because: 1. If the SD card is present during system boot, the application initialization has to wait for it to be properly mounted before proceeding. 2. If the card is inserted during the system operation, the application has to read some files from the card, once inserted. Unfortunately, I cannot see any proper way to achieve this. Any suggestions?