Michał Kopeć
6d142f4923
examples/isp.rs: handle more USB UART adapter paths
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2024-06-20 12:34:30 +02:00
Jeremy Soller
763269951a
ISP: support 256KiB ROM
2024-03-20 12:13:25 -06:00
Tim Crawford
2b94b81b97
Fix isp example with serialport 4
...
serialport 4 changed TTY construction from a settings object to a
builder pattern.
Signed-off-by: Tim Crawford <tcrawford@system76.com >
2022-04-04 13:06:14 -06:00
Jeremy Soller
c7159d5b6c
0.1.3
2022-04-04 11:40:29 -06:00
Tim Crawford
b78471989a
Use asm from core::arch
...
asm was stabilized in Rust 1.59.0. It is now in `core::arch` and not in
the prelude.
Fixes compiling using the 2022-03-18 toolchain.
Signed-off-by: Tim Crawford <tcrawford@system76.com >
2022-04-04 11:34:43 -06:00
Tim Crawford
ba7f32e1fe
isp: Only flash ECs with known IDs
...
Signed-off-by: Tim Crawford <tcrawford@system76.com >
2022-01-21 17:34:31 -07:00
Tim Crawford
b08db29313
Fix build warnings and errors on nightly
...
Update redox_hwio to fix building dependencies on nightly.
Fix warnings:
- deprecated
- bare_trait_objects
- unused_must_use
- clippy::chars_next_cmp
- clippy::while_let_on_iterator
- clippy::redundant_field_names
- clippy::needless_borrow
- clippy::println_empty_string
Silence warnings:
- dead_code
- clippy::missing_safety_doc
- clippy::needless_range_loop
- clippy::result_unit_err
Signed-off-by: Tim Crawford <tcrawford@system76.com >
2021-10-21 10:56:38 -06:00
Jeremy Soller
1f947933e1
Update dependencies and use llvm_asm
2020-10-06 13:28:17 -06:00
Jeremy Soller
fc3f098fda
Remove smfi example
2020-02-25 14:28:58 -07:00
Jeremy Soller
945ec8d276
Add console reading in smfi example
2020-02-17 13:28:39 -07:00
Jeremy Soller
5a9300d804
Add SMFI example
2020-02-17 11:24:56 -07:00
Jeremy Soller
e5b146b51d
Add tcpc debug
2020-02-13 11:55:05 -07:00
Jeremy Soller
c3e24c793f
Comment out debug messages
2020-02-05 11:33:03 -07:00
Jeremy Soller
ec782d48ab
Debug PMC interaction
2020-01-30 15:23:20 -07:00
Jeremy Soller
e0c63f2f0d
Add PMC3 flashing method
2020-01-16 14:36:23 -07:00
Jeremy Soller
c7c9033ac6
Fix warning
2020-01-16 11:51:00 -07:00
Jeremy Soller
0a10780759
Fix compile issue
2020-01-16 09:23:03 -07:00
Jeremy Soller
54e95611b7
Wait for key release
2020-01-16 09:21:17 -07:00
Jeremy Soller
c4b1687eb3
Switch to scratch ROM before doing internal flashing
2020-01-16 09:19:16 -07:00
Jeremy Soller
96105164d0
Add support for internal flashing (WIP)
2020-01-16 09:07:15 -07:00
Jeremy Soller
ae1b31df6e
Improve erase speed of isp
2020-01-13 20:40:02 -07:00
Jeremy Soller
67c1a450b3
Add sector erase to fix erase of 5570
2020-01-09 16:07:57 -07:00
Jeremy Soller
d093d90ab1
Add EC memory snoop using debugger
2020-01-09 16:07:05 -07:00
Jeremy Soller
9e8f155bea
Add I2EC for later use
2020-01-05 18:19:18 -07:00
Jeremy Soller
ff282ecc91
Abstraction for SPI bus
2020-01-05 14:43:05 -07:00