Skip to content

Commit

Permalink
targets/stm32f429i_disc1: Fix test runner
Browse files Browse the repository at this point in the history
The test runner for the STM32F429I-DISC1 was broken because the .cfg
used for flashing with openocd was not included in the Python package
data and could not be found.

Change-Id: I4ea31223350dec0a6071d3e2bc8eb864689f6175
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/184378
Commit-Queue: Auto-Submit <[email protected]>
Pigweed-Auto-Submit: Armando Montanez <[email protected]>
Reviewed-by: Carlos Chinchilla <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
  • Loading branch information
armandomontanez authored and CQ Bot Account committed Dec 9, 2023
1 parent a29fdb8 commit 6726808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions targets/stm32f429i_disc1/py/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pw_python_package("py") {
"stm32f429i_disc1_utils/unit_test_runner.py",
"stm32f429i_disc1_utils/unit_test_server.py",
]
inputs = [ "stm32f429i_disc1_utils/openocd_stm32f4xx.cfg" ]
pylintrc = "$dir_pigweed/.pylintrc"
mypy_ini = "$dir_pigweed/.mypy.ini"
python_deps = [ "$dir_pw_cli/py" ]
Expand Down
2 changes: 1 addition & 1 deletion targets/stm32f429i_disc1/py/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ console_scripts =
stm32f429i_disc1_test_client = stm32f429i_disc1_utils.unit_test_client:main

[options.package_data]
stm32f429i_disc1_utils = py.typed
stm32f429i_disc1_utils = py.typed, openocd_stm32f4xx.cfg

0 comments on commit 6726808

Please sign in to comment.