diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-02-14 18:50:59 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-02-14 18:50:59 +0200 |
| commit | 73196dd48da9d16b6949ab9dec0ae0a5d63accfe (patch) | |
| tree | 04bbaade70fb016423d7cd43161f4cbc8bc04b79 /Software/Visual_Studio/Tango.Integration/Upgrade | |
| parent | b6283ab40fafa8e738e8e3fec260777a4d250597 (diff) | |
| download | Tango-73196dd48da9d16b6949ab9dec0ae0a5d63accfe.tar.gz Tango-73196dd48da9d16b6949ab9dec0ae0a5d63accfe.zip | |
Working on DFU firmware upgrade...
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Upgrade')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Upgrade/FirmwareUpgradeModes.cs | 18 | ||||
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Upgrade/FirmwareUpgradeStatus.cs | 2 |
2 files changed, 20 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Upgrade/FirmwareUpgradeModes.cs b/Software/Visual_Studio/Tango.Integration/Upgrade/FirmwareUpgradeModes.cs new file mode 100644 index 000000000..e96b55278 --- /dev/null +++ b/Software/Visual_Studio/Tango.Integration/Upgrade/FirmwareUpgradeModes.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.Integration.Upgrade +{ + /// <summary> + /// Represents a bitwise enumeration for setting the firmware upgrade mode of the machine operator. + /// </summary> + public enum FirmwareUpgradeModes + { + DFU = 1, + TFP_PACKAGE = 2, + BOOT_LOADER = 4, + } +} diff --git a/Software/Visual_Studio/Tango.Integration/Upgrade/FirmwareUpgradeStatus.cs b/Software/Visual_Studio/Tango.Integration/Upgrade/FirmwareUpgradeStatus.cs index 0d8449ee9..cf9cb2364 100644 --- a/Software/Visual_Studio/Tango.Integration/Upgrade/FirmwareUpgradeStatus.cs +++ b/Software/Visual_Studio/Tango.Integration/Upgrade/FirmwareUpgradeStatus.cs @@ -11,6 +11,8 @@ namespace Tango.Integration.Upgrade { [Description("Initializing...")] Initializing, + [Description("Upgrading Firmware...")] + Upgrading, [Description("Uploading files...")] Uploading, [Description("Validating version...")] |
