Removed #include <BConstants.h>, updated version number, copy RXTX native lib into Mac distribution.

This commit is contained in:
David A. Mellis 2005-09-09 23:42:35 +00:00
parent 6f38cee6d4
commit 98b5f8759a
8 changed files with 8 additions and 6 deletions

View File

@ -51,7 +51,7 @@ import com.ice.jni.registry.*;
*/ */
public class Base { public class Base {
static final int VERSION = 1; static final int VERSION = 1;
static final String VERSION_NAME = "0001 pre-alpha"; static final String VERSION_NAME = "0002";
static public int platform; static public int platform;

View File

@ -24,9 +24,10 @@ else
mkdir -p work/classes/processing/app/tools mkdir -p work/classes/processing/app/tools
mkdir -p work/lib/build mkdir -p work/lib/build
cp ../../lib/librxtxSerial.jnilib work/
# to have a copy of this guy around for messing with # to have a copy of this guy around for messing with
echo Copying Arduino.app... echo Copying Arduino.app...
cp -pR dist/Arduino.app work/ cp -pR dist/Arduino.app work/
# cvs doesn't seem to want to honor the +x bit # cvs doesn't seem to want to honor the +x bit
chmod +x work/Arduino.app/Contents/MacOS/JavaApplicationStub chmod +x work/Arduino.app/Contents/MacOS/JavaApplicationStub

View File

@ -23,7 +23,6 @@
*/ */
#include <avr/io.h> #include <avr/io.h>
#include "BConstants.h"
#include "wiring.h" #include "wiring.h"
// On the Arduino board, digital pins are also used // On the Arduino board, digital pins are also used

View File

@ -23,7 +23,6 @@
*/ */
#include <avr/io.h> #include <avr/io.h>
#include "BConstants.h"
#include "wiring.h" #include "wiring.h"
// We map the pin numbers passed to digitalRead() or // We map the pin numbers passed to digitalRead() or

View File

@ -46,7 +46,6 @@
// it so our delay can be in milliseconds. // it so our delay can be in milliseconds.
#undef delay #undef delay
#include "BConstants.h"
#include "wiring.h" #include "wiring.h"
// Get the hardware port of the given virtual pin number. This comes from // Get the hardware port of the given virtual pin number. This comes from

View File

@ -67,6 +67,8 @@ void setup(void);
void loop(void); void loop(void);
void beginSerial(int); void beginSerial(int);
void serialWrite(unsigned char); void serialWrite(unsigned char);
void print(const char *, ...);
void printMode(int);
typedef struct { typedef struct {
int port; int port;

View File

@ -9,6 +9,8 @@
#define __MCU_CLOCK_FREQUENCY__ _16.0000_MHz #define __MCU_CLOCK_FREQUENCY__ _16.0000_MHz
#include <avr/io.h>
#include "wiring.h" #include "wiring.h"
#include <avr/interrupt.h> #include <avr/interrupt.h>

View File

@ -1 +1 @@
0001 arduino 0002 arduino