Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #8 from DCC-EX/development
Browse files Browse the repository at this point in the history
Fix for missing FQBN
  • Loading branch information
dexslab authored Oct 15, 2020
2 parents 4c1b77d + 8a3727c commit b0da4ef
Show file tree
Hide file tree
Showing 2 changed files with 149 additions and 79 deletions.
2 changes: 1 addition & 1 deletion BaseStationInstaller/Models/Board.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public Board() { }
public string Name { get; set; }
//public ArduinoModel Platform { get; set; }

public string FQBN;
public string FQBN { get; set; }

public List<Platform> Platforms { get; set; }

Expand Down
226 changes: 148 additions & 78 deletions BaseStationInstaller/config.json
Original file line number Diff line number Diff line change
@@ -1,83 +1,153 @@
[
{
"Name": "BaseStationClassic",
"Git": "https://github.com/DCC-EX/BaseStation-Classic.git",
"Libraries": [],
"SupportedBoards": [
{
"Name": "Uno",
"Platforms": [{ "Architecture": "avr", "Package": "arduino" }],
"SupportedMotoShields": [
{ "Name": "Arduino Motor Shield", "ShieldType": 0 },
{ "Name": "Pololu MC33926 Motor Shield", "ShieldType": 1 }
]
},
{
"Name": "Mega",
"Platforms": [{ "Architecture": "avr", "Package": "arduino" }],
"SupportedMotoShields": [
{ "Name": "Arduino Motor Shield", "ShieldType": 0 },
{ "Name": "Pololu MC33926 Motor Shield", "ShieldType": 1 }
]
}
{
"Name": "BaseStationClassic",
"Git": "https://github.com/DCC-EX/BaseStation-Classic.git",
"Libraries": [],
"SupportedBoards": [
{
"Name": "Uno",
"FQBN": "arduino:avr:uno",
"Platforms": [
{
"Architecture": "avr",
"Package": "arduino"
}
],
"DisplayName": "Base Station Classic",
"InputFileLocation": "DCCpp",
"AllowAdvanced": false,
"ConfigFile": "DCCpp/Config.h"
},
{
"Name": "CommandStation-EX",
"Git": "https://github.com/DCC-EX/CommandStation-EX.git",
"Libraries": [
{
"Name": "DIO2",
"Repo": "https://github.com/Locoduino/DIO2.git",
"Location": "libraries/DIO2",
"LibraryDownloadAvailable": true
},
{
"Name": "SparkFun External EEPROM Arduino Library",
"Repo": "https://github.com/sparkfun/SparkFun_External_EEPROM_Arduino_Library.git",
"Location": "libraries/SparkFun_External_EEPROM_Arduino_Library",
"LibraryDownloadAvailable": true
}
"SupportedMotoShields": [
{
"Name": "Arduino Motor Shield",
"ShieldType": 0
},
{
"Name": "Pololu MC33926 Motor Shield",
"ShieldType": 1
}
]
},
{
"Name": "Mega",
"FQBN": "arduino:avr:mega",
"Platforms": [
{
"Architecture": "avr",
"Package": "arduino"
}
],
"SupportedBoards": [
{
"Name": "Uno",
"Platforms": [{ "Architecture": "avr", "Package": "arduino" }],
"SupportedMotoShields": [
{ "Name": "Arduino Motor Shield", "ShieldType": 0 },
{ "Name": "Pololu MC33926 Motor Shield", "ShieldType": 1 }
]
},
{
"Name": "Mega",
"Platforms": [{ "Architecture": "avr", "Package": "arduino" }],
"SupportedMotoShields": [
{ "Name": "Arduino Motor Shield", "ShieldType": 0 },
{ "Name": "Pololu MC33926 Motor Shield", "ShieldType": 1 }
]
},
{
"Name": "SAMD21",
"Platforms": [
{ "Architecture": "avr", "Package": "arduino" },
{ "Architecture": "samd", "Package": "arduino" },
{ "Architecture": "samd", "Package": "SparkFun" }
],
"SupportedMotoShields": [
{ "Name": "Arduino Motor Shield", "ShieldType": 0 },
{ "Name": "Pololu MC33926 Motor Shield", "ShieldType": 1 },
{ "Name": "FireBox MK1", "ShieldType": 3 },
{ "Name": "FireBox MK1S", "ShieldType": 4 }
]
}
"SupportedMotoShields": [
{
"Name": "Arduino Motor Shield",
"ShieldType": 0
},
{
"Name": "Pololu MC33926 Motor Shield",
"ShieldType": 1
}
]
}
],
"DisplayName": "Base Station Classic",
"InputFileLocation": "DCCpp",
"AllowAdvanced": false,
"ConfigFile": "DCCpp/Config.h"
},
{
"Name": "CommandStation-EX",
"Git": "https://github.com/DCC-EX/CommandStation-EX.git",
"Libraries": [
{
"Name": "DIO2",
"Repo": "https://github.com/Locoduino/DIO2.git",
"Location": "libraries/DIO2",
"LibraryDownloadAvailable": true
},
{
"Name": "SparkFun External EEPROM Arduino Library",
"Repo": "https://github.com/sparkfun/SparkFun_External_EEPROM_Arduino_Library.git",
"Location": "libraries/SparkFun_External_EEPROM_Arduino_Library",
"LibraryDownloadAvailable": true
}
],
"SupportedBoards": [
{
"Name": "Uno",
"FQBN": "arduino:avr:uno",
"Platforms": [
{
"Architecture": "avr",
"Package": "arduino"
}
],
"DisplayName": "CommandStation EX",
"InputFileLocation": "",
"AllowAdvanced": true,
"ConfigFile": "config.h"
}
"SupportedMotoShields": [
{
"Name": "Arduino Motor Shield",
"ShieldType": 0
},
{
"Name": "Pololu MC33926 Motor Shield",
"ShieldType": 1
}
]
},
{
"Name": "Mega",
"FQBN": "arduino:avr:mega",
"Platforms": [
{
"Architecture": "avr",
"Package": "arduino"
}
],
"SupportedMotoShields": [
{
"Name": "Arduino Motor Shield",
"ShieldType": 0
},
{
"Name": "Pololu MC33926 Motor Shield",
"ShieldType": 1
}
]
},
{
"Name": "SAMD21",
"FQBN": "SparkFun:samd",
"Platforms": [
{
"Architecture": "avr",
"Package": "arduino"
},
{
"Architecture": "samd",
"Package": "arduino"
},
{
"Architecture": "samd",
"Package": "SparkFun"
}
],
"SupportedMotoShields": [
{
"Name": "Arduino Motor Shield",
"ShieldType": 0
},
{
"Name": "Pololu MC33926 Motor Shield",
"ShieldType": 1
},
{
"Name": "FireBox MK1",
"ShieldType": 3
},
{
"Name": "FireBox MK1S",
"ShieldType": 4
}
]
}
],
"DisplayName": "CommandStation EX",
"InputFileLocation": ".",
"AllowAdvanced": true,
"ConfigFile": "config.h"
}
]

0 comments on commit b0da4ef

Please # to comment.