Skip to content

Commit

Permalink
fix flag for arduino
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadh committed Dec 13, 2022
1 parent 163da0e commit 940909e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/micro/common/test_tvmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,23 @@ def _run_tvmc(cmd_args: list, *args, **kwargs):

def create_project_command(project_path: str, mlf_path: str, platform: str, board: str) -> list:
"""Returns create project command with tvmc micro."""
return [
cmd = [
"micro",
"create-project",
project_path,
mlf_path,
platform,
"--project-option",
"project_type=host_driven",
"config_main_stack_size=4096",
f"board={board}",
]

if platform == "zephyr":
# TODO: 4096 is driven by experiment on nucleo_l4r5zi. We should cleanup this after we have
# better memory management.
cmd.append("config_main_stack_size=4096")
return cmd


@tvm.testing.requires_micro
def test_tvmc_exist(platform, board):
Expand Down

0 comments on commit 940909e

Please sign in to comment.