Skip to content

Conversation

@sej7278
Copy link
Collaborator

@sej7278 sej7278 commented Jan 11, 2014

...DIR calculation, which fixes issue #147 allowing much simpler user Makefiles e.g.

BOARD_TAG = atmega328bb
ISP_PROG = usbasp
include /usr/share/arduino/Arduino.mk

Fixed ARDMK_FILE arduino.mk capitalisation

I know it was nice to externalise some common functions but there weren't many and one at least wasn't working and required workarounds in the main Arduino.mk

…NO_DIR

calculation, which fixes issue sudar#147 allowing much simpler user Makefiles e.g.

 BOARD_TAG = atmega328bb
 ISP_PROG = usbasp
 include /usr/share/arduino/Arduino.mk

Fixed ARDMK_FILE arduino.mk capitalisation
@sej7278
Copy link
Collaborator Author

sej7278 commented Jan 11, 2014

do not merge, seems to break ARDMK_DIR and ARDMK_PATH detection:

-------------------------
Arduino.mk Configuration:
- [AUTODETECTED]       CURRENT_OS = LINUX 
- [COMPUTED]           ARDMK_DIR = /usr/share (relative to Arduino.mk)
- [COMPUTED]           ARDMK_PATH = /usr/share/bin (relative to ARDMK_DIR)
- [AUTODETECTED]       ARDUINO_DIR = /usr/share/arduino 
- [AUTODETECTED]       ARDUINO_VERSION = 105 
- [USER]               ARDUINO_SKETCHBOOK = /home/simon/programming/c++/arduino 
- [BUNDLED]            AVR_TOOLS_DIR = /usr/share/arduino/hardware/tools/avr (in Arduino distribution)
- [COMPUTED]           ARDUINO_LIB_PATH = /usr/share/arduino/libraries (from ARDUINO_DIR)
- [DEFAULT]            ARDUINO_CORE_PATH = /usr/share/arduino/hardware/arduino/cores/arduino 
- [COMPUTED]           ARDUINO_VAR_PATH = /usr/share/arduino/hardware/arduino/variants (from ARDUINO_DIR)
- [COMPUTED]           BOARDS_TXT = /usr/share/arduino/hardware/arduino/boards.txt (from ARDUINO_DIR)
- [DEFAULT]            USER_LIB_PATH = /home/simon/programming/c++/arduino/libraries (in user sketchbook)
- [USER]               BOARD_TAG = atmega328bb 
- [COMPUTED]           OBJDIR = build-atmega328bb (from BOARD_TAG)
- [ASSUMED]            MONITOR_BAUDRATE = 9600 
- [DEFAULT]            OPTIMIZATION_LEVEL = s 
- [DEFAULT]            MCU_FLAG_NAME = mmcu 
- [DEFAULT]            CFLAGS_STD = -std=gnu99 
- [AUTODETECTED]       Size utility: AVR-aware for enhanced output
-
-                      ARDUINO_LIBS =
- [USER]                 Adafruit_Sensor
- [USER]                 Adafruit_BMP085
- [USER]                 DHT11
- [USER]                 RF24
- [USER]                 OneWire
- [USER]                 DallasTemperature
- [USER]                 jeelib
- [SYSTEM]               Wire
- [SYSTEM]               SPI
- [SYSTEM]               Wire/utility
- [COMPUTED]           BOOTLOADER_PARENT = /usr/share/arduino/hardware/arduino/bootloaders (from ARDUINO_DIR)
-------------------------

@sej7278 sej7278 closed this Jan 11, 2014
@sudar sudar mentioned this pull request Jan 13, 2014
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

Successfully merging this pull request may close these issues.

1 participant