Sign inSign up

sealeo/nucleo-template

By sealeo

•Updated over 8 years ago

Tools to compile for nucleo

Image
1

839

sealeo/nucleo-template repository overview

⁠Nucleo-template

⁠Descritpion

This repository contains required tools to compile for nucleo devices with GCC ARM

⁠MBED

⁠Source

https://os.mbed.com/users/mbed_official/code/mbed/⁠

⁠Usage

⁠Project creation

You can simply clone the repository, then run:

tools/clone $name

where $name is the name of your project to create (its path will be ../$name). It is possible to specify an absolute path (including the name).

In case of update, run

git pull
tools/update $name

(you can replace tools/update by tools/full-update if the changes are big, but you will lose your user-defined Makefile)

⁠Compilation by docker

Link, or copy, the file tools/dmake to somewhere that is in your $PATH

Then, you can simply replace any call to make like that:

dmake

⁠Features

⁠Compatible devices

  • F303K8
  • F401CD
  • F401RE
  • F746ZG

⁠Makefile

  • Compilation (obviously) for specific target, displaying informations like memory usage
  • Upload (auto mount/unmount if run by the docker) (make upload)

⁠Docker

  • Isolation of the toolchain (GCC ARM): no dependencies, ...
  • Up-to-date compilers (docker Archlinux)

Tag summary

Content type

Image

Digest

Size

669.3 MB

Last updated

over 8 years ago

docker pull sealeo/nucleo-template