diff --git a/HISTORY.rst b/HISTORY.rst index 193143d6..89ee0785 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -15,6 +15,8 @@ Release History (`issue #168 `_) * Disabled automatic updates by default for platforms, packages and libraries (`issue #171 `_) +* Fixed bug with creating copies of source files + (`issue #177 `_) 1.4.0 (2015-04-11) diff --git a/platformio/__init__.py b/platformio/__init__.py index c6851e7e..ffc095fc 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -1,7 +1,7 @@ # Copyright (C) Ivan Kravets # See LICENSE for details. -VERSION = (2, 0, "0.dev1") +VERSION = (2, 0, "0.dev2") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/builder/tools/platformio.py b/platformio/builder/tools/platformio.py index 8402e6e3..a45b526d 100644 --- a/platformio/builder/tools/platformio.py +++ b/platformio/builder/tools/platformio.py @@ -31,7 +31,7 @@ def BuildFirmware(env): firmenv = env.Clone() vdirs = firmenv.VariantDirRecursive( - join("$BUILD_DIR", "src"), "$PROJECTSRC_DIR") + join("$BUILD_DIR", "src"), "$PROJECTSRC_DIR", duplicate=False) # build dependent libs deplibs = firmenv.BuildDependentLibraries("$PROJECTSRC_DIR") @@ -365,7 +365,7 @@ def ConvertInoToCpp(env): if not data: return - tmpcpp_file = join(env.subst("$PROJECTSRC_DIR"), "piomain.cpp") + tmpcpp_file = join(env.subst("$PROJECTSRC_DIR"), "tmp_ino_to.cpp") with open(tmpcpp_file, "w") as f: f.write(data)