Skip to content

Conversation

@dleach02
Copy link
Member

Set of tools and support functions for scrapping API and board information from the repository.

Zephyr Board scraper: Initial version of utility for scraping Zephyr board DTS information.
Zephyr API scraper: Initial version of utility for scraping tool to scrape the API structures defined in Zephyr Project.

Signed-off-by: David Leach [email protected]

@dleach02 dleach02 requested a review from kartben November 17, 2025 21:47
@dleach02
Copy link
Member Author

@kartben here are the tools I created to scrape some information from the repository.

  • Tool for extracting all the driver APIs. It attempts to identify mandatory and optional functions in the API
  • board scraping that does a simple walkthrough of the board dts file and all included dtsi files to find the compatibles supported by the board/SOC (without having to do a compile).
    • The DTS parsing probably can be pointed at a shield overlay to extract compatibles.
    • This script can also create an xsls file with tabs highlighting the enablement status of drivers and functions within the drivers.
    • Does not deal with overlays at the moment because I didn't need it for my current purposes

@dleach02 dleach02 force-pushed the zephyr_tools branch 10 times, most recently from 6ff1f62 to 65fa087 Compare November 25, 2025 01:37
Added:

- ZephyrDTSBindings parser
- ZephyrDTSCompats parser
- File iterator helper function
- API struct scanner
- ZephyrDriver info parser

Signed-off-by: David Leach <[email protected]>
Initial version of utility for scraping Zephyr board DTS information.

Signed-off-by: David Leach <[email protected]>
Initial version of utility for scraping tool to scrape the
API structures defined in Zephyr Project.

Signed-off-by: David Leach <[email protected]>
@dleach02 dleach02 force-pushed the zephyr_tools branch 2 times, most recently from dde6749 to eab1b35 Compare November 25, 2025 02:27
Initial version of utility for scraping Zephyr driver information.

Signed-off-by: David Leach <[email protected]>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant