Fixed with HAL.

Fork of ST_L152_32MHZ by Peter Drescher

Not finish yet. External crystal doesn't work.

Revision:
3:1e82f1f333ad
Parent:
2:9e2ba1d93567
Child:
4:13f94218b838
--- a/ST_L152_32MHZ.cpp	Wed Mar 19 18:07:11 2014 +0000
+++ b/ST_L152_32MHZ.cpp	Tue Apr 08 17:17:56 2014 +0000
@@ -30,7 +30,7 @@
 {
     uint32_t PLLStartUpCounter = 0,PLLStatus = 0,error;
 
-
+    RCC_DeInit();  // we have to reset the clock settings !
 /* Enable 64-bit access */
     FLASH->ACR |= FLASH_ACR_ACC64;