@@ -456,16 +456,6 @@ def update_readme(self, make_version, make_commit):
456456
457457 self .os_cmd (("dos2unix" , str (readme_path )))
458458
459- def copy_release_note (self ):
460- """Copy release_note.html file from STM32Cube to zephyr"""
461- release_note_src = self .stm32cube_serie_path / "Release_Notes.html"
462- release_note_dst = self .zephyr_module_serie_path / "release_note.html"
463- if release_note_dst .exists ():
464- release_note_dst .unlink ()
465- if release_note_src .exists :
466- release_note_src .rename (release_note_dst )
467- self .os_cmd (("dos2unix" , str (release_note_dst )))
468-
469459 def update_cmakelist (self ):
470460 """Update CMakeLists.txt file"""
471461 cmakelists_path = self .zephyr_module_serie_path / "CMakeLists.txt"
@@ -640,10 +630,9 @@ def apply_zephyr_patch(self):
640630 os .remove (patch_path )
641631 shutil .copy (str (self .stm32cube_temp / self .module_patch ), patch_path )
642632
643- # Update README and CMakeList, copy release note
633+ # Update README and CMakeList
644634 self .update_readme (self .version_update , self .update_commit )
645635 self .update_cmakelist ()
646- self .copy_release_note ()
647636
648637 # remove stm32_assert_template.h and create stm32_assert.h
649638 self .generate_assert_file ()
0 commit comments