LispBadge.ino: Fix shift count warning
Import Lisp Badge uLisp 4.3
.gitignore: Ignore SMART Response XE files
A handheld computer with a self-contained keyboard and display that you can program in Lisp.
For information about building the Lisp Badge see: http://www.technoblogy.com/show?2AEE
For information about programming the Lisp badge see: http://www.ulisp.com/show?2L0C
sudo apt install arduino-core-avr gcc-avr avrdude
make
make burn_bootloader
The booloader is from https://github.com/mcudude/MightyCore commit
aee6e5314769bab880ad4109b2d57eb3918f90ff
.
You can override ISP_PROG
and AVRDUDE_OPTS
on the make
command
line if you have another programmer.
make upload
This method assumes the bootloader has already been installed.
Override MONITOR_PORT
on the make
command line if autodetection of
the tty device fails.
make ispload
This method can be useful for flashing uLisp if you want to reuse the usbasp for programming the payload, e.g., if you do not have a serial programmer like the Sparkfun one.
Beware though that this method overwrites the bootloader; i.e., it writes uLisp to the board such that uLisp will be run directly after power on.
Without the bootloader to talk to, avrdude won't work, so e.g. issuing:
make upload
will result in this error condition:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
[...]
To make serial programming work again, you have to reflash the bootloader.
Tested on Debian GNU/Linux ppc64le (aka ppc64el) bullseye/sid, with package versions:
Package | Version | Package Version |
---|---|---|
arduino-core-avr | 1.8.4 | 1.8.4+dfsg1-1 |
gcc-avr (provides avr-gcc) | 5.4.0 | 1:5.4.0+Atmel3.6.2-2 |
avrdude | 6.3-20171130 | 6.3-20171130+svn1429-2+b1 |