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.

fysetc_cheetah_v20.py 403B

12345678910111213
  1. #
  2. # STM32F401VE_STEVAL.py
  3. # Customizations for env:STM32F401VE_STEVAL
  4. #
  5. import os
  6. Import("env")
  7. custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/variants/FYSETC_CHEETAH_V20/ldscript.ld")
  8. for i, flag in enumerate(env["LINKFLAGS"]):
  9. if "-Wl,-T" in flag:
  10. env["LINKFLAGS"][i] = "-Wl,-T" + custom_ld_script
  11. elif flag == "-T":
  12. env["LINKFLAGS"][i + 1] = custom_ld_script