forked from platformio/platformio-core
Add "debug" target, update docs for "uploads" option // Resolve #1833
This commit is contained in:
12
HISTORY.rst
12
HISTORY.rst
@ -4,14 +4,22 @@ Release Notes
|
|||||||
PlatformIO 3.0
|
PlatformIO 3.0
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
3.6.1 (2018-??-??)
|
||||||
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Build project in "Debug Mode" including debug information with a new
|
||||||
|
``debug`` target using `platformio run <https://docs.platformio.org/page/userguide/cmd_run.html>`__ command or `targets <http://docs.platformio.org/page/projectconf/section_env_general.html#targets>`__ option in ``platformio.ini``.
|
||||||
|
The last option allows to avoid project rebuilding between "Run/Debug" modes.
|
||||||
|
(`issue #1833 <https://github.com/platformio/platformio-core/issues/1833>`_)
|
||||||
|
|
||||||
3.6.0 (2018-08-06)
|
3.6.0 (2018-08-06)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
* `Program Memory Usage <https://docs.platformio.org/en/latest/faq.html#program-memory-usage>`_
|
* `Program Memory Usage <https://docs.platformio.org/page/faq.html#program-memory-usage>`_
|
||||||
|
|
||||||
- Print human-readable memory usage information after a build and before uploading
|
- Print human-readable memory usage information after a build and before uploading
|
||||||
- Print detailed memory usage information with "sections" and "addresses"
|
- Print detailed memory usage information with "sections" and "addresses"
|
||||||
in `verbose mode <https://docs.platformio.org/en/latest/userguide/cmd_run.html#cmdoption-platformio-run-v>`__
|
in `verbose mode <https://docs.platformio.org/page/userguide/cmd_run.html#cmdoption-platformio-run-v>`__
|
||||||
- Check maximum allowed "program" and "data" sizes before uploading/programming
|
- Check maximum allowed "program" and "data" sizes before uploading/programming
|
||||||
(`issue #1412 <https://github.com/platformio/platformio-core/issues/1412>`_)
|
(`issue #1412 <https://github.com/platformio/platformio-core/issues/1412>`_)
|
||||||
|
|
||||||
|
2
docs
2
docs
Submodule docs updated: acce465672...85979eea21
@ -191,6 +191,7 @@ env.AddPreAction(
|
|||||||
env.VerboseAction(lambda source, target, env: env.PrintUploadInfo(),
|
env.VerboseAction(lambda source, target, env: env.PrintUploadInfo(),
|
||||||
"Configuring upload protocol..."))
|
"Configuring upload protocol..."))
|
||||||
|
|
||||||
|
AlwaysBuild(env.Alias("debug", DEFAULT_TARGETS))
|
||||||
AlwaysBuild(env.Alias("__debug", DEFAULT_TARGETS))
|
AlwaysBuild(env.Alias("__debug", DEFAULT_TARGETS))
|
||||||
AlwaysBuild(env.Alias("__test", DEFAULT_TARGETS))
|
AlwaysBuild(env.Alias("__test", DEFAULT_TARGETS))
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ def BuildProgram(env):
|
|||||||
if not Util.case_sensitive_suffixes(".s", ".S"):
|
if not Util.case_sensitive_suffixes(".s", ".S"):
|
||||||
env.Replace(AS="$CC", ASCOM="$ASPPCOM")
|
env.Replace(AS="$CC", ASCOM="$ASPPCOM")
|
||||||
|
|
||||||
if "__debug" in COMMAND_LINE_TARGETS:
|
if set(["__debug", "debug"]) & set(COMMAND_LINE_TARGETS):
|
||||||
env.ProcessDebug()
|
env.ProcessDebug()
|
||||||
|
|
||||||
# process extra flags from board
|
# process extra flags from board
|
||||||
|
Reference in New Issue
Block a user