Skip to content

Commit c61df7c

Browse files
committed
scripts: Update README file path in ble_library.py for lib/stm32wb*
Update the README file path in ble_library.py for lib/stm32wba and lib/stm32wb and move the README file of lib/stm32wb to the new path. Signed-off-by: Nidhal BEN OTHMEN <[email protected]>
1 parent c2c3e3b commit c61df7c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
File renamed without changes.

scripts/ble_library.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def update_ble_lib_readme(lib_path, make_version, make_commit):
202202
make_commit: Commit corresponding to latest STM32Cube version.
203203
"""
204204

205-
readme_path = Path(lib_path / "hci" / "README")
205+
readme_path = Path(lib_path / "README")
206206

207207
with readme_path.open(mode="r") as readme_prev:
208208
lines = (x for x in readme_prev.read().splitlines())
@@ -337,9 +337,8 @@ def update(
337337
)
338338
copy_hci_files(src_repo_path, dest_lib_path, stm32_serie)
339339
common_utils.apply_patch(dest_lib_path / "ble_zephyr.patch", dest_lib_path)
340-
if Path(dest_lib_path / "hci" / "README").exists():
341-
update_ble_lib_readme(
342-
dest_lib_path, update_version, commit)
340+
if Path(dest_lib_path / "README").exists():
341+
update_ble_lib_readme(dest_lib_path, update_version, commit)
343342

344343

345344
if __name__ == "__main__":

0 commit comments

Comments
 (0)