Go Down

Topic: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches (Read 251410 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).

Go Up