From cb4dd0d23efbbaf3df00bde0b470a6890f88fd13 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Sat, 9 May 2009 15:48:02 -0400 Subject: [PATCH] reverting this file back to dumping the calibration section. --- tests/nvm-read.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/nvm-read.c b/tests/nvm-read.c index 44ed25a1e..54a912904 100644 --- a/tests/nvm-read.c +++ b/tests/nvm-read.c @@ -31,7 +31,7 @@ const uint8_t hex[16]={'0','1','2','3','4','5','6','7', #include "isr.h" -#define NBYTES 16 +#define NBYTES 1024 __attribute__ ((section ("startup"))) void main(void) { nvmType_t type=0; @@ -76,7 +76,7 @@ void main(void) { nvm_setsvar(0); - err = nvm_read(gNvmInternalInterface_c, type, (uint8_t *)buf, 0x1e000, NBYTES); + err = nvm_read(gNvmInternalInterface_c, type, (uint8_t *)buf, 0x1F000, NBYTES); puts("nvm_read returned: 0x"); put_hex(err); puts("\n\r");