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:
Jhalak Upadhyay 2025-03-19 15:54:49 +05:30 committed by GitHub
parent 6cb2f90805
commit 2bbecf2b3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@ Hardware details and information to build an open firmware for Bluetooth LED bad
## Installation
### Unix
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).
@ -15,6 +16,14 @@ USB port) while plugging in the USB to enter the bootloader. Then run:
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
works.