mirror of
https://github.com/platformio/platformio-core.git
synced 2025-11-02 15:11:37 +01:00
Remove program target code from microchippic32
This commit is contained in:
@@ -18,15 +18,11 @@
|
||||
|
||||
from os.path import join
|
||||
|
||||
from SCons.Script import (
|
||||
COMMAND_LINE_TARGETS, AlwaysBuild, Builder, Default, DefaultEnvironment)
|
||||
from SCons.Script import (AlwaysBuild, Builder, Default, DefaultEnvironment)
|
||||
|
||||
|
||||
def BeforeUpload(target, source, env): # pylint: disable=W0613,W0621
|
||||
|
||||
if "program" in COMMAND_LINE_TARGETS:
|
||||
return
|
||||
|
||||
env.AutodetectUploadPort()
|
||||
env.Prepend(UPLOADERFLAGS=["-d", '"$UPLOAD_PORT"'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user