Skip to content

Commit 7f7bf8a

Browse files
committed
Fix stm32_def_build.h generation order
Depending of the OS order was not the same. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 64b3db0 commit 7f7bf8a

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

CI/utils/stm32wrapper.py

+10-3
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,16 @@ def print_LL_header(open_file, name):
9898

9999

100100
def printCMSISStartup(log):
101-
filelist = glob.glob(
102-
os.path.join(
103-
CMSIS_Device_ST_path, "STM32*", "Source", "Templates", "gcc", "startup_*.s",
101+
filelist = sorted(
102+
glob.glob(
103+
os.path.join(
104+
CMSIS_Device_ST_path,
105+
"STM32*",
106+
"Source",
107+
"Templates",
108+
"gcc",
109+
"startup_*.s",
110+
)
104111
)
105112
)
106113
if len(filelist):

0 commit comments

Comments
 (0)