Skip to content

Commit 4bcb70d

Browse files
rotuletbdm
authored and
bdm
committed
boards.txt.py: add Wemos ESP-WROOM-02 board
* add fixes from #6551 (comment) * add flashfreq_26 to the macro list
1 parent 313b3c0 commit 4bcb70d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

tools/boards.txt.py

+19
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,21 @@
621621
'serial': '921',
622622
'desc': [ 'Product page: https://www.wemos.cc/' ],
623623
}),
624+
( 'd1_wroom_02', {
625+
'name': 'LOLIN(WEMOS) D1 ESP-WROOM-02',
626+
'opts': {
627+
'.build.board': 'ESP8266_WEMOS_D1WROOM02',
628+
'.build.variant': 'd1_mini',
629+
},
630+
'macro': [
631+
'resetmethod_nodemcu',
632+
'flashmode_dio',
633+
'flashfreq_26',
634+
'2M',
635+
],
636+
'serial': '921',
637+
'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/ ' ],
638+
}),
624639
( 'd1_mini_clone', {
625640
'name': 'LOLIN(WEMOS) D1 mini (clone)',
626641
'opts': {
@@ -1085,6 +1100,10 @@
10851100
( '.menu.FlashFreq.26.build.flash_freq', '26' ),
10861101
]),
10871102

1103+
'flashfreq_26': collections.OrderedDict([
1104+
( '.build.flash_freq', '26' ),
1105+
]),
1106+
10881107
'flashfreq_40': collections.OrderedDict([
10891108
( '.build.flash_freq', '40' ),
10901109
]),

0 commit comments

Comments
 (0)