Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
aa534963
Commit
aa534963
authored
Jan 11, 2017
by
Dave Hylands
Committed by
Damien George
Jan 12, 2017
Browse files
stmhal: Support PortG on STM32L476 and STM32L486.
parent
e45035db
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/mphalport.c
View file @
aa534963
...
...
@@ -110,6 +110,10 @@ void mp_hal_gpio_clock_enable(GPIO_TypeDef *gpio) {
#endif
#if defined(GPIOG) && defined(__GPIOG_CLK_ENABLE)
}
else
if
(
gpio
==
GPIOG
)
{
#if defined(STM32L476xx) || defined(STM32L486xx)
// Port G pins 2 thru 15 are powered using VddIO2 on these MCUs.
HAL_PWREx_EnableVddIO2
();
#endif
__GPIOG_CLK_ENABLE
();
#endif
#ifdef __GPIOH_CLK_ENABLE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment