From 9c39bf74a3a6ea473471e71ac5f204be7632cd38 Mon Sep 17 00:00:00 2001 From: Jan Henrik Date: Thu, 17 Oct 2019 21:44:28 +0200 Subject: Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4aad884..26b6cb7 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ 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 +https://github.com/stm32duino/Arduino_Core_STM32 + ![](images/1.jpg) ![](images/2.jpg) ![](images/3.jpg) -- cgit From aac5884411c3f7b864ff6e37bdd512c63dbacafe Mon Sep 17 00:00:00 2001 From: Jan Henrik Date: Thu, 17 Oct 2019 23:30:04 +0200 Subject: Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 26b6cb7..874a112 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,16 @@ More documentation and firmware examples will be aviable soon. ## Building and Flashing ### Via Arduino -https://github.com/stm32duino/Arduino_Core_STM32 + +[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 flashed with dfu-utils. + + $ dfu-util -a 0 -s 0x08000000:leave -D build/pd-buddy-firmware.bin + +## Images ![](images/1.jpg) ![](images/2.jpg) -- cgit From 568b6e9281b842ac9f9158799569e7782d6fe94c Mon Sep 17 00:00:00 2001 From: Jan Henrik Date: Thu, 17 Oct 2019 23:30:33 +0200 Subject: Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 874a112..36677fb 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ More documentation and firmware examples will be aviable soon. ## Via Makefile and DFU -Or you can generate a basic firmware with HAL init and Makefile with CubeMX. The binary can then be flashed with dfu-utils. +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. $ dfu-util -a 0 -s 0x08000000:leave -D build/pd-buddy-firmware.bin -- cgit From 31579b57b7e5a7134034d561f8d3a2bd542610ae Mon Sep 17 00:00:00 2001 From: Jan Henrik Date: Thu, 17 Oct 2019 23:30:57 +0200 Subject: Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 36677fb..08e937f 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,8 @@ More documentation and firmware examples will be aviable soon. 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. - $ dfu-util -a 0 -s 0x08000000:leave -D build/pd-buddy-firmware.bin + $ make + $ dfu-util -a 0 -s 0x08000000:leave -D build/firmware.bin ## Images -- cgit