Skip to content

Commit 71253b8

Browse files
committed
DNM: test
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 0e5997d commit 71253b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/pio-build/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ python3 -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/pl
2222
exit 1
2323
}
2424
# Modify platform.json to use local CMSIS package without owner and version restrictions
25-
python3 -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/platforms/ststm32/platform.json'), 'r+'); data=json.load(fp); data['packages']['framework-cmsis']['version'] = '*'; del data['packages']['framework-cmsis']['owner']; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()" || {
25+
python3 -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/platforms/ststm32/platform.json'), 'r+'); data=json.load(fp); data['packages']['framework-cmsis']['version'] = '*'; del data['packages']['framework-cmsis']['owner']; del data['packages']['framework-cmsis']['optionalVersions']; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()" || {
2626
exit 1
2727
}
2828
# Add to platform.json the CMSIS DSP package

0 commit comments

Comments
 (0)