chore: added the documentation for flashing firmware from windows. (#83)
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> Co-authored-by: Dien-Nhung Nguyen <kein@kienlab.com>
This commit is contained in:
@@ -4,6 +4,7 @@ Hardware details and information to build an open firmware for Bluetooth LED bad
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
### Unix
|
||||||
Install [wchisp](https://github.com/ch32-rs/wchisp?tab=readme-ov-file#installing).
|
Install [wchisp](https://github.com/ch32-rs/wchisp?tab=readme-ov-file#installing).
|
||||||
|
|
||||||
Download prebuilt binaries from [release](https://github.com/fossasia/badgemagic-firmware/releases) or [the latest development builds](https://github.com/fossasia/badgemagic-firmware/tree/bin).
|
Download prebuilt binaries from [release](https://github.com/fossasia/badgemagic-firmware/releases) or [the latest development builds](https://github.com/fossasia/badgemagic-firmware/tree/bin).
|
||||||
@@ -15,6 +16,14 @@ USB port) while plugging in the USB to enter the bootloader. Then run:
|
|||||||
wchisp flash badgemagic-ch582.bin
|
wchisp flash badgemagic-ch582.bin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Windows
|
||||||
|
Install and run [wchisp studio](https://www.wch-ic.com/downloads/WCHISPTool_Setup_exe.html)
|
||||||
|
Connect the badge via USB and enter bootloader mode.
|
||||||
|
|
||||||
|
The device will automatically appear in the UI.
|
||||||
|
|
||||||
|
Select the `badgemagic-ch582.bin` file and click 'Download'.
|
||||||
|
|
||||||
Where badgemagic-ch582.bin is the binary downloaded above, the .elf file also
|
Where badgemagic-ch582.bin is the binary downloaded above, the .elf file also
|
||||||
works.
|
works.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user