Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
STM32L4 : Fix GPIO G port compatibility #3780
Hello, thank you for your contribution.
Please apply the comment I have done. I think it is (at least one of) the reason why the travis build has failed.
Now there is a file at a higher level which enable the gpio clocks (targets/TARGET_STM/gpio_api.c)
The GPIOG_clock_enable() is now defined for targets which have a G port, but the function to activate the VDDIO2 power supply is still missing for targets who need it (at least all the STL32L476xx that have a G port)
(my modifications are the 4 lines starting with a "+")
What do you think of this @adustm ? Maybe all L4 need the VDDIO2 power supply for G port so it should be,
EDIT : I checked and the use of VDDIO2 to supply G port is common to all L4 family so I will insert a