pcb and initial code from https://github.com/das-labor/borgware-2d.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
762 B
28 lines
762 B
16 years ago
|
|
||
|
**** Ubuntu Linux *****
|
||
|
To Compile for the AVR you'll need the packages gcc-avr and avr-libc. You'll
|
||
|
also need gcc and libncurses to be able to use menuconfig. To use the simulator
|
||
|
you'll also need libglut.
|
||
|
|
||
|
Type
|
||
|
$ make menuconfig
|
||
|
and set your settings or load one of the default profiles. Then type
|
||
|
$ make
|
||
|
to compile for the avr. You can upload the image to a borg-16's serial
|
||
|
bootloader (foodloader) by typing
|
||
|
$ make sflash
|
||
|
.
|
||
|
|
||
|
|
||
|
****Windows XP****
|
||
|
Under Windows you'll need to install the following things:
|
||
|
-WinAVR
|
||
|
-Cygwin with the following packages:
|
||
|
--gcc
|
||
|
--libncurses-devel
|
||
|
--make (the one that WinAVR delivers doesn't work right)
|
||
|
--opengl (for the simulator)
|
||
|
|
||
|
now go to the cygwin bash shell and use the same commands as with Linux to
|
||
|
compile and flash.
|