mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00:00
176e608c6d
* add minunit tests * fix logging * ignore unexisting time service on embedded targets * fix warning, issue with printf * add exitcode * migrate to printf * indicate test by leds * add testing description * redesigned minunit tests to allow testing in separate files * add test step for local target * add failure test * add restore test_check * testing description Co-authored-by: rusdacent <rusdacentx0x08@gmail.com> Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
778 B
778 B
# Clean flash
make -C bootloader flash
# Load bootloader
# reboot device
- Press right
- Press left
- Wait 0.1 s
- Release left
- Release right
- Wait 0.5 s
# Expect no FW
- Expect: no uart welcome message
- Expect: red led on
- Expect: no USB
# reboot device and go to DFU
- Press left
- Press right
- Wait 0.1 s
- Release left
- Wait 0.5 s
- Release right
- Wait 0.5 s
# Expect DFU
- Expect: blue led on
- Expect: USB: DFU
target_f2/deploy-dfu.sh
# load FW
# reboot device
- Press right
- Press left
- Wait 0.1 s
- Release left
- Release right
- Wait 0.5 s
# Expect FW
- Expect: uart welcome message
- Expect: USB Flipper CDC