Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: RadioHeadLite
README.md@6:3174bb53265a, 2021-06-22 (annotated)
- Committer:
- rlanders73
- Date:
- Tue Jun 22 16:51:01 2021 +0000
- Revision:
- 6:3174bb53265a
- Parent:
- 0:f4015c8e84c3
Added RSSI of recieved messge
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| rlanders73 | 0:f4015c8e84c3 | 1 | # Getting started with the Geneva platform example |
| rlanders73 | 0:f4015c8e84c3 | 2 | |
| rlanders73 | 0:f4015c8e84c3 | 3 | This guide reviews the steps required to get Blinky working on an mbed OS platform. |
| rlanders73 | 0:f4015c8e84c3 | 4 | |
| rlanders73 | 0:f4015c8e84c3 | 5 | Please install [mbed CLI](https://github.com/ARMmbed/mbed-cli#installing-mbed-cli). |
| rlanders73 | 0:f4015c8e84c3 | 6 | |
| rlanders73 | 0:f4015c8e84c3 | 7 | ## Import the example application |
| rlanders73 | 0:f4015c8e84c3 | 8 | |
| rlanders73 | 0:f4015c8e84c3 | 9 | From the command-line, import the example: |
| rlanders73 | 0:f4015c8e84c3 | 10 | |
| rlanders73 | 0:f4015c8e84c3 | 11 | ``` |
| rlanders73 | 0:f4015c8e84c3 | 12 | mbed import mbed-os-example-blinky |
| rlanders73 | 0:f4015c8e84c3 | 13 | cd mbed-os-example-blinky |
| rlanders73 | 0:f4015c8e84c3 | 14 | ``` |
| rlanders73 | 0:f4015c8e84c3 | 15 | |
| rlanders73 | 0:f4015c8e84c3 | 16 | ### Now compile |
| rlanders73 | 0:f4015c8e84c3 | 17 | |
| rlanders73 | 0:f4015c8e84c3 | 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: |
| rlanders73 | 0:f4015c8e84c3 | 19 | |
| rlanders73 | 0:f4015c8e84c3 | 20 | ``` |
| rlanders73 | 0:f4015c8e84c3 | 21 | mbed compile -m Geneva_R210 -t ARM |
| rlanders73 | 0:f4015c8e84c3 | 22 | ``` |
| rlanders73 | 0:f4015c8e84c3 | 23 | |
| rlanders73 | 0:f4015c8e84c3 | 24 | Your PC may take a few minutes to compile your code. |
| rlanders73 | 0:f4015c8e84c3 | 25 | ``` |
| rlanders73 | 0:f4015c8e84c3 | 26 | |
| rlanders73 | 0:f4015c8e84c3 | 27 | ### Program your board |
| rlanders73 | 0:f4015c8e84c3 | 28 | |
| rlanders73 | 0:f4015c8e84c3 | 29 | 1. Connect your Geneva module to the computer over USB. |
| rlanders73 | 0:f4015c8e84c3 | 30 | 2. Use the Geneva loader to load teh new binary to the module |
| rlanders73 | 0:f4015c8e84c3 | 31 | |
| rlanders73 | 0:f4015c8e84c3 | 32 | The LED on your module turns on and off. |
| rlanders73 | 0:f4015c8e84c3 | 33 | You should be able to open a terminal program and be able to talk to the modem. |
| rlanders73 | 0:f4015c8e84c3 | 34 | |
| rlanders73 | 0:f4015c8e84c3 | 35 | ## Troubleshooting |
| rlanders73 | 0:f4015c8e84c3 | 36 | |
| rlanders73 | 0:f4015c8e84c3 | 37 | 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. |