Test program for USB serial device on STM32F103C8
Dependencies: USBDevice_STM32F103
Revision 3:41ac35e35239, committed 2018-01-15
- Comitter:
- SpotlightKid
- Date:
- Mon Jan 15 18:38:54 2018 +0100
- Parent:
- 2:d27837f16743
- Commit message:
- Update readme
Changed in this revision
| README.md | Show annotated file Show diff for this revision Revisions of this file |
--- a/README.md Mon Jan 15 17:01:40 2018 +0000
+++ b/README.md Mon Jan 15 18:38:54 2018 +0100
@@ -4,6 +4,7 @@
Please install [mbed CLI](https://github.com/ARMmbed/mbed-cli#installing-mbed-cli).
+
## Import the example application
From the command-line, import the example:
@@ -13,9 +14,10 @@
cd mbed-os-usbserial-test
```
+
### Now compile
-Invoke `mbed compile`, and specify the name of your platform and your favorite
+Invoke `mbed compile`, and specify the name of your platform and your favorite
toolchain (`GCC_ARM`, `ARM`, `IAR`). For example, for the Bluepill STM32F103C8
and the GNU C compiler :
@@ -23,13 +25,14 @@
mbed compile -m BLUEPILL_F103C8 -t GCC_ARM
```
-Your PC may take a few minutes to compile your code. At the end, you see the
+Your PC may take a few minutes to compile your code. At the end, you see the
some statistics about the compiled firmware.
```
[TBD]
```
+
### Program your board
Connections:
@@ -44,6 +47,14 @@
st-flash --reset write ./BUILD/NUCLEO_F103RB/GCC_ARM/*.bin 0x8000000
+
+## Connect
+
+Connect your board via USB and start a serial terminal application:
+
+ miniterm /dev/ttyACM0 115200
+
+
## References
If you have problems, please review the [documentation](https://os.mbed.com/docs).