Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
7e820792
Commit
7e820792
authored
Nov 21, 2016
by
Damien George
Browse files
stmhal: Updates to get F411 MCUs compiling with latest ST HAL.
parent
1f43d49f
Changes
2
Hide whitespace changes
Inline
Side-by-side
stmhal/main.c
View file @
7e820792
...
...
@@ -372,9 +372,9 @@ int main(void) {
// The STM32F746 doesn't really have CCM memory, but it does have DTCM,
// which behaves more or less like normal SRAM.
__HAL_RCC_DTCMRAMEN_CLK_ENABLE
();
#el
se
#el
if defined(CCMDATARAM_BASE)
// enable the CCM RAM
__CCMDATARAMEN_CLK_ENABLE
();
__
HAL_RCC_
CCMDATARAMEN_CLK_ENABLE
();
#endif
#endif
...
...
stmhal/mphalport.c
View file @
7e820792
...
...
@@ -104,11 +104,11 @@ void mp_hal_gpio_clock_enable(GPIO_TypeDef *gpio) {
}
else
if
(
gpio
==
GPIOE
)
{
__GPIOE_CLK_ENABLE
();
#endif
#ifdef
__GPIOF_CLK_ENABLE
#if
def
ined(GPIOF) && defined(
__GPIOF_CLK_ENABLE
)
}
else
if
(
gpio
==
GPIOF
)
{
__GPIOF_CLK_ENABLE
();
#endif
#ifdef
__GPIOG_CLK_ENABLE
#if
def
ined(GPIOG) && defined(
__GPIOG_CLK_ENABLE
)
}
else
if
(
gpio
==
GPIOG
)
{
__GPIOG_CLK_ENABLE
();
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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