Skip to content

STM32F745VET FMC address read fail #62841

Closed Answered by kookoo2997
kookoo2997 asked this question in Q&A
Discussion options

You must be logged in to vote

Finally I make it work, but I do not understand clearly why this works.

Here is what I did.

  1. Add CONFIG_USE_STM32_HAL_CORTEX and CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
diff --git a/soc/arm/st_stm32/stm32f7/Kconfig.series b/soc/arm/st_stm32/stm32f7/Kconfig.series
index 860aea7e..723a6ecf 100644
--- a/soc/arm/st_stm32/stm32f7/Kconfig.series
+++ b/soc/arm/st_stm32/stm32f7/Kconfig.series
@@ -12,6 +12,8 @@ config SOC_SERIES_STM32F7X
        select SOC_FAMILY_STM32
        select HAS_STM32CUBE
        select CPU_HAS_ARM_MPU
+       select USE_STM32_HAL_CORTEX
        select HAS_SWO
+       select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
        help
          Enable support for STM32F7 MCU series

I …

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@GeorgeCGV
Comment options

@kookoo2997
Comment options

Comment options

You must be logged in to vote
1 reply
@erwango
Comment options

erwango Oct 18, 2023
Collaborator

Answer selected by kookoo2997
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug The issue is a bug, or the PR is fixing a bug
3 participants
Converted from issue

This discussion was converted from issue #62839 on September 20, 2023 08:37.