Skip to content

Commit

Permalink
boards.txt.py: add Wemos ESP-WROOM-02 board
Browse files Browse the repository at this point in the history
* add fixes from #6551 (comment)
* add flashfreq_26 to the macro list
  • Loading branch information
rotulet authored and bdm committed Sep 21, 2022
1 parent 313b3c0 commit 4bcb70d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tools/boards.txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,21 @@
'serial': '921',
'desc': [ 'Product page: https://www.wemos.cc/' ],
}),
( 'd1_wroom_02', {
'name': 'LOLIN(WEMOS) D1 ESP-WROOM-02',
'opts': {
'.build.board': 'ESP8266_WEMOS_D1WROOM02',
'.build.variant': 'd1_mini',
},
'macro': [
'resetmethod_nodemcu',
'flashmode_dio',
'flashfreq_26',
'2M',
],
'serial': '921',
'desc': [ 'No real product pages. See: https://www.instructables.com/How-to-Use-Wemos-ESP-Wroom-02-D1-Mini-WiFi-Module-/ or https://www.arduino-tech.com/wemos-esp-wroom-02-mainboard-d1-mini-wifi-module-esp826618650-battery/ ' ],
}),
( 'd1_mini_clone', {
'name': 'LOLIN(WEMOS) D1 mini (clone)',
'opts': {
Expand Down Expand Up @@ -1085,6 +1100,10 @@
( '.menu.FlashFreq.26.build.flash_freq', '26' ),
]),

'flashfreq_26': collections.OrderedDict([
( '.build.flash_freq', '26' ),
]),

'flashfreq_40': collections.OrderedDict([
( '.build.flash_freq', '40' ),
]),
Expand Down

0 comments on commit 4bcb70d

Please sign in to comment.