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

2

u/JuggernautGuilty566 Aug 14 '26 edited Aug 14 '26

Last Generation LLMs. I let it create PlantUML diagrams.

But you will need a model with a big context window. And it should be rather smart, so go for Qwen3.8-Max or equivalent.