Skip to content

Commit

Permalink
Jenkins: Update ESP8266 board defs 2.4.1 (#1143)
Browse files Browse the repository at this point in the history
  • Loading branch information
tekka007 committed Jun 10, 2018
1 parent 9f987a9 commit fc99db6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/arduino.groovy
Expand Up @@ -210,7 +210,7 @@ def buildSTM32F1(config, sketches, String key) {
}

def buildEsp8266(config, sketches, String key) {
def fqbn = '-fqbn esp8266:esp8266:generic -prefs build.f_cpu=80000000 -prefs build.mcu=esp8266'
def fqbn = '-fqbn=esp8266:esp8266:generic:CpuFrequency=80,ResetMethod=ck,CrystalFreq=26,FlashFreq=40,FlashMode=qio,FlashSize=512K0,led=2,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None____,FlashErase=none,UploadSpeed=115200'
config.pr.setBuildStatus(config, 'PENDING', 'Toll gate (ESP8266 - '+key+')', 'Building...', '${BUILD_URL}flowGraphTable/')
try {
for (sketch = 0; sketch < sketches.size(); sketch++) {
Expand All @@ -226,7 +226,7 @@ def buildEsp8266(config, sketches, String key) {
sketches[sketch].path != config.library_root+'examples/MotionSensorRS485/MotionSensorRS485.ino' &&
sketches[sketch].path != config.library_root+'examples/SensebenderGatewaySerial/SensebenderGatewaySerial.ino' &&
sketches[sketch].path != config.library_root+'examples/SoilMoistSensor/SoilMoistSensor.ino') {
buildArduino(config, '-prefs build.flash_ld=eagle.flash.512k0.ld -prefs build.flash_freq=40 -prefs build.flash_size=512K '+fqbn, sketches[sketch].path, key+'_Esp8266')
buildArduino(config, fqbn, sketches[sketch].path, key+'_Esp8266')
}
}
} catch (ex) {
Expand Down

0 comments on commit fc99db6

Please sign in to comment.