From 672680871220815534a8f8dcfabbf9574dbcac0c Mon Sep 17 00:00:00 2001 From: Armando Montanez Date: Sat, 9 Dec 2023 00:14:31 +0000 Subject: [PATCH] targets/stm32f429i_disc1: Fix test runner 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 Pigweed-Auto-Submit: Armando Montanez Reviewed-by: Carlos Chinchilla Presubmit-Verified: CQ Bot Account --- targets/stm32f429i_disc1/py/BUILD.gn | 1 + targets/stm32f429i_disc1/py/setup.cfg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/targets/stm32f429i_disc1/py/BUILD.gn b/targets/stm32f429i_disc1/py/BUILD.gn index 271ca130ee..b1811eb4d4 100644 --- a/targets/stm32f429i_disc1/py/BUILD.gn +++ b/targets/stm32f429i_disc1/py/BUILD.gn @@ -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" ] diff --git a/targets/stm32f429i_disc1/py/setup.cfg b/targets/stm32f429i_disc1/py/setup.cfg index a3f3772968..3316b1a4e7 100644 --- a/targets/stm32f429i_disc1/py/setup.cfg +++ b/targets/stm32f429i_disc1/py/setup.cfg @@ -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