Skip to content

Commit

Permalink
scripts: serie_update: Remove copying release notes from STM32Cube
Browse files Browse the repository at this point in the history
Remove copying release notes from STM32Cube

Signed-off-by: Nidhal BEN OTHMEN <[email protected]>
  • Loading branch information
benothmn-st authored and erwango committed Nov 18, 2024
1 parent 0a9b869 commit 83c2fac
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions scripts/serie_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,16 +456,6 @@ def update_readme(self, make_version, make_commit):

self.os_cmd(("dos2unix", str(readme_path)))

def copy_release_note(self):
"""Copy release_note.html file from STM32Cube to zephyr"""
release_note_src = self.stm32cube_serie_path / "Release_Notes.html"
release_note_dst = self.zephyr_module_serie_path / "release_note.html"
if release_note_dst.exists():
release_note_dst.unlink()
if release_note_src.exists:
release_note_src.rename(release_note_dst)
self.os_cmd(("dos2unix", str(release_note_dst)))

def update_cmakelist(self):
"""Update CMakeLists.txt file"""
cmakelists_path = self.zephyr_module_serie_path / "CMakeLists.txt"
Expand Down Expand Up @@ -640,10 +630,9 @@ def apply_zephyr_patch(self):
os.remove(patch_path)
shutil.copy(str(self.stm32cube_temp / self.module_patch), patch_path)

# Update README and CMakeList, copy release note
# Update README and CMakeList
self.update_readme(self.version_update, self.update_commit)
self.update_cmakelist()
self.copy_release_note()

# remove stm32_assert_template.h and create stm32_assert.h
self.generate_assert_file()
Expand Down

0 comments on commit 83c2fac

Please sign in to comment.