Sergio Gasquez Arcos
3c145c98f6
Merge CI/CD files ( #470 )
...
* ci: Merge CI files into a single one
* ci: Merge CD files into a single one
* ci: Use a matrix
2023-09-13 10:54:44 -07:00
Dániel Buga
5b3dee083b
Delay processing of incomplete UTF-8 sequences
2023-09-12 08:31:19 -07:00
Joseph Ross
129439a7a1
Fix CI checks ( #465 )
...
* Adopt fork of gha-ubuntu-cross with apt update fix.
* Fix new clippy warning. We really do want an array with a single Range member.
* Update to better fix for gha-ubuntu-cross
* Avoid updating clap to newer minor versions
* Resolve incorrect_partial_ord_impl_on_ord_type clippy error
---------
Co-authored-by: Dániel Buga <bugadani@gmail.com >
2023-09-12 08:16:01 -07:00
Sergio Gasquez
c80b91badd
docs: Document vendored-ssl
2023-07-26 05:44:30 -07:00
Jesse Braham
4e7c018954
Begin next release cycle
2023-07-13 11:05:39 -07:00
Jesse Braham
5a16115b41
Version 2.0.1
v2.0.1
2023-07-13 10:49:53 -07:00
Myk Melez
7ce1ca203b
update 'cargo' dependency to 0.72
2023-07-13 10:19:13 -07:00
Jesse Braham
af27af866d
Set merge=union git attribute for CHANGELOG.md
...
Currently all PRs add a line to CHANGELOG.md; this means they almost always run into merge conflicts since they are adding different lines at the exact same place in the file.
With `merge=union`, git will automatically resolve these merge conflicts by keeping all lines from both sides.
2023-07-12 09:31:58 -07:00
Jesse Braham
1c0a14ce68
Add help text for all subcommands ( #441 )
...
* Add help text for all subcommands
* Update CHANGELOG
* Fix a typo
2023-07-06 06:06:35 -07:00
Sergio Gasquez Arcos
660f40fe27
Create issue_handler.yml
2023-06-22 05:46:30 -07:00
Jesse Braham
3faaab23cf
Begin next release cycle
2023-06-20 06:44:33 -07:00
Jesse Braham
0ed54965b2
Version 2.0.0
v2.0.0
2023-06-20 05:53:16 -07:00
Jesse Braham
e445c184e4
Fix a number of spelling errors in the documentation ( #433 )
...
* Add missing doc comments for error types
* Fix a number of spelling errors in the documentation
* Minor improvements to errors
* Capitalize acronyms
2023-06-20 03:45:35 -07:00
Jesse Braham
e5f0e17a2d
Explicitly set bin_name attribute for cargo-espflash ( #432 )
...
* Explicitly set `bin_name` attribute for `cargo-espflash`
* Update CHANGELOG
2023-06-20 01:52:19 -07:00
Jesse Braham
3bba961245
Begin next release cycle
2023-06-08 07:19:19 -07:00
Jesse Braham
4c72451db6
Version 2.0.0-rc.4
v2.0.0-rc.4
2023-06-08 06:54:35 -07:00
Jesse Braham
a0b2435439
Restructure the READMEs a bit to (hopefully) make information more discoverable
2023-06-08 06:54:35 -07:00
Jesse Braham
06259e9587
Update flasher stubs and bootloaders ( #426 )
...
* Update all flasher stubs to their latest versions
* Rebuild all bootloaders using the `release/v5.1` branch
* Update the resources `README`
* Regenerate test image, so that tests pass again
* Re-build the bootloader for the C2 to support newer revisions
2023-06-08 06:01:42 -07:00
Jesse Braham
0628b75430
Add a simple pre-commit git hook to verify formatting
2023-06-07 07:29:35 -07:00
Jesse Braham
36804b0cd2
Update the supported targets for ESP32-C6/H2
2023-06-07 07:02:59 -07:00
Jesse Braham
80ac7191ad
Additionally check the x86_64-unknown-linux-musl target in CI
2023-06-06 07:32:18 -07:00
Jesse Braham
65bd430d1f
Update the release workflow
2023-06-05 06:12:39 -07:00
Jesse Braham
a045f53cb8
Add missing import when using linux and musl
2023-06-01 08:59:58 -07:00
Jesse Braham
151ca29a09
Update the CI workflow
2023-06-01 07:17:00 -07:00
Jesse Braham
092a637e98
Override the flash size in Flasher if provided via command-line argument
2023-05-31 05:48:59 -07:00
Jesse Braham
d9f8f8bdf2
Fix handling of serial ports on BSD systems
2023-05-31 05:48:43 -07:00
Sergio Gasquez Arcos
f447c4ea8f
Add CHANGELOG ( #416 )
...
* docs: ✨ Add changelog
* ci: ✨ Add changelog CI check
* ci: 🔥 Remove changelog check
2023-05-31 05:48:08 -07:00
Jesse Braham
4a11489a6f
Downgrade crossterm to 0.25.0
2023-05-30 09:37:27 -07:00
Jesse Braham
2c00fd1aab
Make erasing partitions possible when using package metadata, improve error help
2023-05-30 07:15:07 -07:00
Scott Mabin
33e32c196b
limit default partition size
...
Some chips can have more than 16MB of flash, mine as 32MB. Historically
espflash failed to detect this flash size but now can. Without this
change the board will boot loop because the esp idf bootloader max size
is only 16MB.
2023-05-29 10:02:57 -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
d7ef525cb9
Add issue templates ( #403 )
...
* feat: ✨ Add issue template
* feat: ✨ Add Target
* feat: ✨ Allow blank issues
* style: 🎨 Use checkboxes
* Update .github/workflows/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com >
---------
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com >
2023-05-26 09:52:40 -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
Loïc Damien
59c62fd0bd
docs: add configuration file examples
2023-05-11 11:29:12 -07:00
Scott Mabin
93fe962cd2
Reword elf to big error
...
See https://github.com/esp-rs/espflash/pull/397#discussion_r1184959133
2023-05-05 09:07:50 -07:00
Scott Mabin
6d521938d4
Add a diagnostic to tell the user about the partition table format when the image doesn't fit ( #397 )
2023-05-04 11:50:13 +01:00
Sergio Gasquez
b50f90a062
docs: 📝 Add note about permissions on Linux
2023-04-25 05:37:15 -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 Arcos
327f8d40e4
Make the default flashing frequency target specific ( #389 )
...
* feat: ✨ Add flash_freq to Esp32Params
* feat: ✨ Add flash_freq for all targets
* feat: ✨ Use the params flash_freq if no freq argment was used
* test: 🧪 Fix tests
* feat: ⚡ ️ Update default freq
2023-04-18 05:20:52 -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
jneem
cdddf539bc
If exactly one port matches, use it ( #374 )
...
* If exactly one port matches, use it
* Update espflash/src/cli/serial.rs
Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com >
---------
Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com >
2023-04-04 07:51:38 +02:00
Max Wase
8d9973eb00
Image header improvements and bugfixes ( #375 )
...
* Image header improvements and bugfixes
* Review fixes
2023-03-31 08:33:44 -07: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
259b5d944a
Fix Raspberry ci ( #377 )
...
* ci: 🔥 Delete duplicated file
* ci: ✨ Add rustfmt check
2023-03-28 08:05:59 -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
6f6322b3c0
Fix chip revision check during flashing for the ESP8266
2023-03-24 11:45:58 -07:00
Jesse Braham
4e9aba6aa4
Bump the MSRV to 1.64.0
2023-03-24 11:04:42 -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
Joseph Ross
e1209135fa
Disable watchdog timer before build. ( #363 )
...
* Ignore CLion project.
* Disable watchdog timer before build.
* Fix formatting.
* Re-enable the code to disable the watchdog, even if the flash stub is in use.
2023-03-24 10:21:22 -07:00