cancel
Showing results for 
Search instead for 
Did you mean: 

Missing pinctrl in device tree for STM32CubeMX 6.13.0 + STM32MP157D (custom board)

james-cc
Visitor

We're moving to the latest scarthgap release (v24.11.06) of the ST distro (building from yocto).  We have a custom board.

Generating the device tree from STM32CubeMX 6.13.0 no longer seems to define the pinctrl settings in the device tree?

I clicked the option to migrate the .ioc file.

Apart from a few whitespace changes, the device tree differs only in terms of missing pinctrl configuration.  This doesn't seem right to me, I don't see where else that is being defined and will be required for our pin muxing.  The STM32M4 firmware base code also output is missing configuration for the GPIO?

Why are there no Pinctrl definitions any more?  Is there a configuration, or is STM32CubeMX broken?  I've reinstalled it and the packages.

(we migrated .ioc file and regenerated the device tree successfully several times for mickledore)

1 REPLY 1
james-cc
Visitor

Interestingly starting CubeMX with the STM32MP157F-DK2 board config produces a device tree with pinctrl settings.