DocID026161 Rev 4
39/111
UM1743
How to create a new module
110
4.5
Module's direct open
If there is a need to launch the module directly from the file browser contextual menu, an
additional method should be added in the module structure for the direct open feature. This
callback is often named _ModuleName_DirectOpen.
is an example of how to open a file using the adequate module from the file
browser.
Figure 31. Direct open from file browser
In the STM32CubeF4 demonstration, there are three modules linked to the file browser
contextual menu:
•
The
video player
(1)
, supporting the format:
–
emf
•
The
image browser
, supporting the formats:
–
jpg
–
bmp
•
The
audio player
, supporting the format:
–
wav.
Then, to link the module to the file browser open menu, the command k_ModuleOpenLink()
is called after the module is added.
1. The video player is not supported by STM32446E-EVAL demonstration.