Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
7e820792
Commit
7e820792
authored
8 years ago
by
Damien George
Browse files
Options
Downloads
Patches
Plain Diff
stmhal: Updates to get F411 MCUs compiling with latest ST HAL.
parent
1f43d49f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
stmhal/main.c
+2
-2
2 additions, 2 deletions
stmhal/main.c
stmhal/mphalport.c
+2
-2
2 additions, 2 deletions
stmhal/mphalport.c
with
4 additions
and
4 deletions
stmhal/main.c
+
2
−
2
View file @
7e820792
...
@@ -372,9 +372,9 @@ int main(void) {
...
@@ -372,9 +372,9 @@ int main(void) {
// The STM32F746 doesn't really have CCM memory, but it does have DTCM,
// The STM32F746 doesn't really have CCM memory, but it does have DTCM,
// which behaves more or less like normal SRAM.
// which behaves more or less like normal SRAM.
__HAL_RCC_DTCMRAMEN_CLK_ENABLE
();
__HAL_RCC_DTCMRAMEN_CLK_ENABLE
();
#el
se
#el
if defined(CCMDATARAM_BASE)
// enable the CCM RAM
// enable the CCM RAM
__CCMDATARAMEN_CLK_ENABLE
();
__
HAL_RCC_
CCMDATARAMEN_CLK_ENABLE
();
#endif
#endif
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
stmhal/mphalport.c
+
2
−
2
View file @
7e820792
...
@@ -104,11 +104,11 @@ void mp_hal_gpio_clock_enable(GPIO_TypeDef *gpio) {
...
@@ -104,11 +104,11 @@ void mp_hal_gpio_clock_enable(GPIO_TypeDef *gpio) {
}
else
if
(
gpio
==
GPIOE
)
{
}
else
if
(
gpio
==
GPIOE
)
{
__GPIOE_CLK_ENABLE
();
__GPIOE_CLK_ENABLE
();
#endif
#endif
#ifdef
__GPIOF_CLK_ENABLE
#if
def
ined(GPIOF) && defined(
__GPIOF_CLK_ENABLE
)
}
else
if
(
gpio
==
GPIOF
)
{
}
else
if
(
gpio
==
GPIOF
)
{
__GPIOF_CLK_ENABLE
();
__GPIOF_CLK_ENABLE
();
#endif
#endif
#ifdef
__GPIOG_CLK_ENABLE
#if
def
ined(GPIOG) && defined(
__GPIOG_CLK_ENABLE
)
}
else
if
(
gpio
==
GPIOG
)
{
}
else
if
(
gpio
==
GPIOG
)
{
__GPIOG_CLK_ENABLE
();
__GPIOG_CLK_ENABLE
();
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment