Skip to content
Browse files

samples: intel_s1000: audio buffers in lpsram

Place audio buffers in LPSRAM using linker section attribute
for the I2S audio sample application

Signed-off-by: Sathish Kuttan <>
  • Loading branch information...
sathishkuttan authored and nashif committed Jun 9, 2019
1 parent 1cba619 commit 32b89b9841ec197cd7b981fd85e705747971eff1
Showing with 2 additions and 5 deletions.
  1. +2 −5 samples/boards/intel_s1000_crb/i2s/src/i2s_sample.c
@@ -26,10 +26,6 @@ LOG_MODULE_REGISTER(i2s_sample);

#define LP_SRAM_BASE (0xBE800000)
#define LP_SRAM_BASE_UNCACHED (0x9E800000)
#define LP_SRAM_SIZE (16 << 10)

#define I2S_PLAYBACK_DEV "I2S_1"
#define I2S_HOST_DEV "I2S_2"

@@ -61,7 +57,8 @@ LOG_MODULE_REGISTER(i2s_sample);

static struct k_mem_slab i2s_mem_slab;
static char *audio_buffers = (char *)LP_SRAM_BASE_UNCACHED;
static char audio_buffers[AUDIO_FRAME_BUF_BYTES][I2S_PLAY_BUF_COUNT];
static struct device *spk_i2s_dev;
static struct device *host_i2s_dev;
static struct device *codec_device;

0 comments on commit 32b89b9

Please sign in to comment.
You can’t perform that action at this time.