Skip to content

Commit fc99db6

Browse files
authored
Jenkins: Update ESP8266 board defs 2.4.1 (#1143)
1 parent 9f987a9 commit fc99db6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/arduino.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def buildSTM32F1(config, sketches, String key) {
210210
}
211211

212212
def buildEsp8266(config, sketches, String key) {
213-
def fqbn = '-fqbn esp8266:esp8266:generic -prefs build.f_cpu=80000000 -prefs build.mcu=esp8266'
213+
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'
214214
config.pr.setBuildStatus(config, 'PENDING', 'Toll gate (ESP8266 - '+key+')', 'Building...', '${BUILD_URL}flowGraphTable/')
215215
try {
216216
for (sketch = 0; sketch < sketches.size(); sketch++) {
@@ -226,7 +226,7 @@ def buildEsp8266(config, sketches, String key) {
226226
sketches[sketch].path != config.library_root+'examples/MotionSensorRS485/MotionSensorRS485.ino' &&
227227
sketches[sketch].path != config.library_root+'examples/SensebenderGatewaySerial/SensebenderGatewaySerial.ino' &&
228228
sketches[sketch].path != config.library_root+'examples/SoilMoistSensor/SoilMoistSensor.ino') {
229-
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')
229+
buildArduino(config, fqbn, sketches[sketch].path, key+'_Esp8266')
230230
}
231231
}
232232
} catch (ex) {

0 commit comments

Comments
 (0)