|
|
@ -13,10 +13,10 @@ env.Append(CXXFLAGS=[
|
|
|
|
|
|
|
|
|
|
|
|
# Useful for JTAG debugging
|
|
|
|
# Useful for JTAG debugging
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# It will separe release and debug build folders.
|
|
|
|
# It will separe release and debug build folders.
|
|
|
|
# It useful when we need keep two live versions: one debug, for debugging,
|
|
|
|
# It useful when we need keep two live versions: one debug, for debugging,
|
|
|
|
# other release, for flashing.
|
|
|
|
# other release, for flashing.
|
|
|
|
# Without this, PIO will recompile everything twice for any small change.
|
|
|
|
# Without this, PIO will recompile everything twice for any small change.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
if env.GetBuildType() == "debug":
|
|
|
|
if env.GetBuildType() == "debug":
|
|
|
|
env['BUILD_DIR'] = '$PROJECT_BUILD_DIR/$PIOENV/debug'
|
|
|
|
env['BUILD_DIR'] = '$PROJECT_BUILD_DIR/$PIOENV/debug'
|
|
|
|