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.
Revision 2:5344c9a43a9e, committed 2017-01-04
- Comitter:
- JovanEps
- Date:
- Wed Jan 04 13:56:34 2017 +0000
- Parent:
- 1:be78b18b8347
- Commit message:
- Final Whetstone Bench
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Jan 02 02:55:50 2017 +0000
+++ b/main.cpp Wed Jan 04 13:56:34 2017 +0000
@@ -1,6 +1,9 @@
//********************************************************
-//** Nucleo-144 Stm32F746 and Stm32F767 benchmark ******
-//** Jovan Ivkovic - 2016 ******
+//** Whetstone benchmark DP for ARM Cx-M7 ******
+//** ST Nucleo-144 Stm32F746 and Stm32F767 ******
+//** Whetstone benchmark DP ******
+//** Jovan Ivkovic 2016. ******
+//** JovanEps (jovan.eps@gmail.com). ******
//********************************************************
#include "mbed.h"
DigitalOut myled(LED1);
@@ -43,7 +46,7 @@
//************************************
int Whetstone() // ------------ Metoda -----------
{
- pc.baud(115200);
+ pc.baud(57600);
pc.printf("Beginning Whetstone benchmark at ");
pc.printf("default 216 MHz ...\n");
@@ -410,15 +413,16 @@
int main()
{
int rez=0;
- printf("\n My Benchamrk example for Whetstones \n");
+ printf("\n My Benchmark example for Whetstones \n");
while(1)
{
myled=1-rez;
- rez = Whetstone(); //Call of Whetstone banch metod
+ rez = Whetstone(); //Call of Whetstone banchmark methode
myled=1-rez;
wait_us(0.3);
}
+ pc.close();
}
\ No newline at end of file