Skip to content

smrtos/ZephyrIncludeMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZephyrIncludeMap

Header include map generator for Zephyr RTOS

This tool generates include map for a Zephyr C source file. The generation is based on C preprocessor result. So it is NOT necessarily exactly the same as what you see in C source file.

For example, a xxx.h file with include guard will not be included at a certain position if a previous yyy.h file has included it indirectly first. The include map will only show the xxx.h file under yyy.h.

In short, it reflects the final effecive result of the include hierarchy. But it is good enough, isn't it?

A sample command:

python3 GenIncludeMap2.py ~/sources/zephyrproject/zephyr/ ~/sources/zephyrproject/zephyr/bld4 ~/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc ~/sources/zephyrproject/zephyr/samples/drivers/uart/echo_bot/src/main.c

About

Header include map generator for Zephyr RTOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages