@@ -838,18 +838,26 @@ def updateCore():
838838 HAL_updated = False
839839 CMSIS_updated = False
840840 openamp_updated = False
841- hal_commit_msg = """system({0}) {3} STM32{0}xx HAL Drivers to v{1}
842-
843- Included in STM32Cube{0} FW {2}""" .format (
844- serie , cube_HAL_ver , cube_version , "add" if upargs .add else "update"
841+ hal_commit_msg = """system({0}) {4} STM32{1}xx HAL Drivers to v{2}
842+
843+ Included in STM32Cube{1} FW {3}""" .format (
844+ serie .lower (),
845+ serie ,
846+ cube_HAL_ver ,
847+ cube_version ,
848+ "add" if upargs .add else "update" ,
845849 )
846- cmsis_commit_msg = """system({0}): {3} STM32{0}xx CMSIS Drivers to v{1}
847-
848- Included in STM32Cube{0} FW {2}""" .format (
849- serie , cube_CMSIS_ver , cube_version , "add" if upargs .add else "update"
850+ cmsis_commit_msg = """system({0}): {4} STM32{1}xx CMSIS Drivers to v{2}
851+
852+ Included in STM32Cube{1} FW {3}""" .format (
853+ serie .lower (),
854+ serie ,
855+ cube_CMSIS_ver ,
856+ cube_version ,
857+ "add" if upargs .add else "update" ,
850858 )
851859 wrapper_commit_msg = (
852- f"core({ serie } ): { 'add' if upargs .add else 'update' } wrapped files"
860+ f"core({ serie . lower () } ): { 'add' if upargs .add else 'update' } wrapped files"
853861 )
854862
855863 # Update HAL part if needed
@@ -901,10 +909,10 @@ def updateCore():
901909
902910 if upargs .add :
903911 system_commit_msg = (
904- f"system({ serie } ): add STM32{ serie } xx system source files"
912+ f"system({ serie . lower () } ): add STM32{ serie } xx system source files"
905913 )
906914 update_hal_conf_commit_msg = (
907- f"system({ serie } ): update STM32{ serie } xx hal default config"
915+ f"system({ serie . lower () } ): update STM32{ serie } xx hal default config"
908916 )
909917 update_stm32_def_commit_msg = f"core({ serie } ): add top HAL include"
910918 # Create system files
0 commit comments