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

3
.gitignore vendored
View File

@ -6,4 +6,5 @@ firmware
/compiled-firmware
.cache
compile_commands.json
.vscode
.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

@ -178,7 +178,7 @@ else # unix
RM = rm -f
FixPath = $1
WHERE = which
NULL_OUTPUT = /dev/null
NULL_OUTPUT = /dev/null
endif
AS = arm-none-eabi-gcc
@ -441,3 +441,6 @@ bsp/dp32g030/%.h: hardware/dp32g030/%.def
clean:
$(RM) $(call FixPath, $(TARGET).bin $(TARGET).packed.bin $(TARGET) $(OBJS) $(DEPS))
doxygen:
doxygen