Add console_test example to stress-test Tock's console driver.

This commit is contained in:
Guillaume Endignoux
2020-09-22 16:33:52 +02:00
parent 658b767ff8
commit a3b9724165
3 changed files with 48 additions and 6 deletions

View File

@@ -913,6 +913,13 @@ if __name__ == "__main__":
const="oom_test",
help=("Compiles and installs the oom_test example that tests the "
"allocator until an out-of-memory error occurs."))
apps_group.add_argument(
"--console_test",
dest="application",
action="store_const",
const="console_test",
help=("Compiles and installs the console_test example that tests the "
"console driver with messages of various lengths."))
main_parser.set_defaults(features=["with_ctap1"])