-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace STM DfuSe with command line for DFU operation (#40)
- Loading branch information
1 parent
bf56403
commit b68a6e9
Showing
17 changed files
with
140 additions
and
1,505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
35 changes: 0 additions & 35 deletions
35
nanoFirmwareFlasher/Exceptions/BadDfuProtocolVersionException.cs
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
nanoFirmwareFlasher/Exceptions/CantReadDfuDescriptorException.cs
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
nanoFirmwareFlasher/Exceptions/CantReadUsbDescriptorException.cs
This file was deleted.
Oops, something went wrong.
7 changes: 6 additions & 1 deletion
7
nanoFirmwareFlasher/Exceptions/DfuFileDoesNotExistException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
nanoFirmwareFlasher/Exceptions/DfuOperationFailedException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// Copyright (c) 2020 The nanoFramework project contributors | ||
// See LICENSE file in the project root for full license information. | ||
// | ||
|
||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace nanoFramework.Tools.FirmwareFlasher | ||
{ | ||
/// <summary> | ||
/// Verification of DFU write failed. | ||
/// </summary> | ||
[Serializable] | ||
internal class DfuOperationFailedException : Exception | ||
{ | ||
public DfuOperationFailedException() | ||
{ | ||
} | ||
|
||
public DfuOperationFailedException(string message) : base(message) | ||
{ | ||
} | ||
|
||
public DfuOperationFailedException(string message, Exception innerException) : base(message, innerException) | ||
{ | ||
} | ||
|
||
protected DfuOperationFailedException(SerializationInfo info, StreamingContext context) : base(info, context) | ||
{ | ||
} | ||
} | ||
} |
28 changes: 0 additions & 28 deletions
28
nanoFirmwareFlasher/Exceptions/DfuVerificationFailedException.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.