Reversed switch for STM32F4 revision A workaround, now the fix is included by default.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9355 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
36786ebeea
commit
feff330174
|
@ -249,7 +249,7 @@ void stm32_clock_init(void) {
|
|||
STM32_HPRE;
|
||||
|
||||
/* Flash setup.*/
|
||||
#if defined(STM32_USE_REVISION_A_FIX)
|
||||
#if !defined(STM32_REMOVE_REVISION_A_FIX)
|
||||
/* Some old revisions of F4x MCUs randomly crashes with compiler
|
||||
optimizations enabled AND flash caches enabled. */
|
||||
if ((DBGMCU->IDCODE == 0x20006411) && (SCB->CPUID == 0x410FC241))
|
||||
|
|
Loading…
Reference in New Issue