My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

STEVAL__F401XX.py 328B

1234567891011
  1. import os
  2. Import("env")
  3. custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/variants/STEVAL_F401VE/ldscript.ld")
  4. for i, flag in enumerate(env["LINKFLAGS"]):
  5. if "-Wl,-T" in flag:
  6. env["LINKFLAGS"][i] = "-Wl,-T" + custom_ld_script
  7. elif flag == "-T":
  8. env["LINKFLAGS"][i + 1] = custom_ld_script