Skip to content

Commit

Permalink
Prevent definition of cmsis_path from env variable
Browse files Browse the repository at this point in the history
Change-Id: I1585ec3b31626bde5fa5c70224b1c70b48ceeadf
  • Loading branch information
NicolaLancellotti committed Jan 9, 2023
1 parent e928a25 commit aefe78e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/micro/project_api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ def default_project_options(**kw) -> typing.List[ProjectOption]:
"cmsis_path",
optional=["generate_project"],
type="str",
default=os.environ.get("CMSIS_PATH", None),
default=None,
help="Path to the CMSIS directory.",
),
ProjectOption(
Expand Down
1 change: 1 addition & 0 deletions tests/micro/zephyr/test_zephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ def test_schedule_build_with_cmsis_dependency(workspace_dir, board, microtvm_deb
"project_type": "host_driven",
"verbose": bool(build_config.get("debug")),
"board": board,
"cmsis_path": os.getenv("CMSIS_PATH"),
"use_fvp": bool(use_fvp),
}

Expand Down

0 comments on commit aefe78e

Please sign in to comment.