Hi, i’m Carlos and this is the first day i use PlatformIO
The documentation is great and i have been able to integrate PlatformIO with libopencm3 framework using Qt Creator as IDE, my OS is Ubuntu 16.04.
Following the documentation i can build directly on Qt Creator (using the build button), and then using the command line on the project directory upload the .elf file to the target with the following command:
$ platformio run -t upload
I would like to upload the .elf file to the target using the Run button, but i haven’t been able to configure Qt Creator do it properly, here’s what i have been trying so far:
- Go to Project menu on the left side of Qt Creator, then choose Run option.
- On the Run configuration i find the .elf file using the Browse button (/.pioenvs/disco_f407vg/firmware.elf), then on Command line arguments option i written the same command i use on the command line:
platformio run -t upload
-
Working directory i leave it as default %{buildDir}
-
What i get:
Failed to start program. Path or permissions wrong?
Is this the proper way to configure Qt to do this?
There’s another way?
or i just have to be less lazy and do it from the command line by hand ?
Thanks in advance, i did search on the forum similar threads but none are related to Qt.
Carlos