Mangue Baja LCD example (default and I2C) for stm32.

Dependencies:   TextLCD SDFileSystem1

Committer:
einsteingustavo
Date:
Wed Sep 21 22:52:09 2022 +0000
Revision:
2:d40e91c72c0b
Parent:
0:2f38376349e5
2022 Commit

Who changed what in which revision?

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