Merge branch 'master' of github.com:Jan--Henrik/OtterPill

This commit is contained in:
Jan--Henrik 2019-10-18 03:35:43 +02:00
commit 49fb1023c3

View file

@ -4,6 +4,20 @@ STM32F072 devboard featuring USB 2.0 full-speed, DFU Bootloader, USB-PD Phy, Ard
More documentation and firmware examples will be aviable soon.
## Building and Flashing
### Via Arduino
[You can build and flash the firmware via Arduino as described here.](https://github.com/stm32duino/Arduino_Core_STM32)
## Via Makefile and DFU
Or you can generate a basic firmware with HAL init and Makefile with CubeMX. The binary can then be build with make flashed with dfu-utils.
$ make
$ dfu-util -a 0 -s 0x08000000:leave -D build/firmware.bin
## Images
![](images/1.jpg)
![](images/2.jpg)
![](images/3.jpg)