Go Down

Topic: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches (Read 292689 times) previous topic - next topic

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

pito

Partially :) When debugging an stm32duino sketch (ie Hello World) it starts jlink but I cannot get it debugging. The source compiles, elf file is there, but the gdb (absolute path of the gdb set in debug configurations) does not start properly. It seems to me the jlink does not get the proper commands (ie it does not flash the binary, etc).
See http://stm32duino.com/viewtopic.php?f=41&t=655&start=30#p25747
I have to double check whether it compiles with debug infos.

Jantje

I'm sorry but this is a bit beyond me. I do not own a jlink nor a stm32 so I have no hand on experiance with setting up a debugging environment for this hardware.
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

pito

Is there a trick how to get the info from platform.txt into the makefile while already working in a project? It seems to me the makefile system reads the paltform.txt only during creating a new project. Thus the changes in platform.txt do not propagate into makefile while already working. But maybe I overlooked something..

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

pito


pito

Would it be possible to enhance the Arduino Compile options with a field for "append to ELF", plz?

compiler.c.elf.flags=-Os -Wl,--gc-sections APPENDS HERE

See in the enclosed picture.

Jantje

Would it be possible to enhance the Arduino Compile options with a field for "append to ELF", plz?

compiler.c.elf.flags=-Os -Wl,--gc-sections APPENDS HERE

See in the enclosed picture.

For a loyal patron I would do this.
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

pito

And, from my experience with this great tool, it would be fine to have a chance to select a "platform.txt" of choice for the given specific Project (and remember it together with the flags).

Jief

Hi,
I need to add a macro definition on GCC command line. Where should I add the -DMacro=VAL? There isn't any page like in classic CDT.

Thanks.

Jantje

You can find command line extensions in
project properties->arduino->compile options
Add the -DMacro=Val in the add to c and cpp field
You can probably see it in one of my video's https://www.youtube.com/playlist?list=PLCSjf7QmP3TDPSjT_5UIp0DHXzKdhIQsF

Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Jief

Oh god. He knows that I've clicked on many preferences and didn't see this tab ! Sorry.
Thanks for your answer.

Mya256

Hello,

Thanks for Sloeber IDE!  +1 on capability to debug with an external tool such as a Segger-JLink.  Was there any progress made on this? 

Thanks again

Jantje

As fart as I know debugging works. Wether it is with a debugger on or off the board shouldn't make a difference.
I don't own off-board debuggers so I can only test with the zero and the esp8266.
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

tekdev

Hello,

I'm running into an error after installing and executing sloeber-ide on Windows 10. 

Failed to configure Sloeber
Unable to download http://downloads.arduino.cc/libraries/library_index.json
Unable to download http://downloads.arduino.cc/packages/package_index.json

At the same time, I am able to access the url's directly through firefox.  Please refer to attached .png's.


Any guidance is appreciated.  Thank you in advance :)

Go Up