Skip to content
Commit bdc6587b authored by Georgij Cernysiov's avatar Georgij Cernysiov Committed by Erwan Gouriou
Browse files

scripts: genpinctrl: handle unsupported pindata gracefully



The latest STM32 Open Pin Data revision contains SoC descriptors that
are not handled properly by genpinctrl yet. These files are parsed
properly but trigger an exception during the pinctrl template rendering.

Add exception logic around template rendering so that problematic SoC files
are skipped - with an error message - instead of crashing the script, which
would otherwise prevent regeneration of DTSI for *all* SoCs.

This allows us to keep updating the pinctrl DTSI for supported SoCs
even when new SoCs requiring genpinctrl updates are added to Pin Data.

Co-authored-by: default avatarMathieu Choplain <mathieu.choplain@st.com>
Signed-off-by: default avatarGeorgij Cernysiov <geo.cgv@gmail.com>
parent ab85e244
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment