mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-05 08:28:32 +00:00
ATL-61: Implemented burn bootloader.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -11,6 +11,7 @@ export const CoreService = Symbol('CoreService');
|
||||
export interface CoreService extends JsonRpcServer<CoreServiceClient> {
|
||||
compile(options: CoreService.Compile.Options): Promise<void>;
|
||||
upload(options: CoreService.Upload.Options): Promise<void>;
|
||||
burnBootloader(options: CoreService.Bootloader.Options): Promise<void>;
|
||||
}
|
||||
|
||||
export namespace CoreService {
|
||||
@@ -29,4 +30,12 @@ export namespace CoreService {
|
||||
Compile.Options & Readonly<{ programmer: Programmer, port?: string }>;
|
||||
}
|
||||
|
||||
export namespace Bootloader {
|
||||
export interface Options {
|
||||
readonly fqbn: string;
|
||||
readonly programmer: Programmer;
|
||||
readonly port: string;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user