STM32F7xx hal_lld.h issue after "Fixed bug #913" Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
ych
Posts: 33
Joined: Tue Mar 03, 2015 11:38 pm
Has thanked: 7 times
Been thanked: 9 times

STM32F7xx hal_lld.h issue after "Fixed bug #913"  Topic is solved

Postby ych » Tue Mar 20, 2018 9:47 am

During "Fixed bug #913" (git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11345 35acf78f-673a-0410-8e92-d51de3d6d3f4) not all condition was properly updated, so the patch:

Code: Select all

diff --git a/os/hal/ports/STM32/STM32F7xx/hal_lld.h b/os/hal/ports/STM32/STM32F7xx/hal_lld.h
index 24498264e..47c91b62c 100644
--- a/os/hal/ports/STM32/STM32F7xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F7xx/hal_lld.h
@@ -1997,7 +1997,7 @@
  */
 #if (STM32_SDMMC1SEL == STM32_SDMMC1SEL_PLL48CLK) || defined(__DOXYGEN__)
 #define STM32_SDMMC1CLK              STM32_PLL48CLK
-#elif STM32_SDMMC1SEL == STM32_SDMMCSEL_SYSCLK
+#elif STM32_SDMMC1SEL == STM32_SDMMC1SEL_SYSCLK
 #define STM32_SDMMC1CLK              STM32_SYSCLK
 #else
 #error "invalid source selected for SDMMC1 clock"
@@ -2006,9 +2006,9 @@
 /**
  * @brief   SDMMC2 frequency.
  */
-#if (STM32_SDMMC2SEL == STM32_SDMMC1SEL_PLL48CLK) || defined(__DOXYGEN__)
+#if (STM32_SDMMC2SEL == STM32_SDMMC2SEL_PLL48CLK) || defined(__DOXYGEN__)
 #define STM32_SDMMC2CLK              STM32_PLL48CLK
-#elif STM32_SDMMC2SEL == STM32_SDMMCSEL_SYSCLK
+#elif STM32_SDMMC2SEL == STM32_SDMMC2SEL_SYSCLK
 #define STM32_SDMMC2CLK              STM32_SYSCLK
 #else
 #error "invalid source selected for SDMMC2 clock"

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: STM32F7xx hal_lld.h issue after "Fixed bug #913"

Postby Giovanni » Fri Mar 23, 2018 1:40 pm

Hi,

Fixed as bug #928.

Giovanni

ych
Posts: 33
Joined: Tue Mar 03, 2015 11:38 pm
Has thanked: 7 times
Been thanked: 9 times

Re: STM32F7xx hal_lld.h issue after "Fixed bug #913"

Postby ych » Fri Mar 23, 2018 10:40 pm

Aha, ok.
Is it better to create a bug in ChibiOS SourceForce project then on the forum?

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: STM32F7xx hal_lld.h issue after "Fixed bug #913"

Postby Giovanni » Sat Mar 24, 2018 2:45 pm

The forum is OK especially if it requires discussion, I create the ticket on the tracker anyway.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 11 guests