mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-19 21:58:49 +01:00
Created Compile keyboard bootloader (markdown)
parent
34977cfab0
commit
fc0b45de4e
45
Compile-keyboard-bootloader.md
Normal file
45
Compile-keyboard-bootloader.md
Normal file
@ -0,0 +1,45 @@
|
||||
# Build bin
|
||||
|
||||
```
|
||||
git clone https://github.com/rogerclarkmelbourne/STM32duino-bootloader
|
||||
|
||||
cd STM32duino-bootloader
|
||||
|
||||
make generic-pc13
|
||||
|
||||
```
|
||||
this will produce `bootloader_only_binaries/generic_boot20_pc13.bin`
|
||||
|
||||
## Next is to use stm32Cube to flash the bootloader
|
||||
* Download the stm32cube programmer
|
||||
[stm32cube programmer](https://www.st.com/en/development-tools/stm32cubeprog.html)
|
||||
|
||||
* Put 1 ON in the back of keyboard
|
||||
* Connect keyboard with a usb-serial convert, in order of [IO MAP](https://github.com/clockworkpi/DevTerm/wiki/Keyboard-with-FPC-60pin-0.5mm)
|
||||
* Click connect on STM32cube programmer
|
||||
* flash it
|
||||
|
||||
# Flash Arudino
|
||||
## Arduino IDE
|
||||
* add stm32duino pacakage index: http://dan.drown.org/stm32duino/package_STM32duino_index.json
|
||||

|
||||
|
||||
* verbose all outputs:
|
||||

|
||||
|
||||
* Select upload method
|
||||

|
||||
|
||||
* Set cpu mhz to 48Mhz
|
||||

|
||||
|
||||
|
||||
* Put 1 OFF in the back of keyboard
|
||||
* User arduino IDE to open [devterm_keyboard.ino](https://github.com/clockworkpi/DevTerm/blob/main/Code/devterm_keyboard/devterm_keyboard.ino)
|
||||
* flash it
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user