This repository contains required tools to compile for nucleo devices with GCC ARM
https://os.mbed.com/users/mbed_official/code/mbed/
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)
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
- F303K8
- F401CD
- F401RE
- F746ZG
- Compilation (obviously) for specific target, displaying informations like memory usage
- Upload (auto mount/unmount if run by the docker) (
make upload
)
- Isolation of the toolchain (GCC ARM): no dependencies, ...
- Up-to-date compilers (docker Archlinux)