Skip to content

Neuromancer2701/mbedROS2_STF7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<<<<<<< HEAD

Getting started with Blinky on mbed OS

This is a very simple guide, reviewing the steps required to get Blinky working on an mbed OS platform.

Please install mbed CLI.

Get the example application!

From the command line, import the example:

mbed import mbed-os-example-blinky
cd mbed-os-example-blinky

Now compile

Invoke mbed compile specifying the name of your platform and your favorite toolchain (GCC_ARM, ARM, IAR). For example, for the ARM Compiler 5:

export PATH=$PATH:/opt/gcc-arm-none-eabi/bin/ apt-get -y install lib32ncurses5

mbed toolchain GCC_ARM
mbed target nucleo_f767zi
mbed compile

Your PC may take a few minutes to compile your code. At the end you should get the following result:

[snip]
+----------------------------+-------+-------+------+
| Module                     | .text | .data | .bss |
+----------------------------+-------+-------+------+
| Misc                       | 13939 |    24 | 1372 |
| core/hal                   | 16993 |    96 |  296 |
| core/rtos                  |  7384 |    92 | 4204 |
| features/FEATURE_IPV4      |    80 |     0 |  176 |
| frameworks/greentea-client |  1830 |    60 |   44 |
| frameworks/utest           |  2392 |   512 |  292 |
| Subtotals                  | 42618 |   784 | 6384 |
+----------------------------+-------+-------+------+
Allocated Heap: unknown
Allocated Stack: unknown
Total Static RAM memory (data + bss): 7168 bytes
Total RAM memory (data + bss + heap + stack): 7168 bytes
Total Flash memory (text + data + misc): 43402 bytes
Image: .\.build\K64F\ARM\mbed-os-example-blinky.bin

Troubleshooting

  1. Make sure mbed-cli is working correctly and its version is greater than 0.8.9
mbed --version

If not, you can update it easily:

pip install mbed-cli --upgrade

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published