fix missing arguments for build.py

This commit is contained in:
me-no-dev 2017-01-28 13:33:41 +02:00
parent 46a7500a26
commit 25f7993f51
2 changed files with 2 additions and 4 deletions

View File

@ -8,9 +8,7 @@ script:
- wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
- tar xf arduino.tar.xz
- mv arduino-nightly $HOME/arduino_ide
- mkdir -p $HOME/Arduino/hardware
- mkdir -p $HOME/Arduino/libraries
- cd $HOME/Arduino/hardware
- cd $HOME/arduino_ide/hardware
- mkdir espressif
- cd espressif
- ln -s $TRAVIS_BUILD_DIR esp32

View File

@ -46,7 +46,7 @@ def compile(tmp_dir, sketch, tools_dir, hardware_dir, ide_path, f, args):
# Debug=Serial,DebugLevel=Core____
cmd += '-fqbn=espressif:esp32:{board_name}:' \
'FlashFreq={flash_freq},' \
'UploadSpeed=921600'
'UploadSpeed=921600'.format(**vars(args))
cmd += ' '
cmd += '-ide-version=10607 '
cmd += '-warnings={warnings} '.format(**vars(args))