From 58d88967207425fd0fc11e5b9ca2f98b6745e01f Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 16 Sep 2011 16:21:37 +0000 Subject: [PATCH] Add i2s foldback. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5063 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/cortex-m3/drv/sd_sam3.c | 4 +-- bertos/hw/hw_i2s.h | 49 ++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 bertos/hw/hw_i2s.h diff --git a/bertos/cpu/cortex-m3/drv/sd_sam3.c b/bertos/cpu/cortex-m3/drv/sd_sam3.c index 2e307a65..75817e02 100644 --- a/bertos/cpu/cortex-m3/drv/sd_sam3.c +++ b/bertos/cpu/cortex-m3/drv/sd_sam3.c @@ -26,12 +26,12 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2007 Develer S.r.l. (http://www.develer.com/) + * Copyright 2011 Develer S.r.l. (http://www.develer.com/) * --> * * \brief Function library for secure digital memory. * - * \author Francesco Sacchi + * \author Daniele Basile */ diff --git a/bertos/hw/hw_i2s.h b/bertos/hw/hw_i2s.h new file mode 100644 index 00000000..ac0cded5 --- /dev/null +++ b/bertos/hw/hw_i2s.h @@ -0,0 +1,49 @@ +/** + * \file + * + * + * \brief I2S driver hardware-specific definitions. + * + * + * \author Daniele Basile + */ + +#ifndef HW_I2S_H +#define HW_I2S_H + +#warning FIXME: This is an example implementation, you must implement it + + +#define I2S_STROBE_ON() do { /* implement me */} while(0) +#define I2S_STROBE_OFF() do { /* implement me */} while(0) +#define I2S_STROBE_INIT() do { /* implement me */} while(0) + +#endif /* HW_I2S_H */ -- 2.25.1