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 1:b2b9d3920781, committed 2013-12-31
- Comitter:
- loopsva
- Date:
- Tue Dec 31 18:04:26 2013 +0000
- Parent:
- 0:947ff5fa24c6
- Commit message:
- Moved the memory test out of SDRAM initialization and into main() for user clarification.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Dec 31 17:38:48 2013 +0000
+++ b/main.cpp Tue Dec 31 18:04:26 2013 +0000
@@ -72,9 +72,6 @@
free(ptr[i]);
}
alloccount = 0;
- uint32_t StartSeed = 0xbad1deaf;
- int testresult = testSDRAM(StartSeed);
- if(testresult) return(testresult);
break;
} else {
alloccount++ ;
@@ -91,6 +88,9 @@
pc.baud(460800);
pc.printf("\r\n\r\nLPC4088 SDRAM memory test\r\n");
initSDRAM();
+
+ uint32_t StartSeed = 0xbad1deaf;
+ int testresult = testSDRAM(StartSeed);
while(1) {
wait_ms(500);