Skip to content

Commit

Permalink
Fix stm32_def_build.h generation order
Browse files Browse the repository at this point in the history
Depending of the OS order was not the same.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Dec 3, 2020
1 parent 64b3db0 commit 7f7bf8a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions CI/utils/stm32wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,16 @@ def print_LL_header(open_file, name):


def printCMSISStartup(log):
filelist = glob.glob(
os.path.join(
CMSIS_Device_ST_path, "STM32*", "Source", "Templates", "gcc", "startup_*.s",
filelist = sorted(
glob.glob(
os.path.join(
CMSIS_Device_ST_path,
"STM32*",
"Source",
"Templates",
"gcc",
"startup_*.s",
)
)
)
if len(filelist):
Expand Down

0 comments on commit 7f7bf8a

Please sign in to comment.