| Crates.io | pico-uf2 |
| lib.rs | pico-uf2 |
| version | 1.0.2 |
| created_at | 2024-07-30 01:48:10.666125+00 |
| updated_at | 2024-07-30 08:04:22.142878+00 |
| description | elf to uf2, Automatically restart to enter BootSLE |
| homepage | https://github.com/Jaydar/pico-tools |
| repository | https://github.com/Jaydar/pico-tools/tree/master/pico-uf2 |
| max_upload_size | |
| id | 1319394 |
| size | 43,666 |
Implement log viewing and automatic deployment using a self-built CDC.
1.install
cargo install pico-uf2
2.modify code
#[embassy_executor::main]
async fn main(spawner: Spawner) {
spawner.spawn(usb_cdc::init()).unwrap();
// ......
}
Arguments:
<INPUT> Input file
Options:
-b, --before <BEFORE> Start command sent to COM port, default is "Reboot"
-a, --after <AFTER> Connect to COM after operation, and send command to COM
-o, --output <OUTPUT> UF2 file output location
-h, --help Print help
-V, --version Print version
This project includes code borrowed or directly used from the following open-source projects: