
plugin: http://eclipse.baeyens.it/nightly-linux.html
file: Arduino_STM32/STM32F1/platform.txt
add lines:
build.use_archiver=false
build.system.path={runtime.platform.path}/system
bootloader.tool=maple_upload
change lines:
tools.maple_upload.path.linux={runtime.platform.path}/../tools/linux
compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/
file: Arduino_STM32/tools/linux/maple_upload
before ${DFU_UTIL} line:
DIR=$( cd “$( dirname “${BASH_SOURCE[0]}” )” && pwd )
$DIR/reset.py
sleep 1
change line:
${DFU_UTIL} -d ${usbID} -a ${altID} -D ${binfile} -R
reset.py: https://github.com/leaflabs/libmaple/bl … s/reset.py
enjoy
some outputs:
compile: http://pastebin.com/3dzqgBfz
download: http://pastebin.com/NCtTsiJ2
settings: http://kepfeltoltes.hu/150613/fz_www.ke … es.hu_.png
Could you perhaps elaborate on what this is about? if I read you right you are saying the latest Arduino Eclipse build plus the changes below makes things work for us with stm32F1? That would be great news…
I will give it a go anyway.
Yes, some changes, compile and download working with stm32F1 (maple mini with bootloader 2.0 tested).
Unfortunately I have to wrestle windows (too many other build tools for projects there), but it
will be worth it if I can get good clean builds happening there.
My main reason for looking for eclipse support is debugging integration – I am amazed the Arduino
projects have got this far without better hardware debug support – not that its simple.
Life would be so much easier if they would do their builds in a more stable location rather than their
randomised build directory.
My eclipse foo must be weak today, even using the daily full eclipse build (windows, 32 bit) I cannot
get it to list any arduino targets other than the standard ones tonight, so obviously I am missing something.
With your project or making a new project, I cannot get a suitable board that I can select..
Using the current hourly Arduino build also.. (hourly? really? seems insane )
Will continue to to fight the good fight however
STLink/gdb howto:
http://fab.cba.mit.edu/classes/4.140/tu … stm32.html
maybe it works
Personally, I’ve received my STLink earlier this week, I gave it a try, and it was working.
The step forward I am looking for (and I know a few others here seem to be also) is to have one single dev environment
that allows edit, build, upload, and debug with major delays between the stages. I have some hopes this project may lead
to that
I also use the Cypress PSOC devices, and they have their own more integrated system (which they really have to given the
hardware complexity of their customised secondary hardware), and some very good libraries, however there is definitely
also an advantage in having access to some of the community that surrounds Arduino (and also STM32duino, which is
very impressive in its growth and functionality, I cannot thank Roger, and others, enough for what they are doing).
The literal flood of cheap and functional boards based on the STM family is a huge resource, but some of the tools do need
to mature a little to really open it up – and good build/debug integration is I believe critical to that.
Or, perhaps I am just getting old and lazy, and command line gdb is just too hard these days I really do hope to get
a good stack working under eclipse, to help my tired old lazy bones.
It feels like it is getting close!
So there may be an option to shell out from the IDE to that debugger.
At the moment that debugger is only available on Linux (and possibly OSX), so I’m holding off investigating how to integrate it until its truely cross platform. I’ve tried to use some other GUI debuggers but they only seem available on Linux.
Most people expect the IDE its self to communicate with the debugger, but the IDE team don’t have that as top of their list at the moment.
Forbidden
You don’t have permission to access /nightly/ on this server.
Forbidden
You don’t have permission to access /nightly/ on this server.
http://s13.postimg.org/r5xx296ev/Screen … _00_22.png
What changes have to be done for Windows?
Thanks.
EDIT:
My goal is to flash Black Magic Probe firmware onto my blue pill and then debug visually with eclipse.
I haven’t figured out way to make STM32 toolchain work under eclipse.
Has anyone used it successfully in Windows for the stm32 with our core?
If some, what needs to be added/changed?
I am new to this forum so bear with me for my troubles.
I recently configured the STM32 files with the Arduino 1.6.5 IDE and it works fine.
I have been using the Arduino Eclipse IDE from baeyens for quite a while and have gotten accustomed to it. So when I try to configure the STM32 (more specifically, maple mini in my case), It seems to have trouble with the data types uint8_t, uint16_t… etc.. I discovered I am unable to locate the files stdint.h, stdlib.h, stdio.h or string.h.
Can anyone help me out with this?
Thanks
could you write order step by step how it is possible to compile basic example Blink for maple mini +Nightly arduinoeclipse / linux. I have a new topic similar as yours in another thread (http://www.stm32duino.com/viewtopic.php?f=41&t=1023).
Thank you Pepe.
Tomas