Skip to content

Commit 25f7993

Browse files
committed
fix missing arguments for build.py
1 parent 46a7500 commit 25f7993

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ script:
88
- wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
99
- tar xf arduino.tar.xz
1010
- mv arduino-nightly $HOME/arduino_ide
11-
- mkdir -p $HOME/Arduino/hardware
12-
- mkdir -p $HOME/Arduino/libraries
13-
- cd $HOME/Arduino/hardware
11+
- cd $HOME/arduino_ide/hardware
1412
- mkdir espressif
1513
- cd espressif
1614
- ln -s $TRAVIS_BUILD_DIR esp32

tools/build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def compile(tmp_dir, sketch, tools_dir, hardware_dir, ide_path, f, args):
4646
# Debug=Serial,DebugLevel=Core____
4747
cmd += '-fqbn=espressif:esp32:{board_name}:' \
4848
'FlashFreq={flash_freq},' \
49-
'UploadSpeed=921600'
49+
'UploadSpeed=921600'.format(**vars(args))
5050
cmd += ' '
5151
cmd += '-ide-version=10607 '
5252
cmd += '-warnings={warnings} '.format(**vars(args))

0 commit comments

Comments
 (0)