1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-19 13:54:23 +01:00

Moving hardware/targets to hardware/cores.

This commit is contained in:
David A. Mellis 2007-10-06 14:47:50 +00:00
parent 6541c74c6c
commit 97aafe935a
55 changed files with 7 additions and 7 deletions

View File

@ -1448,7 +1448,7 @@ public class Editor extends JFrame
try {
if (!sketch.handleRun(new Target(
System.getProperty("user.dir") + File.separator + "hardware" +
File.separator + "targets", Preferences.get("build.target"))))
File.separator + "cores", Preferences.get("build.target"))))
return;
//runtime = new Runner(sketch, Editor.this);
@ -2057,7 +2057,7 @@ public class Editor extends JFrame
//sketch.exportLibrary() : sketch.exportApplet();
boolean success = sketch.exportApplet(new Target(
System.getProperty("user.dir") + File.separator + "hardware" +
File.separator + "targets", Preferences.get("build.target")));
File.separator + "cores", Preferences.get("build.target")));
if (success) {
message("Done uploading.");
} else {

View File

@ -49,7 +49,7 @@ public class LibraryManager {
"libraries");
target = new Target(
System.getProperty("user.dir") + File.separator + "hardware" +
File.separator + "targets", Preferences.get("build.target"));
File.separator + "cores", Preferences.get("build.target"));
refreshLibraries();
}

View File

@ -78,7 +78,7 @@ public class ExportFolder {
// success may not be that useful, usually an ex is thrown
success = editor.sketch.exportApplet(new Target(
System.getProperty("user.dir") + File.separator + "hardware" +
File.separator + "targets", Preferences.get("build.target")));
File.separator + "cores", Preferences.get("build.target")));
if (!success) break;
//System.out.println("success was " + success);
}

View File

@ -43,7 +43,7 @@
#
# 3. Modify the line containg "ARDUINO" to point the directory that
# contains the Arduino core (for normal Arduino installations, this
# is the lib/targets/arduino sub-directory).
# is the hardware/cores/arduino sub-directory).
#
# 4. Modify the line containing "PORT" to refer to the filename
# representing the USB or serial connection to your Arduino board

View File

@ -28,7 +28,7 @@
#
# 3. Modify the line containg "ARDUINO" to point the directory that
# contains the Arduino core (for normal Arduino installations, this
# is the lib/targets/arduino sub-directory).
# is the hardware/cores/arduino sub-directory).
#
# 4. Modify the line containing "PORT" to refer to the filename
# representing the USB or serial connection to your Arduino board
@ -48,7 +48,7 @@
PORT = /dev/tty.usbserial-*
TARGET = Pd_firmware
ARDUINO = /Applications/arduino-0007
ARDUINO_SRC = $(ARDUINO)/hardware/targets/arduino
ARDUINO_SRC = $(ARDUINO)/hardware/cores/arduino
ARDUINO_LIB_SRC = $(ARDUINO)/hardware/libraries
INCLUDE = -I$(ARDUINO_SRC) -I$(ARDUINO)/hardware/tools/avr/avr/include \
-I$(ARDUINO_LIB_SRC)/EEPROM \