Add Doxygen configuration file and makefile target

It can be used to generate sometimes useful call-graphs.
This commit is contained in:
Juan Antonio 2023-12-22 21:14:41 +01:00 committed by egzumer
parent 6f1cabc807
commit a715389a8b
3 changed files with 23 additions and 2 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ firmware
.cache
compile_commands.json
.vscode
/docs

17
Doxyfile Normal file
View File

@ -0,0 +1,17 @@
OUTPUT_DIRECTORY = docs
GENERATE_LATEX = NO
GENERATE_RTF = NO
GENERATE_MAN = NO
OPTIMIZE_OUTPUT_FOR_C = YES
HAVE_DOT = YES
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_STATIC = YES
CALL_GRAPH = YES
CALLER_GRAPH = YES
DISABLE_INDEX = YES
GENERATE_TREEVIEW = YES
RECURSIVE = YES
COLLABORATION_GRAPH = YES
GRAPHICAL_HIERARCHY = YES
DOT_MULTI_TARGETS = YES

View File

@ -441,3 +441,6 @@ bsp/dp32g030/%.h: hardware/dp32g030/%.def
clean:
$(RM) $(call FixPath, $(TARGET).bin $(TARGET).packed.bin $(TARGET) $(OBJS) $(DEPS))
doxygen:
doxygen