43e5cf4ba3
Fix or silence clippy warnings on nightly
...
Fix:
- dead_code
- clippy::if_then_panic
- clippy::manual_memcpy
- clippy::needless_borrow
Silence:
- clippy::missing_safety_doc
- clippy::needless_range_loop
- clippy::single_match
Signed-off-by: Tim Crawford <tcrawford@system76.com >
2021-10-26 11:35:48 -06:00
3e154d7f00
Add missing SPDX identifiers
2021-02-22 14:02:18 -07:00
b2aa7ba975
ectool 0.2.2: Use buffer to improve SPI performance
2020-10-06 09:31:34 -07:00
726a0e0837
ectool version 0.2.1:
...
- Add hidapi feature
- Add redox_hwio feature
- Add feature documentation
2020-10-02 09:05:25 -07:00
eff4caa752
Refactor SMFI interface and ectool
2020-10-01 19:35:34 -07:00
ad5cd931e3
Move StdTimeout to ectool under std feature
2020-09-29 19:42:05 -06:00
68b9acd249
Add ability to flash backup rom
2020-02-26 13:43:31 -07:00
657437e1ce
Faster flashing with SMFI ( #32 )
...
* WIP: support for new flashing API
* Add SPI flashing support to tool
* Add timeouts when flashing with ectool
* Test SPI reading
* Use chunks for SPI commands
* Sanity test of flash size
* Read rom in sectors
* Relocate memmap region, remove PMC3
* Use ectool to flash
* Remove debugging of spi command
* Fix flashing over smfi
2020-02-26 09:04:40 -07:00
8d0bab01f7
Add more subcommands to tool
2020-02-24 13:42:00 -07:00
d511a57bff
Add firmware struct to tool
2020-02-24 10:23:36 -07:00
369a695bd9
Add timeout macro to simplify timeout logic
2020-02-20 21:09:10 -07:00
08490002b9
Add tool (WIP)
2020-02-20 14:20:16 -07:00