Export root "env" to the extra script
This commit is contained in:
@@ -486,9 +486,7 @@ Example, specify own upload command for :ref:`platform_atmelavr`:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from SCons.Script import DefaultEnvironment
|
||||
|
||||
env = DefaultEnvironment()
|
||||
Import('env')
|
||||
|
||||
env.Replace(UPLOADHEXCMD='"$UPLOADER" ${ARGUMENTS.get("custom_option")} --uploader --flags')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user