Makefiles for the examples should work in ubuntu
Signed-off-by: Michel Pollet <buserror@gmail.com>
4 files changed:
F
"./simavr/sim/avr_spi.h"
T
-2 "avr_timer8.c"
+2 "avr_timer.c"
F
-"./simavr/sim/avr_timer8.c"
+"./simavr/sim/avr_timer.c"
T
-2 "avr_timer8.h"
+2 "avr_timer.h"
F
-"./simavr/sim/avr_timer8.h"
+"./simavr/sim/avr_timer.h"
T
2 "avr_ioport.c"
F
The code rudely assumes the avr-gcc is in /usr/lib/avr/include/...
On OSX, the Makefile tries to use the Arduino.app toolchain & headers
+ libelf-dev
++ glut (or freeglut) to build the example "boards" in examples/
BUILD:
+ make
firmware = ${firm_src:.c=.axf}
simavr = ../../
+SHELL = /bin/bash
+
IPATH = .
IPATH += ../parts
IPATH += ${simavr}/include
firmware = ${firm_src:.c=.axf}
simavr = ../../
+SHELL = /bin/bash
+
IPATH = .
IPATH += ../parts
IPATH += ${simavr}/include