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.

common-cxxflags.py 617B

12345678910111213141516171819202122
  1. #
  2. # common-cxxflags.py
  3. # Convenience script to apply customizations to CPP flags
  4. #
  5. Import("env")
  6. env.Append(CXXFLAGS=[
  7. "-Wno-register"
  8. #"-Wno-incompatible-pointer-types",
  9. #"-Wno-unused-const-variable",
  10. #"-Wno-maybe-uninitialized",
  11. #"-Wno-sign-compare"
  12. ])
  13. # Useful for JTAG debugging
  14. #
  15. # It will separe release and debug build folders.
  16. # It useful when we need keep two live versions: one debug, for debugging,
  17. # other release, for flashing.
  18. # Without this, PIO will recompile everything twice for any small change.
  19. #
  20. if env.GetBuildType() == "debug":
  21. env['BUILD_DIR'] = '$PROJECT_BUILD_DIR/$PIOENV/debug'