Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ST_401_84MHZ mbed
Diff: benchmark.cpp
- 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();
+ }
+
+