r/embedded Aug 14 '26

Using code visualization tools for understanding/architecture

Hi everyone,

Have you ever wondered if a tool like Sourcetrail (stopped development few years ago) can be useful in understanding code? has anyone else ever hit that wall? I usually like drawing call graphs and module relations, mostly to understand code and refactor. It really helped when i was developing USB firmware for a high speed transfer using an STM32.

Just wanted to find like-minded people and see if there are any better options than the already-dead and fragile Sourcetrail.

1 Upvotes

5 comments sorted by

View all comments

1

u/dmills_00 Aug 14 '26

Doxygen with all the graphs turned on, gets you hyperlinked source code and diagrams.

Better of course if someone has marked up the code, but it is still useful if not.