sensor sweep tester
This commit is contained in:
@@ -28,12 +28,6 @@ If you need to map a label to code, use the same letter+number as in the silkscr
|
||||
cargo build --release
|
||||
```
|
||||
|
||||
## USB CDC Console (optional)
|
||||
|
||||
This project includes an optional software USB CDC-ACM device stack using embassy-usb. It runs on the CH32V203’s USB device peripheral but implements the protocol fully in software (no built-in USB class firmware is required).
|
||||
|
||||
How to enable:
|
||||
- Build with the `usb-cdc` feature: `cargo build --release --features usb-cdc`
|
||||
- Wire the MCU’s USB pins to a USB connector:
|
||||
- D+ (PA12)
|
||||
- D− (PA11)
|
||||
@@ -46,12 +40,6 @@ Example:
|
||||
- macOS: `screen /dev/tty.usbmodemXXXX 115200`
|
||||
- Windows: Use PuTTY on the shown COM port.
|
||||
|
||||
Notes:
|
||||
- The firmware currently implements an echo console: bytes you type are echoed back. You can extend it to print logs or interact with your application.
|
||||
- If you don’t see a device, ensure D+ (PA12) and D− (PA11) are connected and the cable supports data.
|
||||
|
||||
## Flash
|
||||
|
||||
You can flash the built ELF using wchisp (WCH ISP tool):
|
||||
|
||||
``` sh
|
||||
|
Reference in New Issue
Block a user