When checking "Set all free pins as analog ( to optimize the power consumption )" a previously not clocked GPIO port is clocked. Wouldn't the optimal setting be not to start any unused GPIO ports ?STM32CubeMX 4.99.7-D25STM32L4xx
Danish,Yes, my thought was really if the auto-generated code did the right thing. I like your idea to turn off the clock after the configuration. Thank you!Best regardsH