Merge pull request #339 from mikeller/updated_boards_list

Updated the list of supported boards, added all new targets.
10.3.x-maintenance
borisbstyle 2016-11-14 18:48:14 +01:00 committed by GitHub
commit bb5aac4c51
1 changed files with 58 additions and 176 deletions

View File

@ -5,191 +5,73 @@
// and then manually setting vcp to true for boards that use VCP // and then manually setting vcp to true for boards that use VCP
var BOARD_DEFINITIONS = [ var BOARD_DEFINITIONS = [
{ {name: 'AIORACERF3', identifier: 'ARF3', vcp: true},
name: "CC3D", {name: 'AIR32', identifier: 'AR32', vcp: true},
identifier: "CC3D", {name: 'AIRHEROF3', identifier: 'AIR3', vcp: false},
vcp: true {name: 'ALIENFLIGHTF1', identifier: 'AFF1', vcp: false},
}, { {name: 'ALIENFLIGHTF3', identifier: 'AFF3', vcp: true},
name: "ChebuzzF3", {name: 'ALIENFLIGHTF4', identifier: 'AFF4', vcp: true},
identifier: "CHF3", {name: 'ANYFCF7', identifier: 'ANY7', vcp: true},
vcp: false {name: 'BETAFLIGHTF3', identifier: 'BFF3', vcp: true},
}, { {name: 'BLUEJAYF4', identifier: 'BJF4', vcp: true},
name: "CJMCU", {name: 'CC3D', identifier: 'CC3D', vcp: true},
identifier: "CJM1", {name: 'CHEBUZZF3', identifier: 'CHF3', vcp: true},
vcp: false {name: 'CJMCU', identifier: 'CJM1', vcp: false},
}, { {name: 'COLIBRI', identifier: 'COLI', vcp: true},
name: "EUSTM32F103RB", {name: 'COLIBRI_RACE', identifier: 'CLBR', vcp: true},
identifier: "EUF1", {name: 'DOGE', identifier: 'DOGE', vcp: true},
vcp: false {name: 'F4BY', identifier: 'F4BY', vcp: true},
}, { {name: 'FURYF3', identifier: 'FYF3', vcp: true},
name: "Naze/Flip32+", {name: 'FURYF4', identifier: 'FYF4', vcp: true},
identifier: "AFNA", {name: 'FURYF7', identifier: 'FYF7', vcp: true},
vcp: false {name: 'IMPULSERCF3', identifier: 'IMF3', vcp: true},
}, { {name: 'IRCFUSIONF3', identifier: 'IFF3', vcp: true},
name: "Olimexino", {name: 'ISHAPEDF3', identifier: 'ISF3', vcp: false},
identifier: "OLI1", {name: 'KAKUTEF4', identifier: 'KTV1', vcp: true},
vcp: false {name: 'KISSFC', identifier: 'KISS', vcp: true},
}, { {name: 'LUXV2_RACE', identifier: 'LUXR', vcp: true},
name: "Port103R", {name: 'LUX_RACE', identifier: 'LUX', vcp: true},
identifier: "103R", {name: 'MICROSCISKY', identifier: 'MSKY', vcp: false},
vcp: false {name: 'MOTOLAB', identifier: 'MOTO', vcp: true},
}, { {name: 'MULTIFLITEPICO', identifier: 'MFPB', vcp: false},
name: "Sparky", {name: 'AFROMINI', identifier: 'AFMN', vcp: false},
identifier: "SPKY", {name: 'NAZE', identifier: 'AFNA', vcp: false},
vcp: true {name: 'BEEBRAIN', identifier: 'BEBR', vcp: false},
}, { {name: 'OMNIBUSF4', identifier: 'OBF4', vcp: true},
name: "STM32F3Discovery", {name: 'OMNIBUS', identifier: 'OMNI', vcp: true},
identifier: "SDF3", {name: 'PIKOBLX', identifier: 'PIKO', vcp: true},
vcp: true {name: 'RACEBASE', identifier: 'RBFC', vcp: false},
}, { {name: 'RCEXPLORERF3', identifier: 'REF3', vcp: true},
name: "Colibri Race", {name: 'AIRBOTF4', identifier: 'AIR4', vcp: true},
identifier: "CLBR", {name: 'REVOLT', identifier: 'REVO', vcp: true},
vcp: true {name: 'REVO', identifier: 'RVLT', vcp: true},
}, { {name: 'REVONANO', identifier: 'REVN', vcp: true},
name: "SP Racing F3", {name: 'RMDO', identifier: 'RMDO', vcp: false},
identifier: "SRF3", {name: 'SINGULARITY', identifier: 'SING', vcp: true},
vcp: false {name: 'SIRINFPV', identifier: 'SIRF', vcp: true},
}, { {name: 'SOULF4', identifier: 'SOUL', vcp: true},
name: "SP Racing F3 Mini", {name: 'SPARKY2', identifier: 'SPK2', vcp: true},
identifier: "SRFM", {name: 'SPARKY', identifier: 'SPKY', vcp: true},
vcp: true {name: 'SPRACINGF3EVO', identifier: 'SPEV', vcp: true},
}, { {name: 'SPRACINGF3', identifier: 'SRF3', vcp: false},
name: "SP Racing F3 EVO", {name: 'SPRACINGF3MINI', identifier: 'SRFM', vcp: true},
identifier: "SPEV", {name: 'STM32F3DISCOVERY', identifier: 'SDF3', vcp: true},
vcp: true {name: 'VRRACE', identifier: 'VRRA', vcp: true},
}, { {name: 'X_RACERSPI', identifier: 'XRC3', vcp: false},
name: "Alienflight F3", {name: 'YUPIF4', identifier: 'YPF4', vcp: true},
identifier: "AFF3", {name: 'ZCOREF3', identifier: 'ZCF3', vcp: false}
vcp: true
}, {
name: "ImmersionRC Fusion F3",
identifier: "IFF3",
vcp: false
}, {
name: "MotoLab",
identifier: "MOTO",
vcp: true
}, {
name: "Lux Race",
identifier: "LUX",
vcp: true
}, {
name: "KISS FC",
identifier: "KISS",
vcp: true
}, {
name: "Singularity",
identifier: "SING",
vcp: true
}, {
name: "VRRACE",
identifier: "VRRA",
vcp: true
}, {
name: "Colibri",
identifier: "COLI",
vcp: true
}, {
name: "Sparky 2",
identifier: "SPK2",
vcp: true
}, {
name: "Air Hero F3",
identifier: "AIR3",
vcp: false
}, {
name: "AIORACERF3",
identifier: "ARF3",
vcp: true
}, {
name: "ALIENFLIGHTF4",
identifier: "AFF4",
vcp: true
}, {
name: "F4BY",
identifier: "F4BY",
vcp: true
}, {
name: "X_RACERSPI",
identifier: "XRC3",
vcp: false
}, {
name: "AIR32",
identifier: "AR32",
vcp: true
}, {
name: "FURYF3",
identifier: "FYF3",
vcp: true
}, {
name: "ALIENFLIGHTF1",
identifier: "AFF1",
vcp: false
}, {
name: "PIKOBLX",
identifier: "PIKO",
vcp: true
}, {
name: "OMNIBUSF4",
identifier: "OBF4",
vcp: true
}, {
name: "REVONANO",
identifier: "REVN",
vcp: true
}, {
name: "DOGE",
identifier: "DOGE",
vcp: true
}, {
name: "BLUEJAYF4",
identifier: "BJF4",
vcp: true
}, {
name: "SIRINFPV",
identifier: "SIRF",
vcp: false
}, {
name: "OMNIBUS",
identifier: "OMNI",
vcp: true
}, {
name: "FURYF4",
identifier: "FYF4",
vcp: true
}, {
name: "ZCOREF3",
identifier: "ZCF3",
vcp: false
}, {
name: "MICROSCISKY",
identifier: "MSKY",
vcp: false
}, {
name: "RMDO",
identifier: "RMDO",
vcp: false
}, {
name: "REVO",
identifier: "REVO",
vcp: true
}
]; ];
var DEFAULT_BOARD_DEFINITION = { var DEFAULT_BOARD_DEFINITION = {
name: "Unknown", name: "Unknown", identifier: "????", vcp: false
identifier: "????",
vcp: false
}; };
var BOARD = { var BOARD = {};
};
BOARD.find_board_definition = function (identifier) { BOARD.find_board_definition = function (identifier) {
for (var i = 0; i < BOARD_DEFINITIONS.length; i++) { for (var i = 0; i < BOARD_DEFINITIONS.length; i++) {
var candidate = BOARD_DEFINITIONS[i]; var candidate = BOARD_DEFINITIONS[i];
if (candidate.identifier == identifier) { if (candidate.identifier == identifier) {
return candidate; return candidate;
} }