I am using a clone of the /configs/nucleo-144 set of board specific files.
The SD-card is working great. I get messages when a sd-card is inserted and removed. The sd-card's registers are read and displayed via info level debug output.
So, the card detect interrupt mechanism is working. But, I have not gotten the interface to the file system automounter to work.
I attempted to follow the instructions at
http://nuttx.org/doku.php?id=wiki:howtos:automounter .
The key piece that I think I am missing is "Where to place the stm32_automount_event() function call?"
The nucleo-144 board files are structured differently than clicker2 and sama5d4-ek (examples using automount).
My best guess is that it should be placed in the /configs/nucleo-144/src/stm32_sdio.c:stm32_sdio_initialize(void) function. But the
SDIO_REGISTERCALLBACK and SDIO_CALLBACKENABLE functions also seem like a viable candidate for linking to media changes to
the automounter.
How should this a board structured like the nucleo-144 be interfaced with the file system automounter?