Start MMD / HPD / MC:
DEFMT_LOG=pizzaro=debug,can2040=debug,debug cargo run --release --package pizzaro --bin mmd_main -- --probe 2e8a:000c:<mmd_serial>
DEFMT_LOG=pizzaro=debug,can2040=debug,debug cargo run --release --package pizzaro --bin hpd_main -- --probe 2e8a:000c:<hpd_serial>
DEFMT_LOG=pizzaro=debug,can2040=debug,debug cargo run --release --package pizzaro --bin mc_main -- --probe 2e8a:000c:<mc_serial>
Run pc_controller to connect MC:
cargo run --bin pc_controller -- --probe 16c0:27dd
You can use command "list_ports" to list all usb serial ports connected with the machine:
$ list_ports
Found 5 ports:
/dev/ttyACM1
Type: USB
VID:2e8a PID:000c
Serial Number: 65CD5C1714224E53
Manufacturer: Raspberry Pi
Product: Picoprobe (CMSIS-DAP)
/dev/ttyACM3
Type: USB
VID:16c0 PID:27dd
Serial Number: TEST
Manufacturer: Fake company
Product: Serial port
/dev/ttyACM0
Type: USB
VID:2e8a PID:000c
Serial Number: 4150335631373503
Manufacturer: Raspberry Pi
Product: Picoprobe (CMSIS-DAP)
/dev/ttyACM2
Type: USB
VID:2e8a PID:000c
Serial Number: E4632448A72B5931
Manufacturer: Raspberry Pi
Product: Picoprobe (CMSIS-DAP)
/dev/ttyS0
Type: Unknown
Please make sure your code passed the criteria below for each of your commits:
cargo build --release && cargo build --release --examples
python integration/run_all_tests.py
python integration/run_smoke_test.py