Skip to content

Commit d36c7f2

Browse files
committed
Tidy up old stuff
1 parent f0a30c7 commit d36c7f2

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

builder/frameworks/arduino.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
# __globals = dict(globals())
1716
from os.path import isdir, split, join
1817
from SCons.Script import AlwaysBuild, Builder, Default, DefaultEnvironment
1918
import sys
@@ -59,23 +58,6 @@ def launch_arduino_core_builder(env, platform, board):
5958
env.SConscript(join("arduino", "%s.py" % script_name))
6059

6160

62-
def configure_base_arduino_environment(env):
63-
# A full list with the available variables
64-
# http://www.scons.org/doc/production/HTML/scons-user.html#app-variables
65-
env.Replace(
66-
AR="arm-none-eabi-ar",
67-
AS="arm-none-eabi-as",
68-
CC="arm-none-eabi-gcc",
69-
CXX="arm-none-eabi-g++",
70-
GDB="arm-none-eabi-gdb",
71-
OBJCOPY="arm-none-eabi-objcopy",
72-
RANLIB="arm-none-eabi-ranlib",
73-
SIZETOOL="arm-none-eabi-size",
74-
75-
ARFLAGS=["rc"],
76-
77-
)
78-
7961
def configure_uploader(env):
8062
upload_protocol = env.subst("$UPLOAD_PROTOCOL")
8163

@@ -102,7 +84,6 @@ def configure_uploader(env):
10284
platform = env.PioPlatform()
10385
board = env.BoardConfig()
10486

105-
configure_base_arduino_environment(env)
10687
launch_arduino_core_builder(env, platform, board)
10788
configure_uploader(env)
10889

0 commit comments

Comments
 (0)