reverting this file back to dumping the calibration section.
This commit is contained in:
parent
d47aa338ec
commit
cb4dd0d23e
|
@ -31,7 +31,7 @@ const uint8_t hex[16]={'0','1','2','3','4','5','6','7',
|
||||||
|
|
||||||
#include "isr.h"
|
#include "isr.h"
|
||||||
|
|
||||||
#define NBYTES 16
|
#define NBYTES 1024
|
||||||
__attribute__ ((section ("startup")))
|
__attribute__ ((section ("startup")))
|
||||||
void main(void) {
|
void main(void) {
|
||||||
nvmType_t type=0;
|
nvmType_t type=0;
|
||||||
|
@ -76,7 +76,7 @@ void main(void) {
|
||||||
|
|
||||||
nvm_setsvar(0);
|
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");
|
puts("nvm_read returned: 0x");
|
||||||
put_hex(err);
|
put_hex(err);
|
||||||
puts("\n\r");
|
puts("\n\r");
|
||||||
|
|
Loading…
Reference in a new issue