Thomas Kirchner / Mbed 2 deprecated Nucleo_vs_Arduino_Speed_Test

Dependencies:   ST_401_84MHZ mbed

Revision:
0:525baf7de2db
diff -r 000000000000 -r 525baf7de2db benchmark.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmark.cpp	Mon Apr 28 00:38:52 2014 +0000
@@ -0,0 +1,16 @@
+#include "benchmark.h"
+#include "stm32f4xx_hal.h" 
+#include "ST_F401_84MHZ.h"  
+
+//The program will run first at the clock speed at which you have set your board 
+//and then switch to 84 MHz. Presumably your board is set to 84 MHz already.
+ 
+main(){
+    whetstone(0);
+    SystemClock_Config_84MHz_internal();                                     // Now speed up to 84 MHz
+    whetstone(84);
+    //linpack();
+    //dhrystone();
+    }
+    
+