We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e5997d commit 71253b8Copy full SHA for 71253b8
1 file changed
.github/actions/pio-build/entrypoint.sh
@@ -22,7 +22,7 @@ python3 -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/pl
22
exit 1
23
}
24
# 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()" || {
+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()" || {
26
27
28
# Add to platform.json the CMSIS DSP package
0 commit comments