commit 57214e9a4ee53cfc4e7fdb362329bbb2ee2e2513 Author: spacemeowx2 Date: Thu Dec 3 16:47:36 2020 +0800 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4fffb2f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/target +/Cargo.lock diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..628bfbb --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,9 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "blflash" +version = "0.1.0" + +[[package]] +name = "cargo-blflash" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..e7a7666 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,5 @@ +[workspace] +members = [ + "cargo-blflash", + "blflash", +] diff --git a/README.md b/README.md new file mode 100644 index 0000000..aa46a22 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# blflash + +BL602 serial flasher + +Inspired by https://github.com/esp-rs/espflash diff --git a/blflash/Cargo.toml b/blflash/Cargo.toml new file mode 100644 index 0000000..49ad5c1 --- /dev/null +++ b/blflash/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "blflash" +version = "0.1.0" +authors = ["spacelin "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/blflash/src/main.rs b/blflash/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/blflash/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/cargo-blflash/Cargo.toml b/cargo-blflash/Cargo.toml new file mode 100644 index 0000000..b8c1ce3 --- /dev/null +++ b/cargo-blflash/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "cargo-blflash" +version = "0.1.0" +authors = ["spacelin "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/cargo-blflash/src/main.rs b/cargo-blflash/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/cargo-blflash/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}