Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read Arduino IDE paths from config file #29

Open
mulderp opened this issue Apr 1, 2015 · 0 comments
Open

read Arduino IDE paths from config file #29

mulderp opened this issue Apr 1, 2015 · 0 comments

Comments

@mulderp
Copy link

mulderp commented Apr 1, 2015

Hi,

what do you think about having a .leorc file that contains the Arduino IDE paths similar to the variables in the https://github.com/sudar/Arduino-Makefile project?

For my current Arduino IDE 1.6 on MacOS, these are:

BOARD_TAG    = uno

ARDUINO_DIR   = /Applications/Arduino.app/Contents/Java/
ARDMK_DIR     = ../../
AVR_TOOLS_DIR = /Applications/Arduino.app/Contents/Java/hardware/tools/avr/
MONITOR_PORT  = /dev/cu.usbmodem14131
BOARD_TAG     = uno
AVRDUDE_CONF = /Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf

I could add this feature to prevent this build error:

Cleaning build directory
Creating new build directory
   [build path] ./.build
Building basic as excutable.
  [compiler corePath]  /Applications/Arduino.app/Contents/Java/hardware/arduino/cores/arduino
  [runtime build extentions]  c,cpp,S
  [dir not found] /Applications/Arduino.app/Contents/Java/hardware/arduino/cores/arduino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant