Skip to content

Commit c2393d0

Browse files
Fix improper GENERIC board IDs (#7839)
A couple board types reported ESP8266_GENERIC instead of their proper types in boards.txt (and in defined generated therefrom/etc.). Give them proper board types based on their names, like other modules.
1 parent f2d83ba commit c2393d0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

boards.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -3550,7 +3550,7 @@ sonoff.menu.baud.3000000.upload.speed=3000000
35503550

35513551
##############################################################
35523552
inventone.name=Invent One
3553-
inventone.build.board=ESP8266_GENERIC
3553+
inventone.build.board=ESP8266_INVENT_ONE
35543554
inventone.build.variant=inventone
35553555
inventone.upload.tool=esptool
35563556
inventone.upload.maximum_data_size=81920
@@ -7448,7 +7448,7 @@ wifinfo.menu.baud.3000000.upload.speed=3000000
74487448

74497449
##############################################################
74507450
cw01.name=XinaBox CW01
7451-
cw01.build.board=ESP8266_GENERIC
7451+
cw01.build.board=ESP8266_XINABOX_CW01
74527452
cw01.build.variant=xinabox
74537453
cw01.upload.tool=esptool
74547454
cw01.upload.maximum_data_size=81920

tools/boards.txt.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
( 'inventone', {
338338
'name': 'Invent One',
339339
'opts': {
340-
'.build.board': 'ESP8266_GENERIC',
340+
'.build.board': 'ESP8266_INVENT_ONE',
341341
'.build.variant': 'inventone',
342342
},
343343
'macro': [
@@ -354,7 +354,7 @@
354354
( 'cw01', {
355355
'name': 'XinaBox CW01',
356356
'opts': {
357-
'.build.board': 'ESP8266_GENERIC',
357+
'.build.board': 'ESP8266_XINABOX_CW01',
358358
'.build.variant': 'xinabox',
359359
},
360360
'macro': [

0 commit comments

Comments
 (0)