Skip to content

Commit 0830d9f

Browse files
committed
gen_wrapper.sh fix MP1 define for CMSIS_STARTUP_FILE
Signed-off-by: Frederic Pillon <[email protected]>
1 parent e0f7781 commit 0830d9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CI/utils/gen_wrapper.sh

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ print_CMSIS_Startup_list() {
8181
# File name
8282
f=$(echo "$fp" | awk -F/ '{print $NF}')
8383
upper=$(echo "$f" | awk -F'[_.]' '{print toupper($2)}' | tr X x)
84+
upper="${upper//MP15xx/MP1xx}"
8485
echo "#elif defined($upper)
8586
#define CMSIS_STARTUP_FILE \"$f\"" >> $CMSIS_Startupfile
8687
done

0 commit comments

Comments
 (0)