Skip to content

Commit

Permalink
MOD-WIFI-ESP8266(-DEV) update (#8297)
Browse files Browse the repository at this point in the history
Added Flash mode and reset method selection options for Olimex board MOD-WIFI-ESP8266(-DEV)
The addition of the FlashMode and ResetMethod selection options via boards.txt.py generation file.
  • Loading branch information
Stanimir-Petev authored Oct 31, 2021
1 parent 0cd90ed commit 3f5a76c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
21 changes: 18 additions & 3 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5827,9 +5827,24 @@ modwifi.menu.non32xfer.fast=Use pgm_read macros for IRAM/PROGMEM
modwifi.menu.non32xfer.fast.build.non32xferflags=
modwifi.menu.non32xfer.safe=Byte/Word access to IRAM/PROGMEM (very slow)
modwifi.menu.non32xfer.safe.build.non32xferflags=-DNON32XFER_HANDLER
modwifi.upload.resetmethod=--before no_reset --after soft_reset
modwifi.build.flash_mode=qio
modwifi.build.flash_flags=-DFLASHMODE_QIO
modwifi.menu.ResetMethod.nodemcu=dtr (aka nodemcu)
modwifi.menu.ResetMethod.nodemcu.upload.resetmethod=--before default_reset --after hard_reset
modwifi.menu.ResetMethod.ck=no dtr (aka ck)
modwifi.menu.ResetMethod.ck.upload.resetmethod=--before no_reset --after soft_reset
modwifi.menu.ResetMethod.nodtr_nosync=no dtr, no_sync
modwifi.menu.ResetMethod.nodtr_nosync.upload.resetmethod=--before no_reset_no_sync --after soft_reset
modwifi.menu.FlashMode.dout=DOUT (compatible)
modwifi.menu.FlashMode.dout.build.flash_mode=dout
modwifi.menu.FlashMode.dout.build.flash_flags=-DFLASHMODE_DOUT
modwifi.menu.FlashMode.dio=DIO
modwifi.menu.FlashMode.dio.build.flash_mode=dio
modwifi.menu.FlashMode.dio.build.flash_flags=-DFLASHMODE_DIO
modwifi.menu.FlashMode.qout=QOUT
modwifi.menu.FlashMode.qout.build.flash_mode=qout
modwifi.menu.FlashMode.qout.build.flash_flags=-DFLASHMODE_QOUT
modwifi.menu.FlashMode.qio=QIO (fast)
modwifi.menu.FlashMode.qio.build.flash_mode=qio
modwifi.menu.FlashMode.qio.build.flash_flags=-DFLASHMODE_QIO
modwifi.build.flash_freq=40
modwifi.menu.eesz.2M64=2MB (FS:64KB OTA:~992KB)
modwifi.menu.eesz.2M64.build.flash_size=2M
Expand Down
5 changes: 3 additions & 2 deletions tools/boards.txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,9 @@
'.build.variant': 'modwifi',
},
'macro': [
'resetmethod_ck',
'flashmode_qio',
'resetmethod_menu',
'resetmethod_menu_extra',
'flashmode_menu',
'flashfreq_40',
'2M',
],
Expand Down

0 comments on commit 3f5a76c

Please sign in to comment.