Arduino-Makefile icon indicating copy to clipboard operation
Arduino-Makefile copied to clipboard

Specific variable for Binutils tools

Open ladislas opened this issue 6 years ago • 1 comments

Hi there! I found myself in a very specific case where I want to compare different version of avr-gcc to see the impact on my code but use the same binutils tools (objcopy, etc.).

For the moment, the Makefile assumes all those tools are in the same directory that can be set by the user. But in my case, I have my binutils tools in my path and the avr-gcc tools at another location that's not in the path.

Being able to differentiate the two would be super helpful, but before starting to work on that, I'd like to know if it's something you're interested in as well or if it has already been cleared for a specific reason.

Thanks! Ladislas

ladislas avatar Jul 25 '17 05:07 ladislas

ah yes i notice we have this:

OBJCOPY = $(AVR_TOOLS_PATH)/$(OBJCOPY_NAME)

which maybe isn't great as you're changing the name but stuck with the path

sej7278 avatar Jul 25 '17 19:07 sej7278