From 5774a48991a022511c2acf129d3c30769dd4cbf2 Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Fri, 6 Apr 2012 16:06:05 +0100 Subject: [PATCH] i2ctest: Moved files to shared Put the atmel i2c example to a shared directory Signed-off-by: Michel Pollet --- examples/board_i2ctest/Makefile | 3 ++- examples/{board_i2ctest => shared}/avr_twi_master.c | 0 examples/{board_i2ctest => shared}/avr_twi_master.h | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename examples/{board_i2ctest => shared}/avr_twi_master.c (100%) rename examples/{board_i2ctest => shared}/avr_twi_master.h (100%) diff --git a/examples/board_i2ctest/Makefile b/examples/board_i2ctest/Makefile index 431de89..689d113 100644 --- a/examples/board_i2ctest/Makefile +++ b/examples/board_i2ctest/Makefile @@ -1,5 +1,5 @@ # -# Copyright 2008-2011 Michel Pollet +# Copyright 2008-2012 Michel Pollet # # This file is part of simavr. # @@ -30,6 +30,7 @@ IPATH += ${simavr}/simavr/sim VPATH = . VPATH += ../parts +VPATH += ../shared all: obj atmega48_${target}.axf ${target} diff --git a/examples/board_i2ctest/avr_twi_master.c b/examples/shared/avr_twi_master.c similarity index 100% rename from examples/board_i2ctest/avr_twi_master.c rename to examples/shared/avr_twi_master.c diff --git a/examples/board_i2ctest/avr_twi_master.h b/examples/shared/avr_twi_master.h similarity index 100% rename from examples/board_i2ctest/avr_twi_master.h rename to examples/shared/avr_twi_master.h -- 2.20.1