1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

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.
This commit is contained in:
Earle F. Philhower, III 2021-01-27 00:06:12 -08:00 committed by GitHub
parent f2d83ba43d
commit c2393d05be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -3550,7 +3550,7 @@ sonoff.menu.baud.3000000.upload.speed=3000000
##############################################################
inventone.name=Invent One
inventone.build.board=ESP8266_GENERIC
inventone.build.board=ESP8266_INVENT_ONE
inventone.build.variant=inventone
inventone.upload.tool=esptool
inventone.upload.maximum_data_size=81920
@ -7448,7 +7448,7 @@ wifinfo.menu.baud.3000000.upload.speed=3000000
##############################################################
cw01.name=XinaBox CW01
cw01.build.board=ESP8266_GENERIC
cw01.build.board=ESP8266_XINABOX_CW01
cw01.build.variant=xinabox
cw01.upload.tool=esptool
cw01.upload.maximum_data_size=81920

View File

@ -337,7 +337,7 @@ boards = collections.OrderedDict([
( 'inventone', {
'name': 'Invent One',
'opts': {
'.build.board': 'ESP8266_GENERIC',
'.build.board': 'ESP8266_INVENT_ONE',
'.build.variant': 'inventone',
},
'macro': [
@ -354,7 +354,7 @@ boards = collections.OrderedDict([
( 'cw01', {
'name': 'XinaBox CW01',
'opts': {
'.build.board': 'ESP8266_GENERIC',
'.build.board': 'ESP8266_XINABOX_CW01',
'.build.variant': 'xinabox',
},
'macro': [