SmartMesh QSL for STM32F4 version

Fork of COG-AD4050_QSL by APS Lab

Committer:
APS_Lab
Date:
Thu Jul 12 09:19:12 2018 +0000
Revision:
1:b909b8399252
Parent:
0:8ca1e814a851
SmartMesh for STM32F4 version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
APS_Lab 0:8ca1e814a851 1 # Getting started with Blinky on mbed OS
APS_Lab 0:8ca1e814a851 2
APS_Lab 0:8ca1e814a851 3 This guide reviews the steps required to get Blinky working on an mbed OS platform.
APS_Lab 0:8ca1e814a851 4
APS_Lab 0:8ca1e814a851 5 Please install [mbed CLI](https://github.com/ARMmbed/mbed-cli#installing-mbed-cli).
APS_Lab 0:8ca1e814a851 6
APS_Lab 0:8ca1e814a851 7 ## Import the example application
APS_Lab 0:8ca1e814a851 8
APS_Lab 0:8ca1e814a851 9 From the command-line, import the example:
APS_Lab 0:8ca1e814a851 10
APS_Lab 0:8ca1e814a851 11 ```
APS_Lab 0:8ca1e814a851 12 mbed import mbed-os-example-blinky
APS_Lab 0:8ca1e814a851 13 cd mbed-os-example-blinky
APS_Lab 0:8ca1e814a851 14 ```
APS_Lab 0:8ca1e814a851 15
APS_Lab 0:8ca1e814a851 16 ### Now compile
APS_Lab 0:8ca1e814a851 17
APS_Lab 0:8ca1e814a851 18 Invoke `mbed compile`, and specify the name of your platform and your favorite toolchain (`GCC_ARM`, `ARM`, `IAR`). For example, for the ARM Compiler 5:
APS_Lab 0:8ca1e814a851 19
APS_Lab 0:8ca1e814a851 20 ```
APS_Lab 0:8ca1e814a851 21 mbed compile -m K64F -t ARM
APS_Lab 0:8ca1e814a851 22 ```
APS_Lab 0:8ca1e814a851 23
APS_Lab 0:8ca1e814a851 24 Your PC may take a few minutes to compile your code. At the end, you see the following result:
APS_Lab 0:8ca1e814a851 25
APS_Lab 0:8ca1e814a851 26 ```
APS_Lab 0:8ca1e814a851 27 [snip]
APS_Lab 0:8ca1e814a851 28 +----------------------------+-------+-------+------+
APS_Lab 0:8ca1e814a851 29 | Module | .text | .data | .bss |
APS_Lab 0:8ca1e814a851 30 +----------------------------+-------+-------+------+
APS_Lab 0:8ca1e814a851 31 | Misc | 13939 | 24 | 1372 |
APS_Lab 0:8ca1e814a851 32 | core/hal | 16993 | 96 | 296 |
APS_Lab 0:8ca1e814a851 33 | core/rtos | 7384 | 92 | 4204 |
APS_Lab 0:8ca1e814a851 34 | features/FEATURE_IPV4 | 80 | 0 | 176 |
APS_Lab 0:8ca1e814a851 35 | frameworks/greentea-client | 1830 | 60 | 44 |
APS_Lab 0:8ca1e814a851 36 | frameworks/utest | 2392 | 512 | 292 |
APS_Lab 0:8ca1e814a851 37 | Subtotals | 42618 | 784 | 6384 |
APS_Lab 0:8ca1e814a851 38 +----------------------------+-------+-------+------+
APS_Lab 0:8ca1e814a851 39 Allocated Heap: unknown
APS_Lab 0:8ca1e814a851 40 Allocated Stack: unknown
APS_Lab 0:8ca1e814a851 41 Total Static RAM memory (data + bss): 7168 bytes
APS_Lab 0:8ca1e814a851 42 Total RAM memory (data + bss + heap + stack): 7168 bytes
APS_Lab 0:8ca1e814a851 43 Total Flash memory (text + data + misc): 43402 bytes
APS_Lab 0:8ca1e814a851 44 Image: .\.build\K64F\ARM\mbed-os-example-blinky.bin
APS_Lab 0:8ca1e814a851 45 ```
APS_Lab 0:8ca1e814a851 46
APS_Lab 0:8ca1e814a851 47 ### Program your board
APS_Lab 0:8ca1e814a851 48
APS_Lab 0:8ca1e814a851 49 1. Connect your mbed device to the computer over USB.
APS_Lab 0:8ca1e814a851 50 1. Copy the binary file to the mbed device.
APS_Lab 0:8ca1e814a851 51 1. Press the reset button to start the program.
APS_Lab 0:8ca1e814a851 52
APS_Lab 0:8ca1e814a851 53 The LED on your platform turns on and off.
APS_Lab 0:8ca1e814a851 54
APS_Lab 0:8ca1e814a851 55 ## Troubleshooting
APS_Lab 0:8ca1e814a851 56
APS_Lab 0:8ca1e814a851 57 If you have problems, you can review the [documentation](https://os.mbed.com/docs/latest/tutorials/debugging.html) for suggestions on what could be wrong and how to fix it.