1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00

Now builds and runs on linux (but won't compile or upload programs); see notes in make.sh for setting up environment.

This commit is contained in:
David A. Mellis
2005-09-21 20:34:06 +00:00
parent b966e73e02
commit ae6b490b5e
10 changed files with 108 additions and 128 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
CLASSPATH=java/lib/rt.jar:lib:lib/build:lib/pde.jar:lib/core.jar:lib/antlr.jar:lib/oro.jar:lib/registry.jar:lib/mrj.jar
CLASSPATH=java/lib/rt.jar:lib:lib/build:lib/pde.jar:lib/core.jar:lib/antlr.jar:lib/oro.jar:lib/registry.jar:lib/mrj.jar:lib/RXTXcomm.jar
export CLASSPATH
# put the directory where this file lives in the front of the path, because
@ -9,6 +9,10 @@ export CLASSPATH
PATH=`pwd`/`dirname $0`:`pwd`/java/bin:${PATH}
export PATH
# put the directory with the native RXTX libs in the library path
LD_LIBRARY_PATH=`pwd`/lib:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
# test to see if jikes is operable. i'm a crappy bash scripter
# so if someone knows a more elegant way to do this, let me know.
#

30
build/linux/dist/bootloader/burn vendored Executable file
View File

@ -0,0 +1,30 @@
#!/bin/sh
# 25.06.2005 mbanzi
#
# Arduino project http://arduino.berlios.de
#
# quick and dirty script to set the proper fuses and lock bits
# while loading the bootloader onto a brand new arduino board
#
# very useful also when for some reasons the bootloader disappears
#
# TODO: cleanup and make it more user friendly
# TODO: move this (and related) scripts to platform dist/ dirs
#
# expects an STK500 compatible programmer on the specified serial port
# if you use the parallel port programmer you need to change the dprog
# parametre
#
#BINDIR=/usr/local/avr/bin
#BINDIR=../build/macosx/work/tools/avr/bin
PORT=/dev/ttyS0
#PORT=/dev/tty.usbserial0
#PORT=/dev/tty.USA19QW3b1P1.1
#PORT=/dev/tty.USA19QW1b1P1.1
uisp -dpart=ATmega8 -dprog=stk500 -dserial=$PORT -dspeed=115200 --wr_lock=0xFF
uisp -dpart=ATmega8 -dprog=stk500 -dserial=$PORT -dspeed=115200 --wr_fuse_l=0xdf --wr_fuse_h=0xc8
uisp -dpart=ATmega8 -dprog=stk500 -dserial=$PORT -dspeed=115200 --erase --upload if=ATMegaBOOT.hex -v
uisp -dpart=ATmega8 -dprog=stk500 -dserial=$PORT -dspeed=115200 --wr_lock=0xCF

BIN
build/linux/dist/jikes vendored

Binary file not shown.

BIN
build/linux/dist/lib/librxtxI2C.so vendored Executable file

Binary file not shown.

BIN
build/linux/dist/lib/librxtxParallel.so vendored Executable file

Binary file not shown.

BIN
build/linux/dist/lib/librxtxRS485.so vendored Executable file

Binary file not shown.

BIN
build/linux/dist/lib/librxtxRaw.so vendored Executable file

Binary file not shown.

BIN
build/linux/dist/lib/librxtxSerial.so vendored Executable file

Binary file not shown.