From 6696d724940aa9615eff39796980449c4e6999ee Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Wed, 23 Sep 2020 20:52:14 +0900 Subject: [PATCH] boards: spresense: Adjust parameters for wifi and wifi_smp Summary: - This commit adjusts parameters for audio streaming Impact: - Only affects spresense:wifi and spresense:wifi_smp Testing: - Tested with nxplayer Signed-off-by: Masayuki Ishikawa --- boards/arm/cxd56xx/spresense/configs/wifi/defconfig | 2 ++ boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/boards/arm/cxd56xx/spresense/configs/wifi/defconfig b/boards/arm/cxd56xx/spresense/configs/wifi/defconfig index a9d5370670..3d35587295 100644 --- a/boards/arm/cxd56xx/spresense/configs/wifi/defconfig +++ b/boards/arm/cxd56xx/spresense/configs/wifi/defconfig @@ -25,6 +25,7 @@ CONFIG_CLOCK_MONOTONIC=y CONFIG_CODECS_HASH_MD5=y CONFIG_CXD56_AUDIO_BUFFER_SIZE=2048 CONFIG_CXD56_AUDIO_NUM_BUFFERS=32 +CONFIG_CXD56_AUDIO_WORKER_STACKSIZE=1024 CONFIG_CXD56_BINARY=y CONFIG_CXD56_DMAC_SPI5_RX=y CONFIG_CXD56_DMAC_SPI5_TX=y @@ -105,6 +106,7 @@ CONFIG_NSH_READLINE=y CONFIG_NXPLAYER_HTTP_STREAMING_SUPPORT=y CONFIG_NXPLAYER_MAINTHREAD_STACKSIZE=3072 CONFIG_PATH_INITIAL="/mnt/sd0/bin" +CONFIG_PREALLOC_MQ_MSGS=32 CONFIG_PREALLOC_TIMERS=4 CONFIG_RAM_SIZE=1572864 CONFIG_RAM_START=0x0d000000 diff --git a/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig b/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig index a7d89d8d30..235f4b99b5 100644 --- a/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig +++ b/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig @@ -24,7 +24,8 @@ CONFIG_BUILTIN=y CONFIG_CLOCK_MONOTONIC=y CONFIG_CODECS_HASH_MD5=y CONFIG_CXD56_AUDIO_BUFFER_SIZE=2048 -CONFIG_CXD56_AUDIO_NUM_BUFFERS=32 +CONFIG_CXD56_AUDIO_NUM_BUFFERS=64 +CONFIG_CXD56_AUDIO_WORKER_STACKSIZE=1024 CONFIG_CXD56_BINARY=y CONFIG_CXD56_DMAC_SPI5_RX=y CONFIG_CXD56_DMAC_SPI5_TX=y @@ -110,6 +111,7 @@ CONFIG_NXPLAYER_HTTP_STREAMING_SUPPORT=y CONFIG_NXPLAYER_MAINTHREAD_STACKSIZE=3072 CONFIG_NXPLAYER_PLAYTHREAD_STACKSIZE=3072 CONFIG_PATH_INITIAL="/mnt/sd0/bin" +CONFIG_PREALLOC_MQ_MSGS=64 CONFIG_PREALLOC_TIMERS=4 CONFIG_RAM_SIZE=1572864 CONFIG_RAM_START=0x0d000000