From: Michel Pollet Date: Sun, 20 Dec 2009 23:02:44 +0000 (+0000) Subject: README an Makefiles update X-Git-Tag: v1.0a1~41 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=f6ca3d424e173484953bb28b7c8f2911bf90ca3a;p=sx%2Fsimavr.git README an Makefiles update Makefiles for the examples should work in ubuntu Signed-off-by: Michel Pollet --- diff --git a/.simavr.jcc b/.simavr.jcc index 595a2ed..6fd6a81 100644 --- a/.simavr.jcc +++ b/.simavr.jcc @@ -24,13 +24,13 @@ T 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 diff --git a/README b/README index 185162b..bc153a9 100644 --- a/README +++ b/README @@ -30,6 +30,7 @@ PREQUISTES: 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 diff --git a/examples/board_ledramp/Makefile b/examples/board_ledramp/Makefile index 9072185..e3ef7c6 100644 --- a/examples/board_ledramp/Makefile +++ b/examples/board_ledramp/Makefile @@ -21,6 +21,8 @@ firm_src = ${wildcard at*${board}.c} firmware = ${firm_src:.c=.axf} simavr = ../../ +SHELL = /bin/bash + IPATH = . IPATH += ../parts IPATH += ${simavr}/include diff --git a/examples/board_timer_64led/Makefile b/examples/board_timer_64led/Makefile index 976db0f..5eb60a2 100644 --- a/examples/board_timer_64led/Makefile +++ b/examples/board_timer_64led/Makefile @@ -21,6 +21,8 @@ firm_src = ${wildcard at*${board}.c} firmware = ${firm_src:.c=.axf} simavr = ../../ +SHELL = /bin/bash + IPATH = . IPATH += ../parts IPATH += ${simavr}/include