Doxygen for * .ino files (Arduino)

I would like to use Doxygen to document my Arduino code. To do this, I need the * .ino files in my project to be processed as * .c files and analyzed by the C-code parser in Doxygen. I think there was a somwhere parameter for this mapping, but I can no longer find it.

My settings:

FILE_PATTERNS          = [...] *.ino
+4
source share
1 answer

Oh, I think I already found an option. It is located in the "Project" section of the doxywizard, "EXTENSION_MAPPING". Here are the options that now work for me:

FILE_PATTERNS = [...] *.ino
EXTENSION_MAPPING = ino=c

And the tag that gets me every time: A file tag must be added to the top of the file, otherwise Doxygen is ignored. For instance:

/**@file sketch_1.ino */
+5
source

Source: https://habr.com/ru/post/1629522/


All Articles