Skip to content

Commit 0323ec0

Browse files
Fix PlatformIO package versions for metro relink
1 parent 6b34d18 commit 0323ec0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

res/adafruit_metro_m0/relink.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def adafruit_metro_m0_relink_after_build(target, source, env):
1616

1717
# Primary toolchain is GCC
1818
gcc_binary_dir = make_env.get("GCC_BIN") or \
19-
make_env["HOME"] + "/.platformio/packages/toolchain-gccarmnoneeabi@1.90201.191206/bin"
19+
make_env["HOME"] + "/.platformio/packages/toolchain-gccarmnoneeabi/bin"
2020
if not os.path.isdir(gcc_binary_dir):
2121
print("Cannot find matching GCC binary directory:", gcc_binary_dir,
2222
"Please set your 'GCC_BIN' environment variable appropriately.")
@@ -31,7 +31,7 @@ def adafruit_metro_m0_relink_after_build(target, source, env):
3131

3232
# Makefile needs libarm_cortexM0l_math.a
3333
cmsis_dir = make_env.get("CMSIS_LIB") or \
34-
make_env["HOME"] + "/.platformio/packages/framework-cmsis@2.50400.181126/CMSIS/Lib"
34+
make_env["HOME"] + "/.platformio/packages/framework-cmsis/CMSIS/Lib"
3535
if not os.path.isdir(cmsis_dir) or not os.path.isabs(cmsis_dir):
3636
print("Cannot find matching framework-cmsis:", cmsis_dir,
3737
"Please set your 'CMSIS_LIB' environment variable appropriately.")

0 commit comments

Comments
 (0)