Skip to content

Unrelated module additions breaking zephyr-cp #10415

Open
@hierophect

Description

@hierophect

Currently, the addition of any new module to shared-bindings will cause a CI error on all boards in ports/zephyr-cp, even if the module is not enabled for any of those boards:

ERROR:__main__:autogen_board_info.toml is out of date.

This is because the autogenerated file autogen_board_info.toml lists every module in Circuitpython with their enabled/disabled status, but is not autogenerated during the CI process. Currently, fixing this issue requires either installing zephyr and rebuilding each board to regenerate the files properly (even if the module is unrelated to zephyr and the author has no familiarity with it), or manually editing each file, which is explicitly forbidden in the file comments.

This should probably be reworked to either have the file regenerate during the CI process, or prevent this error from occuring for modules that are not enabled for zephyr in some other way.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions