Jesse Braham
4a11489a6f
Downgrade crossterm to 0.25.0
2023-05-30 09:37:27 -07:00
Jesse Braham
984d95cddd
Update to the latest version of addr2line and address breaking changes
2023-05-29 07:44:04 -07:00
Sergio Gasquez Arcos
ad8e6a40c3
Fix Windows installation ( #399 )
...
* build: ➕ Avoid vendored openssl in Windows
* build: ⬆️ Update cargo version
* feat: ✨ Add resolver property
* build: ⬆️ Bump MSRV to 1.65
2023-05-26 09:40:27 -07:00
Sergio Gasquez Arcos
f26240398f
Generate Shell completions ( #388 )
...
* feat: ✨ Add shell completions for espflash
* docs: 📝 Update usage
* feat: ✨ Use crate_name! macro from clap instead of hardcoded name
* feat: ✨ Remove log level
* build: ⚡ ️ Remove cargo feature from clap
* feat: ✨ Add shell completions
* docs: 📝 Add docstring for completions
* docs: 📝 Document cargo-espflash completions
* feat: ⚡ ️ Avoid duplicating code
2023-04-19 08:04:42 -07:00
Sergio Gasquez
f098b0eca9
build: ⬆️ Bump version to rc.4
2023-04-04 15:39:09 +02:00
Sergio Gasquez Arcos
e8cd385be1
Fix config file parsing ( #382 )
...
* build: ➕ Update dependencies
* feat: ✨ Add hex_u16 parser
* test: 🧪 Add test fn
* build: ⬆️ Make hex optional
* fix: 🎨 Fix clippy warnings
* feat: ✨ Add serialization method
* test: 🧪 Add test fn
* fix: ✨ Avoid panicking by underflow
* docs: 📝 Remove confusing docstring
* docs: 📝 Remove confusing docstring
* style: 🎨 Improve test format
* style: 🎨 Improve test format
2023-04-04 14:19:47 +01:00
Jesse Braham
21f1fa1912
Update toml dependency and fix errors, feature gate ctrlc dependency ( #378 )
...
* Update `toml` dependency to latest version and make required changes
* Put the `ctrl` dependency behind the `cli` option where it belongs
2023-03-30 11:09:03 -07:00
Sergio Gasquez Arcos
3516c4bfd0
Update documentation ( #368 )
...
* ci: ✨ Add Rasberry CI
* ci: 🐛 Fix typo
* ci: 🐛 Fix args order
* ci: 🐛 Fix args order
* ci: ⬆️ Bump actions/checkout
* ci: ⬆️ Bump Swatinem/rust-cache
* ci: ⚡ ️ Avoid using actions-rs
* ci: ⚡ ️ Replace actions-rs/toolchain by dtolnay/rust-toolchain
* ci: ⚡ ️ Fix CI warnings
* ci: 🎨 Fix inputs
* ci: ⚡ ️ Update mad9000/actions-find-and-replace-string and remove action-rs
* ci: ⚡ ️ Update mad9000/actions-find-and-replace-string and remove action-rs
* style: 🚨 Fix clippy warning
* docs: 🎨 Fix links
* build: 🎨 Format includes
* style: 🎨 Sort dependencies
* build: ⬆️ Bump dependencies
* build: ⬆️ Bump dependencies
* ci: ⚡ ️ Fail if there is a clippy warning
* docs: 📝 Remove docstrings
* docs: 📝 Update docstrings
* docs: 📝 Update monitor docstrings
* docs: 📝 Update monitor docstrings
* docs: 📝 Update config docstrings
* docs: 📝 Update cli mod docstrings
* docs: 📝 Update docstrings
* style: 🔊 Update log
* revert: ⏪ ️ Revert cargo version upgrade
* revert: ⏪ ️ Revert cargo version upgrade
* ci: ⚡ ️ Fail on clippy warnings
* build: ⬇️ Downgrade dependencies to maintain msrv
* build: ⏪ ️ Rever pinned dependency
* Update espflash/src/flasher/mod.rs
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com >
* docs: 📝 Add refences to types
* docs: 📝 Fix typo
---------
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com >
2023-03-27 11:45:10 -07:00
Jesse Braham
e6daeccdcb
Restore the cursor when exiting from serial port selection via Ctrl-c
2023-03-24 11:04:42 -07:00
Jesse Braham
60224d1e2a
Version 2.0.0-rc.3
2023-01-12 08:29:58 -08:00
Jesse Braham
3aee2b2351
CLI improvements and dependency updates ( #334 )
...
* Update dependencies to their latest versions
* Derive `clap::ValueEnum` instead of using a macro
* Simplify flash config enums, make them more consistent
* Fix a bunch of clippy warnings
2023-01-10 09:26:11 -08:00
Jesse Braham
f8ef0b424c
Version 2.0.0-rc.2
2022-12-07 03:26:10 -08:00
Jesse Braham
3a6abd3f85
Add support for using custom cargo metadata when in a workspace
2022-12-01 07:07:58 -08:00
Jesse Braham
04087f840b
Update dependencies to their latest versions
2022-11-16 08:21:40 -08:00
Jesse Braham
35eaebace9
Version 2.0.0-rc.1
2022-11-07 09:45:41 -08:00
Jesse Braham
f9b7dae0a8
Bump MSRV to 1.62.0 and update all dependencies ( #279 )
...
* Bump the MSRV to 1.62.0
* Update all dependencies
2022-10-28 15:03:43 -07:00
Jesse Braham
1ebca351f8
Load stubs from TOML instead of JSON files ( #277 )
...
* Remove unused stub files
* Convert the stub files to TOML, eliminate the `serde_json` dependency
2022-10-28 11:16:55 -07:00
Maxime BORGES
abd8208332
Replace --erase-otadata with --erase-parts and --erase-data-parts ( #273 )
...
* Replace --erase-otadata with --erase-parts and --erase-data-parts
* Update esp-idf-part to v0.1.1
2022-10-26 11:43:32 -07:00
Jesse Braham
3a437ae04b
Clean up the image format enums ( #258 )
...
* Eliminate the `ImageFormatType` enum, as its redundant
* Rename `ImageFormatId` to `ImageFormatKind`
* Rename `ImageFormatKind::Bootloader` variant to `EspBootloader`
2022-10-13 09:41:26 -07:00
Jesse Braham
046c467458
Remove the espmonitor dependency, re-implement our own monitor ( #254 )
...
* Remove the `espmonitor` dependency, re-implement our own monitor
Unfortunately since `espmonitor` is licensed under GPL we are no longer able to use it after the relicensing
* Modify the regex to search for *all* valid hex literals
2022-10-05 07:13:00 -07:00
Jesse Braham
fee2762bb0
Update to clap@4.0.x ( #251 )
...
* Update `cargo_toml` and a handful of other dependencies
* Update to `clap@4.0.x`
* Fix a number of small issues with the CLI, minor visual tweaks
* Use the more specific derive attributes added in `4.x`
2022-10-04 14:23:59 -07:00
Jesse Braham
4f094ebc69
Fix imports and build errors, some simplification
2022-09-28 08:03:23 -07:00
Jesse Braham
d4ca4a2d93
Use the published release of esp-idf-part
2022-09-26 11:04:42 -07:00
Jesse Braham
89baf8fcf7
Remove unused dependencies
2022-09-26 09:18:14 -07:00
Jesse Braham
abb194aead
Remove the existing partition_table module and pull in esp-idf-part
...
"In the beginning, all was broken..."
2022-09-26 09:18:14 -07:00
Dániel Buga
e4b7be742d
Add support for Raspberry Pi's internal UART peripherals
2022-09-26 16:54:35 +02:00
Jesse Braham
68f43f079c
Bump the versions to 2.0.0-dev
2022-09-21 09:24:32 -07:00
Jesse Braham
195f46117f
Add modules containing helper functions for initializing the logger and checking for updates
2022-09-20 07:27:24 -07:00
Jesse Braham
125a252ee0
Begin next development cycle for 1.7.1
2022-09-16 09:39:48 -07:00
Jesse Braham
8a42780e85
Version 1.7.0
2022-09-16 09:25:30 -07:00
Jesse Braham
af1202fc33
Move the bootloaders and stubs into a common resources directory, update dependencies ( #231 )
...
* Move the bootloaders and flasher stubs into a common resources directory
* Flatten the stubs module
* Update and normalize dependencies
2022-09-09 11:16:58 -07:00
ryan kurte
d8219806ed
add log framework, stub decode tests
2022-08-08 11:15:40 +12:00
ryan kurte
fc5643b0b5
enable support for loader stubs (via --use-stub arg)
2022-08-07 20:49:58 +12:00
Jesse Braham
312c115f55
Check if a new version if available upon invocation
2022-08-03 21:07:50 +02:00
Jesse Braham
8a9a30c2a3
Bump dependencies and fix resulting build errors
2022-08-03 19:15:32 +02:00
Jesse Braham
4c6b94d254
Begin next development cycle for 1.6.1
2022-07-11 10:26:32 -07:00
Jesse Braham
433f5d9843
Version 1.6.0
2022-07-11 09:41:36 -07:00
Jesse Braham
21743742fb
Add support for flashing the ESP32-C2 (aka ESP8684) ( #204 )
...
* No longer try to detect chip from target, as we will have multiple RISC-V chips
* Reduce the repetition required to define a chip
* Add support for per-chip flash frequency encodings
* Add support for flashing the ESP32-C2 (aka ESP8684)
2022-07-06 15:23:42 +01:00
Jesse Braham
976173b662
Update crossterm and remove the temporary bugfix from our monitor
2022-07-05 07:19:01 -07:00
Jesse Braham
caf5df9b34
Allow hex or decimal addresses to be passed to the write bin subcommand
2022-07-04 11:59:51 -07:00
Jesse Braham
d54ad86d3e
Update serialport and other dependencies
2022-06-02 10:49:36 -07:00
Jesse Braham
4776cf0ed8
Begin next development cycle for 1.5.2
2022-05-11 10:24:13 -07:00
Jesse Braham
cd234a7ea4
Version 1.5.1
2022-05-11 09:36:53 -07:00
Jesse Braham
3b34e61034
Begin next development cycle for 1.5.1
2022-05-11 08:19:13 -07:00
Jesse Braham
c2e0111539
Version 1.5
2022-05-11 07:41:32 -07:00
Sven-Hendrik Haase
e66434e8b8
Add partition-table subcommand
2022-04-30 21:26:42 +02:00
Jesse Braham
d954218f19
Make the Cargo manifests more consistent, update and sort dependencies
2022-04-20 10:15:04 -07:00
Jesse Braham
a34c3a47cd
Begin next development cycle for 1.5.0
2022-04-19 10:46:58 -07:00
Jesse Braham
bb45144800
Version 1.4.1
2022-04-19 10:25:45 -07:00
Jesse Braham
d1016ef408
Begin next development cycle for 1.5.0
2022-04-06 10:17:23 -07:00