mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/periph_flashpage: print config page offset
This commit is contained in:
parent
fee3a8540f
commit
4e1ee2253f
@ -542,9 +542,9 @@ static int cmd_dump_config(int argc, char **argv)
|
||||
(void) argv;
|
||||
|
||||
#ifdef FLASH_USER_PAGE_SIZE
|
||||
od_hex_dump((void*)NVMCTRL_USER, FLASH_USER_PAGE_SIZE, 0);
|
||||
od_hex_dump_ext((void*)NVMCTRL_USER, FLASH_USER_PAGE_SIZE, 0, NVMCTRL_USER);
|
||||
#else
|
||||
od_hex_dump((void*)NVMCTRL_USER, AUX_PAGE_SIZE * AUX_NB_OF_PAGES, 0);
|
||||
od_hex_dump_ext((void*)NVMCTRL_USER, AUX_PAGE_SIZE * AUX_NB_OF_PAGES, 0, NVMCTRL_USER);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user