4 ms·
Check out platformio. E.g. to download and install an arm toolchain with the cmsis libraries, to be developed with eclipse for an F3 discovery board: platf
by CraigJPerry 11y ago
Check out platformio. E.g. to download and install an arm toolchain with the cmsis libraries, to be developed with eclipse for an F3 discovery board:
platformio init --ide eclipse --board disco_f303vc --framework cmsis my-project-dir/
This will download and install the compiler toolchain and the cmsis libraries. It will then setup some convenience scripts, e.g. to compile, link and upload:
platformio run --target upload
Although since we said ide, there will be run configurations in the ide project for this already. There are many ide choices like sublime text or my favourite, clion (although the clion product does not support remote debugging yet).
Qemu is installed for simulation if you don't have hardware (it does this for other boards too, e.g. if working with some atmel processors then simulavr will be installed). Gdb is installed too.
It comes with a library manager, continuous integration env setup and a few other bits and bobs.
http://docs.platformio.org/en/latest/demo.html#wiring-blink http://docs.platformio.org/en/latest/demo.html#wiring-blink
- fest 11y agoSecond this as I tried platformio for STM32 recently. I was expecting hiccups due to arch usually having newer versions of libraries but everything worked out nicely.