My Marlin configs for Fabrikator Mini and CTC i3 Pro B
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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'