mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2025-02-25 11:47:14 +00:00
* Boot: switch to DFU routines. Implements #132 part 1 of 2. * Boot: boot to DFU shortcut, hard reset USB on each boot. Implements #132 part 2 of 2. * Deploy scripts: fix path for deploy dfu. * Bootloader: initial version. Target_f2: rebase, update deployment scripts. * Bootloader: cleanup, refactor switch2 proc. Readme,wiki: document bootloader. * Wiki: deploy symlinks as files, bootloader info. * Target_f2: valid flash size in linker script. * Github CI: bootloader build and artifacts. * Bootloader: rename platforms to targets. * Bootloader: change dfu/os colors. * disable set -e * lint code * add bootloader testing page Co-authored-by: Aleksandr Kutuzov <aku@plooks.com> Co-authored-by: aanper <mail@s3f.ru>
802 B
802 B
Bootloader test
-
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
1. Press right
2. Press left
3. Wait 0.1 s
4. Release left
5. Release right
- Wait 0.5 s
-
Expect FW
- Expect: uart welcome message
- Expect: USB Flipper CDC