Skip to content

Commit a715389

Browse files
JuantAldeaegzumer
authored andcommitted
Add Doxygen configuration file and makefile target
It can be used to generate sometimes useful call-graphs.
1 parent 6f1cabc commit a715389

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ firmware
66
/compiled-firmware
77
.cache
88
compile_commands.json
9-
.vscode
9+
.vscode
10+
/docs

Doxyfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
OUTPUT_DIRECTORY = docs
2+
GENERATE_LATEX = NO
3+
GENERATE_RTF = NO
4+
GENERATE_MAN = NO
5+
OPTIMIZE_OUTPUT_FOR_C = YES
6+
HAVE_DOT = YES
7+
EXTRACT_ALL = YES
8+
EXTRACT_PRIVATE = YES
9+
EXTRACT_STATIC = YES
10+
CALL_GRAPH = YES
11+
CALLER_GRAPH = YES
12+
DISABLE_INDEX = YES
13+
GENERATE_TREEVIEW = YES
14+
RECURSIVE = YES
15+
COLLABORATION_GRAPH = YES
16+
GRAPHICAL_HIERARCHY = YES
17+
DOT_MULTI_TARGETS = YES

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ else # unix
178178
RM = rm -f
179179
FixPath = $1
180180
WHERE = which
181-
NULL_OUTPUT = /dev/null
181+
NULL_OUTPUT = /dev/null
182182
endif
183183

184184
AS = arm-none-eabi-gcc
@@ -441,3 +441,6 @@ bsp/dp32g030/%.h: hardware/dp32g030/%.def
441441

442442
clean:
443443
$(RM) $(call FixPath, $(TARGET).bin $(TARGET).packed.bin $(TARGET) $(OBJS) $(DEPS))
444+
445+
doxygen:
446+
doxygen

0 commit comments

Comments
 (0)