Skip to content

Commit

Permalink
tests/periph_flashpage: small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Mar 13, 2018
1 parent 51febf0 commit 9d4425f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/periph_flashpage/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Expected result
===============
Use the provided shell commands, to read and write pages from/to the MCU's
Use the provided shell commands to read and write pages from/to the MCU's
internal flash memory. For altering the data in a flash page, use a sequence
similar to this:
- read some page from the flash, this will load this page into a local buffer
Expand Down Expand Up @@ -34,5 +34,5 @@ What else to check:

Background
==========
This test provides you with tools to test implementations of the `flashpage`
peripheral driver interface.
This test provides tools to test implementations of the `flashpage` peripheral
driver interface.
6 changes: 3 additions & 3 deletions tests/periph_flashpage/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ static int cmd_test(int argc, char **argv)
}

if (flashpage_write_and_verify(page, page_mem) != FLASHPAGE_OK) {
printf("error verifying the content of page %i: ", page);
printf("error verifying the content of page %i\n", page);
return 1;
}

Expand All @@ -283,8 +283,8 @@ static const shell_command_t shell_commands[] = {
{ "info", "Show information about pages", cmd_info },
{ "dump", "Dump the selected page to STDOUT", cmd_dump },
{ "dump_local", "Dump the local page buffer to STDOUT", cmd_dump_local },
{ "read", "Read and output the given page", cmd_read },
{ "write", "Write (ASCII) data to the given page", cmd_write },
{ "read", "Copy the given page to the local page and dump to STDOUT", cmd_read },
{ "write", "Write the local page buffer to the given page", cmd_write },
#ifdef MODULE_PERIPH_FLASHPAGE_RAW
{ "write_raw", "Write (ASCII, max 64B) data to the given address", cmd_write_raw },
#endif
Expand Down

0 comments on commit 9d4425f

Please sign in to comment.