|
@@ -29,7 +29,7 @@ if pioutil.is_pio_build():
|
29
|
29
|
# It useful to keep two live versions: a debug version for debugging and another for
|
30
|
30
|
# release, for flashing when upload is not done automatically by jlink/stlink.
|
31
|
31
|
# Without this, PIO needs to recompile everything twice for any small change.
|
32
|
|
- if env.GetBuildType() == "debug" and env.get('UPLOAD_PROTOCOL') not in ['jlink', 'stlink']:
|
|
32
|
+ if env.GetBuildType() == "debug" and env.get('UPLOAD_PROTOCOL') not in ['jlink', 'stlink', 'custom']:
|
33
|
33
|
env['BUILD_DIR'] = '$PROJECT_BUILD_DIR/$PIOENV/debug'
|
34
|
34
|
|
35
|
35
|
# On some platform, F_CPU is a runtime variable. Since it's used to convert from ns
|