Victor Oliveira
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
10 additions and
0 deletions
-
buildroot/share/PlatformIO/scripts/common-cxxflags.py
|
|
@ -10,3 +10,13 @@ env.Append(CXXFLAGS=[ |
|
|
|
#"-Wno-maybe-uninitialized", |
|
|
|
#"-Wno-sign-compare" |
|
|
|
]) |
|
|
|
|
|
|
|
# Useful for JTAG debugging |
|
|
|
# |
|
|
|
# It will separe release and debug build folders. |
|
|
|
# It useful when we need keep two live versions: one debug, for debugging, |
|
|
|
# other release, for flashing. |
|
|
|
# Without this, PIO will recompile everything twice for any small change. |
|
|
|
# |
|
|
|
if env.GetBuildType() == "debug": |
|
|
|
env['BUILD_DIR'] = '$PROJECT_BUILD_DIR/$PIOENV/debug' |
|
|
|