Updated Compile keyboard bootloader (markdown)

GNU 2022-09-26 13:13:33 +08:00
parent b40cd022bd
commit 9d02729dfa

@ -9,6 +9,14 @@ make generic-pc13
```
this will produce `bootloader_only_binaries/generic_boot20_pc13.bin`
## Convert bootloader to hex format
using `srec_cat`
windows: http://srecord.sourceforge.net/
linux: sudo apt install srecord
```
srec_cat bootloader_only_binaries/generic_boot20_pc13.bin -Binary -offset 0x08000000 -output bootloader_only_binaries/generic_boot20_pc13.hex -Intel
```
## Next is to use stm32Cube to flash the bootloader
* Download the stm32cube programmer
@ -21,6 +29,7 @@ this will produce `bootloader_only_binaries/generic_boot20_pc13.bin`
![2022-09-26_13-04](https://user-images.githubusercontent.com/523580/192197890-dcb6d6fc-0ef5-4870-b9d3-ae03fc5f5110.png)
![2022-09-26_13-04_1](https://user-images.githubusercontent.com/523580/192197900-c7f8b448-3812-403f-b7b0-728248533790.png)
![2022-09-26_13-09](https://user-images.githubusercontent.com/523580/192198205-8edecc5f-c30e-4837-8b3c-7f97c97ba40a.png)