1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Integrated bootloader into Mac and Windows dists. Burn scripts now in platform dirs; make.sh builds bootloader. Set baud rate back to 9600 for backwards compatibility.

This commit is contained in:
David A. Mellis
2005-09-20 16:58:07 +00:00
parent cf26421470
commit 1790624743
7 changed files with 19 additions and 41 deletions

Binary file not shown.

View File

@ -47,7 +47,7 @@
/* We, Malmoitians, like slow interaction
* therefore the slow baud rate ;-)
*/
#define BAUD_RATE 19200
#define BAUD_RATE 9600
/* 6.000.000 is more or less 8 seconds at the
* speed configured here

View File

@ -17,7 +17,7 @@ ISPPARAMS = -dprog=stk500 -dserial=/dev/com1 -dspeed=115200
# You should not have to change anything below here.
############################################################
DIRAVR = /usr/local/avr
#DIRAVR = /usr/local/avr
DIRAVRBIN = $(DIRAVR)/bin
DIRAVRUTILS = $(DIRAVR)/utils/bin
DIRINC = .

View File

@ -1,29 +0,0 @@
#!/bin/sh
# fixmybootloader.command 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/tty.usbserial0
#PORT=/dev/tty.USA19QW3b1P1.1
PORT=/dev/tty.USA19QW1b1P1.1
$BINDIR/uisp -dpart=ATmega8 -dprog=stk500 -dserial=$PORT -dspeed=115200 --wr_lock=0xFF
$BINDIR/uisp -dpart=ATmega8 -dprog=stk500 -dserial=$PORT -dspeed=115200 --wr_fuse_l=0xdf --wr_fuse_h=0xc8
$BINDIR/uisp -dpart=ATmega8 -dprog=stk500 -dserial=$PORT -dspeed=115200 --erase --upload if=ATMegaBOOT.hex -v
$BINDIR/uisp -dpart=ATmega8 -dprog=stk500 -dserial=$PORT -dspeed=115200 --wr_lock=0xCF

View File

@ -1,6 +0,0 @@
REM TODO: need way to specify serial port.
..\tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --wr_lock=0xFF
..\tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --wr_fuse_l=0xdf --wr_fuse_h=0xc8
..\tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --erase --upload --verify if=ATMegaBOOT.hex
..\tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --wr_lock=0xCF