Commit ·
57214e9
0
Parent(s):
Initial commit
Browse files- .gitignore +2 -0
- Cargo.lock +9 -0
- Cargo.toml +5 -0
- README.md +5 -0
- blflash/Cargo.toml +9 -0
- blflash/src/main.rs +3 -0
- cargo-blflash/Cargo.toml +9 -0
- cargo-blflash/src/main.rs +3 -0
.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/target
|
| 2 |
+
/Cargo.lock
|
Cargo.lock
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file is automatically @generated by Cargo.
|
| 2 |
+
# It is not intended for manual editing.
|
| 3 |
+
[[package]]
|
| 4 |
+
name = "blflash"
|
| 5 |
+
version = "0.1.0"
|
| 6 |
+
|
| 7 |
+
[[package]]
|
| 8 |
+
name = "cargo-blflash"
|
| 9 |
+
version = "0.1.0"
|
Cargo.toml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[workspace]
|
| 2 |
+
members = [
|
| 3 |
+
"cargo-blflash",
|
| 4 |
+
"blflash",
|
| 5 |
+
]
|
README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# blflash
|
| 2 |
+
|
| 3 |
+
BL602 serial flasher
|
| 4 |
+
|
| 5 |
+
Inspired by https://github.com/esp-rs/espflash
|
blflash/Cargo.toml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "blflash"
|
| 3 |
+
version = "0.1.0"
|
| 4 |
+
authors = ["spacelin <spacelin@tencent.com>"]
|
| 5 |
+
edition = "2018"
|
| 6 |
+
|
| 7 |
+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
| 8 |
+
|
| 9 |
+
[dependencies]
|
blflash/src/main.rs
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fn main() {
|
| 2 |
+
println!("Hello, world!");
|
| 3 |
+
}
|
cargo-blflash/Cargo.toml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "cargo-blflash"
|
| 3 |
+
version = "0.1.0"
|
| 4 |
+
authors = ["spacelin <spacelin@tencent.com>"]
|
| 5 |
+
edition = "2018"
|
| 6 |
+
|
| 7 |
+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
| 8 |
+
|
| 9 |
+
[dependencies]
|
cargo-blflash/src/main.rs
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fn main() {
|
| 2 |
+
println!("Hello, world!");
|
| 3 |
+
}
|